@@ -312,10 +312,14 @@ public Get set(String parameterName, Object value) {
312312 }
313313 }
314314 /**
315- * Lists information about the supported locations for this service. This method can be called in
316- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318- * public locations as well as private or other locations specifically visible to the project.
315+ * Lists information about the supported locations for this service. This method lists locations
316+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
317+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
318+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
319+ * lists locations visible to that specific project. This includes public, private, or other
320+ * project-specific locations enabled for the project. For gRPC and client library implementations,
321+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
322+ * incorporated into the request path based on the specific service implementation and version.
319323 *
320324 * Create a request for the method "locations.list".
321325 *
@@ -339,10 +343,15 @@ public class List extends GKEOnPremRequest<com.google.api.services.gkeonprem.v1.
339343 java.util.regex.Pattern.compile("^projects/[^/]+$");
340344
341345 /**
342- * Lists information about the supported locations for this service. This method can be called in
343- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345- * public locations as well as private or other locations specifically visible to the project.
346+ * Lists information about the supported locations for this service. This method lists locations
347+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
348+ * locations**: If `name` is empty, the method lists the public locations available to all
349+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
350+ * the method lists locations visible to that specific project. This includes public, private, or
351+ * other project-specific locations enabled for the project. For gRPC and client library
352+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
353+ * resource name is incorporated into the request path based on the specific service
354+ * implementation and version.
346355 *
347356 * Create a request for the method "locations.list".
348357 *
0 commit comments