Cloud Resource Manager v3 API - Class SearchOrganizationsRequest (2.5.0)

public sealed class SearchOrganizationsRequest : IMessage<SearchOrganizationsRequest>, IEquatable<SearchOrganizationsRequest>, IDeepCloneable<SearchOrganizationsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Cloud Resource Manager v3 API class SearchOrganizationsRequest.

The request sent to the SearchOrganizations method.

Inheritance

object > SearchOrganizationsRequest

Namespace

Google.Cloud.ResourceManager.V3

Assembly

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:123456789 returns Organization resources with owner.directory_customer_id equal to 123456789.
  • Query domain:google.com returns Organization resources corresponding to the domain google.com.
Property Value
Type Description
string