# Google Cloud Managed Identities V1 Client - Class ListDomainsRequest (2.2.0)

2.2.0 (latest) 2.1.1 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Managed Identities V1 Client class ListDomainsRequest.

Request message for
ListDomains

Generated from protobuf message `google.cloud.managedidentities.v1.ListDomainsRequest`

## Namespace

Google \\ Cloud \\ ManagedIdentities \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the domain location using the form: `projects/{project_id}/locations/global` |
| `↳ page_size` | `int` Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used. Regardless of the page_size value, the response may include a partial list. Callers should rely on a response's [next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.ListDomainsResponse#_Google_Cloud_ManagedIdentities_V1_ListDomainsResponse__getNextPageToken__) to determine if there are additional results to list. |
| `↳ page_token` | `string` Optional. The `next_page_token` value returned from a previous ListDomainsRequest request, if any. |
| `↳ filter` | `string` Optional. A filter specifying constraints of a list operation. For example, `Domain.fqdn="mydomain.myorginization"`. |
| `↳ order_by` | `string` Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information. |

### getParent

Required. The resource name of the domain location using the form:
`projects/{project_id}/locations/global`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The resource name of the domain location using the form:
`projects/{project_id}/locations/global`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

Optional. The maximum number of items to return.

If not specified, a default value of 1000 will be used.
Regardless of the page_size value, the response may include a partial list.
Callers should rely on a response's
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.ListDomainsResponse#_Google_Cloud_ManagedIdentities_V1_ListDomainsResponse__getNextPageToken__)
to determine if there are additional results to list.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Optional. The maximum number of items to return.

If not specified, a default value of 1000 will be used.
Regardless of the page_size value, the response may include a partial list.
Callers should rely on a response's
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.ListDomainsResponse#_Google_Cloud_ManagedIdentities_V1_ListDomainsResponse__getNextPageToken__)
to determine if there are additional results to list.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

Optional. The `next_page_token` value returned from a previous ListDomainsRequest
request, if any.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

Optional. The `next_page_token` value returned from a previous ListDomainsRequest
request, if any.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFilter

Optional. A filter specifying constraints of a list operation.

For example, `Domain.fqdn="mydomain.myorginization"`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFilter

Optional. A filter specifying constraints of a list operation.

For example, `Domain.fqdn="mydomain.myorginization"`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOrderBy

Optional. Specifies the ordering of results. See
[Sorting
order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
for more information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOrderBy

Optional. Specifies the ordering of results. See
[Sorting
order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
for more information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the domain location using the form: `projects/{project_id}/locations/global` Please see ManagedIdentitiesServiceClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.ListDomainsRequest` |   |