@@ -452,10 +452,14 @@ public Get set(String parameterName, Object value) {
452452 }
453453 }
454454 /**
455- * Lists information about the supported locations for this service. This method can be called in
456- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
457- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
458- * public locations as well as private or other locations specifically visible to the project.
455+ * Lists information about the supported locations for this service. This method lists locations
456+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
457+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
458+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
459+ * lists locations visible to that specific project. This includes public, private, or other
460+ * project-specific locations enabled for the project. For gRPC and client library implementations,
461+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
462+ * incorporated into the request path based on the specific service implementation and version.
459463 *
460464 * Create a request for the method "locations.list".
461465 *
@@ -479,10 +483,15 @@ public class List extends APIhubRequest<com.google.api.services.apihub.v1.model.
479483 java.util.regex.Pattern.compile("^projects/[^/]+$");
480484
481485 /**
482- * Lists information about the supported locations for this service. This method can be called in
483- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
484- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
485- * public locations as well as private or other locations specifically visible to the project.
486+ * Lists information about the supported locations for this service. This method lists locations
487+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
488+ * locations**: If `name` is empty, the method lists the public locations available to all
489+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
490+ * the method lists locations visible to that specific project. This includes public, private, or
491+ * other project-specific locations enabled for the project. For gRPC and client library
492+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
493+ * resource name is incorporated into the request path based on the specific service
494+ * implementation and version.
486495 *
487496 * Create a request for the method "locations.list".
488497 *
0 commit comments