@@ -83,15 +83,20 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8383 end
8484
8585 # Lists information about the supported locations for this service. This method
86- # can be called in two ways: * **List all public locations:** Use the path `GET /
87- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
88- # projects/`project_id`/locations`. This may include public locations as well as
89- # private or other locations specifically visible to the project.
86+ # lists locations based on the resource scope provided in the
87+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
88+ # the method lists the public locations available to all projects. * **Project-
89+ # specific locations**: If `name` follows the format `projects/`project``, the
90+ # method lists locations visible to that specific project. This includes public,
91+ # private, or other project-specific locations enabled for the project. For gRPC
92+ # and client library implementations, the resource name is passed as the `name`
93+ # field. For direct service calls, the resource name is incorporated into the
94+ # request path based on the specific service implementation and version.
9095 # @param [String] name
9196 # The resource that owns the locations collection, if applicable.
9297 # @param [Array<String>, String] extra_location_types
93- # Optional. Do not use this field. It is unsupported and is ignored unless
94- # explicitly documented otherwise. This is primarily for internal usage.
98+ # Optional. Do not use this field unless explicitly documented otherwise. This
99+ # is primarily for internal usage.
95100 # @param [String] filter
96101 # A filter to narrow down results to a preferred subset. The filtering language
97102 # accepts strings like `"displayName=tokyo"`, and is documented in more detail
0 commit comments