Search Organizations
Searches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the results, and may take a small amount of time to appear. Search will only return organizations on which the user has the permission resourcemanager.organizations.get
.
External Documentation
To learn more, visit the GCP documentation.
Basic Parameters
Parameter | Description |
---|---|
Query | Optional. An optional query string used to filter the Organizations to return in the response. Query rules are case-insensitive. ``` |
Return All Pages | Automatically fetch all resources, page by page. |
Advanced Parameters
Parameter | Description |
---|---|
Page Size | Optional. The maximum number of organizations to return in the response. The server can return fewer organizations than requested. If unspecified, server picks an appropriate default. |
Example Output
{
"organizations": [
{
"name": "organizations/12345678910",
"displayName": "example.com",
"directoryCustomerId": "C022upqx2",
"state": "ACTIVE",
"createTime": "2021-02-28T03:43:59.019Z",
"updateTime": "2021-02-28T03:43:59.795Z",
"etag": "h1pjxpNSZHoVUXHcowwzdg=="
}
]
}
Workflow Library Example
Search Organizations with Gcp and Send Results Via Email