Google Cloud Resource Manager V3 Client - Class SearchOrganizationsRequest (0.4.1)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class SearchOrganizationsRequest.

The request sent to the SearchOrganizations method.

Generated from protobuf message google.cloud.resourcemanager.v3.SearchOrganizationsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ page_size int

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.

↳ page_token string

Optional. A pagination token returned from a previous call to SearchOrganizations that indicates from where listing should continue.

↳ query string

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.

getPageSize

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.

Returns
TypeDescription
int

setPageSize

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A pagination token returned from a previous call to SearchOrganizations that indicates from where listing should continue.

Returns
TypeDescription
string

setPageToken

Optional. A pagination token returned from a previous call to SearchOrganizations that indicates from where listing should continue.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQuery

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.
Returns
TypeDescription
string

setQuery

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.
Parameter
NameDescription
var string
Returns
TypeDescription
$this