Add param resource_class for _get_resource_class_from_path method. Change-Id: I5870e1b616b25c62fd4cddd2a914186fa029b824