- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists Clusters in a given project and location.
HTTP request
GET https://edgecontainer.googleapis.com/v1/{parent=projects/*/locations/*}/clusters
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent location, which owns this collection of clusters. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of resources to list. |
pageToken |
A page token received from previous list request. A page token received from previous list request. |
filter |
Only resources matching this filter will be listed. |
orderBy |
Specifies the order in which resources will be listed. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
List of clusters in a location.
JSON representation |
---|
{
"clusters": [
{
object ( |
Fields | |
---|---|
clusters[] |
Clusters in the location. |
nextPageToken |
A token to retrieve next page of results. |
unreachable[] |
Locations that could not be reached. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.