File tree Expand file tree Collapse file tree
src/CCAIPlatform/Resource Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,11 +66,16 @@ public function get($name, $optParams = [])
6666 }
6767 /**
6868 * Lists information about the supported locations for this service. This method
69- * can be called in two ways: * **List all public locations:** Use the path `GET
70- * /v1/locations`. * **List project-visible locations:** Use the path `GET
71- * /v1/projects/{project_id}/locations`. This may include public locations as
72- * well as private or other locations specifically visible to the project.
73- * (locations.listProjectsLocations)
69+ * lists locations based on the resource scope provided in the
70+ * [ListLocationsRequest.name] field: * **Global locations**: If `name` is
71+ * empty, the method lists the public locations available to all projects. *
72+ * **Project-specific locations**: If `name` follows the format
73+ * `projects/{project}`, the method lists locations visible to that specific
74+ * project. This includes public, private, or other project-specific locations
75+ * enabled for the project. For gRPC and client library implementations, the
76+ * resource name is passed as the `name` field. For direct service calls, the
77+ * resource name is incorporated into the request path based on the specific
78+ * service implementation and version. (locations.listProjectsLocations)
7479 *
7580 * @param string $name The resource that owns the locations collection, if
7681 * applicable.
You can’t perform that action at this time.
0 commit comments