Resource Manager API, gRPC: CloudService.List
Retrieves the list of Cloud resources.
gRPC request
rpc List (ListCloudsRequest) returns (ListCloudsResponse)
ListCloudsRequest
{
"page_size": "int64",
"page_token": "string",
"filter": "string",
"organization_id": "string"
}
Field |
Description |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. Set |
filter |
string A filter expression that filters resources listed in the response.
|
organization_id |
string ID of the organization to list clouds in. |
ListCloudsResponse
{
"clouds": [
{
"id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"organization_id": "string",
"labels": "map<string, string>"
}
],
"next_page_token": "string"
}
Field |
Description |
clouds[] |
List of Cloud resources. |
next_page_token |
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. |
created_at |
Creation timestamp. |
name |
string Name of the cloud. 3-63 characters long. |
description |
string Description of the cloud. 0-256 characters long. |
organization_id |
string ID of the organization that the cloud belongs to. |
labels |
object (map<string, string>) Resource labels as |