Class SearchOrganizationsRequest (1.2.0)

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

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
NameDescription
otherSearchOrganizationsRequest

Properties

PageSize

public int PageSize { get; set; }

Optional. The maximum number of organizations to return in the response. If unspecified, server picks an appropriate default.

Property Value
TypeDescription
Int32

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
TypeDescription
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
TypeDescription
String