# Google Cloud Managed Identities V1 Client - Class UpdateDomainRequest (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 UpdateDomainRequest.

Request message for
UpdateDomain

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

## Namespace

Google \\ Cloud \\ ManagedIdentities \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from [Domain](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain): \* \* `labels` \* \* `locations` \* \* `authorized_networks` |
| `↳ domain` | `https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain` Required. Domain message with updated fields. Only supported fields specified in update_mask are updated. |

### getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this
field. The elements of the repeated paths field may only include
fields from [Domain](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain):

- `labels`
- `locations`
- `authorized_networks`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this
field. The elements of the repeated paths field may only include
fields from [Domain](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain):

- `labels`
- `locations`
- `authorized_networks`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### getDomain

Required. Domain message with updated fields. Only supported fields specified in
update_mask are updated.

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

### hasDomain

### clearDomain

### setDomain

Required. Domain message with updated fields. Only supported fields specified in
update_mask are updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `domain` | `https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain` Required. Domain message with updated fields. Only supported fields specified in update_mask are updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from [Domain](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain): - `labels` - `locations` - `authorized_networks` |

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