@@ -576,10 +576,14 @@ public Get set(String parameterName, Object value) {
576576 }
577577 }
578578 /**
579- * Lists information about the supported locations for this service. This method can be called in
580- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
581- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
582- * public locations as well as private or other locations specifically visible to the project.
579+ * Lists information about the supported locations for this service. This method lists locations
580+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
581+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
582+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
583+ * lists locations visible to that specific project. This includes public, private, or other
584+ * project-specific locations enabled for the project. For gRPC and client library implementations,
585+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
586+ * incorporated into the request path based on the specific service implementation and version.
583587 *
584588 * Create a request for the method "locations.list".
585589 *
@@ -603,10 +607,15 @@ public class List extends GKEHubRequest<com.google.api.services.gkehub.v1.model.
603607 java .util .regex .Pattern .compile ("^projects/[^/]+$" );
604608
605609 /**
606- * Lists information about the supported locations for this service. This method can be called in
607- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
608- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
609- * public locations as well as private or other locations specifically visible to the project.
610+ * Lists information about the supported locations for this service. This method lists locations
611+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
612+ * locations**: If `name` is empty, the method lists the public locations available to all
613+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
614+ * the method lists locations visible to that specific project. This includes public, private, or
615+ * other project-specific locations enabled for the project. For gRPC and client library
616+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
617+ * resource name is incorporated into the request path based on the specific service
618+ * implementation and version.
610619 *
611620 * Create a request for the method "locations.list".
612621 *
0 commit comments