public sealed class SearchOrganizationsRequest : IMessage<SearchOrganizationsRequest>, IEquatable<SearchOrganizationsRequest>, IDeepCloneable<SearchOrganizationsRequest>, IBufferMessage, IMessage, IPageRequestReference documentation and code samples for the Cloud Resource Manager v3 API class SearchOrganizationsRequest.
The request sent to the SearchOrganizations method.
Implements
IMessageSearchOrganizationsRequest, IEquatableSearchOrganizationsRequest, IDeepCloneableSearchOrganizationsRequest, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.ResourceManager.V3Assembly
Google.Cloud.ResourceManager.V3.dll
Constructors
SearchOrganizationsRequest()
public SearchOrganizationsRequest()SearchOrganizationsRequest(SearchOrganizationsRequest)
public SearchOrganizationsRequest(SearchOrganizationsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchOrganizationsRequest |
Properties
PageSize
public int PageSize { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PageToken
public string PageToken { get; set; }Optional. A pagination token returned from a previous call to
SearchOrganizations that indicates from where listing should continue.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Query
public string Query { get; set; }Optional. An optional query string used to filter the Organizations to return in the response. Query rules are case-insensitive.
| Field | Description |
|------------------|--------------------------------------------|
| directoryCustomerId, owner.directoryCustomerId | Filters by directory
customer id. |
| domain | Filters by domain. |
Organizations may be queried by directoryCustomerId or by
domain, where the domain is a G Suite domain, for example:
- Query
directorycustomerid:123456789returns Organization resources withowner.directory_customer_idequal to123456789. - Query
domain:google.comreturns Organization resources corresponding to the domaingoogle.com.
| Property Value | |
|---|---|
| Type | Description |
string |
|