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