@@ -457,10 +457,14 @@ public GetEntitlement set(String parameterName, Object value) {
457457 }
458458 }
459459 /**
460- * Lists information about the supported locations for this service. This method can be called in
461- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
462- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
463- * public locations as well as private or other locations specifically visible to the project.
460+ * Lists information about the supported locations for this service. This method lists locations
461+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
462+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
463+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
464+ * lists locations visible to that specific project. This includes public, private, or other
465+ * project-specific locations enabled for the project. For gRPC and client library implementations,
466+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
467+ * incorporated into the request path based on the specific service implementation and version.
464468 *
465469 * Create a request for the method "locations.list".
466470 *
@@ -484,10 +488,15 @@ public class List extends APIManagementRequest<com.google.api.services.apim.v1al
484488 java .util .regex .Pattern .compile ("^projects/[^/]+$" );
485489
486490 /**
487- * Lists information about the supported locations for this service. This method can be called in
488- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
489- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
490- * public locations as well as private or other locations specifically visible to the project.
491+ * Lists information about the supported locations for this service. This method lists locations
492+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
493+ * locations**: If `name` is empty, the method lists the public locations available to all
494+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
495+ * the method lists locations visible to that specific project. This includes public, private, or
496+ * other project-specific locations enabled for the project. For gRPC and client library
497+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
498+ * resource name is incorporated into the request path based on the specific service
499+ * implementation and version.
491500 *
492501 * Create a request for the method "locations.list".
493502 *
0 commit comments