- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Returns all fleets within an organization or a project that the caller has access to.
HTTP request
GET https://gkehub.googleapis.com/v1beta/{parent=projects/*/locations/*}/fleets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The organization or project to list for Fleets under, in the format |
Query parameters
Parameters | |
---|---|
page |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
page |
Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListFleetsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.