Resource Manager API, gRPC: CloudService.List
Retrieves the list of Cloud resources.
gRPC request
rpc List (ListCloudsRequest) returns (ListCloudsResponse)
ListCloudsRequest
{
"pageSize": "int64",
"pageToken": "string",
"filter": "string",
"organizationId": "string"
}
Field |
Description |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. Set |
filter |
string A filter expression that filters resources listed in the response.
|
organizationId |
string ID of the organization to list clouds in. |
ListCloudsResponse
{
"clouds": [
{
"id": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"organizationId": "string",
"labels": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
clouds[] |
List of Cloud resources. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Cloud
A Cloud resource. For more information, see Cloud.
Field |
Description |
id |
string ID of the cloud. |
createdAt |
Creation timestamp. |
name |
string Name of the cloud. 3-63 characters long. |
description |
string Description of the cloud. 0-256 characters long. |
organizationId |
string ID of the organization that the cloud belongs to. |
labels |
string Resource labels as |