- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists customer workloads for a given customer org id
HTTP request
GET https://cloudcontrolspartner.googleapis.com/v1/{parent=organizations/*/locations/*/customers/*}/workloads
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent resource Format: organizations/{organization}/locations/{location}/customers/{customer} |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of workloads to return. The service may return fewer than this value. If unspecified, at most 500 workloads will be returned. |
pageToken |
A page token, received from a previous |
filter |
Optional. Filtering results. |
orderBy |
Optional. Hint for how to order the results. |
Request body
The request body must be empty.
Response body
Response message for list customer workloads requests.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"workloads": [
{
object ( |
Fields | |
---|---|
workloads[] |
List of customer workloads |
nextPageToken |
A token that can be sent as |
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.
IAM Permissions
Requires the following IAM permission on the parent
resource:
cloudcontrolspartner.workloads.list
For more information, see the IAM documentation.