Cloud Organization API, gRPC: OrganizationService.List
Retrieves the list of Organization resources.
gRPC request
rpc List (ListOrganizationsRequest) returns (ListOrganizationsResponse)
ListOrganizationsRequest
{
"page_size": "int64",
"page_token": "string",
"filter": "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.
|
ListOrganizationsResponse
{
"organizations": [
{
"id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"title": "string",
"labels": "map<string, string>"
}
],
"next_page_token": "string"
}
Field |
Description |
organizations[] |
List of Organization resources. |
next_page_token |
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. |
created_at |
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 |
object (map<string, string>) Resource labels as |