Cloud Organization API, gRPC: OrganizationService.List
Retrieves the list of Organization resources.
gRPC request
rpc List (ListOrganizationsRequest) returns (ListOrganizationsResponse)
ListOrganizationsRequest
{
"pageSize": "int64",
"pageToken": "string",
"filter": "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.
|
ListOrganizationsResponse
{
"organizations": [
{
"id": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"title": "string",
"labels": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
organizations[] |
List of Organization resources. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Organization
An Organization resource. For more information, see Organization.
Field |
Description |
id |
string ID of the organization. |
createdAt |
Creation timestamp. |
name |
string Name of the organization. 3-63 characters long. |
description |
string Description of the organization. 0-256 characters long. |
title |
string Display name of the organization. 0-256 characters long. |
labels |
string Resource labels as |