@@ -454,10 +454,14 @@ public GetGoogleChannelConfig set(String parameterName, Object value) {
454454 }
455455 }
456456 /**
457- * Lists information about the supported locations for this service. This method can be called in
458- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
459- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
460- * public locations as well as private or other locations specifically visible to the project.
457+ * Lists information about the supported locations for this service. This method lists locations
458+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
459+ * locations**: If `name` is empty, the method lists the public locations available to all projects.
460+ * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
461+ * lists locations visible to that specific project. This includes public, private, or other
462+ * project-specific locations enabled for the project. For gRPC and client library implementations,
463+ * the resource name is passed as the `name` field. For direct service calls, the resource name is
464+ * incorporated into the request path based on the specific service implementation and version.
461465 *
462466 * Create a request for the method "locations.list".
463467 *
@@ -481,10 +485,15 @@ public class List extends EventarcRequest<com.google.api.services.eventarc.v1.mo
481485 java .util .regex .Pattern .compile ("^projects/[^/]+$" );
482486
483487 /**
484- * Lists information about the supported locations for this service. This method can be called in
485- * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
486- * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
487- * public locations as well as private or other locations specifically visible to the project.
488+ * Lists information about the supported locations for this service. This method lists locations
489+ * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
490+ * locations**: If `name` is empty, the method lists the public locations available to all
491+ * projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
492+ * the method lists locations visible to that specific project. This includes public, private, or
493+ * other project-specific locations enabled for the project. For gRPC and client library
494+ * implementations, the resource name is passed as the `name` field. For direct service calls, the
495+ * resource name is incorporated into the request path based on the specific service
496+ * implementation and version.
488497 *
489498 * Create a request for the method "locations.list".
490499 *
0 commit comments