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