# Google Cloud Certificate Manager V1 Client - Class UpdateDnsAuthorizationRequest (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.7.3 0.6.0 0.5.2 0.4.2 0.3.7 Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class UpdateDnsAuthorizationRequest.

Request for the `UpdateDnsAuthorization` method.

Generated from protobuf message `google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest`

## Namespace

Google \\ Cloud \\ CertificateManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dns_authorization` | `https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.DnsAuthorization` Required. A definition of the dns authorization to update. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

### getDnsAuthorization

Required. A definition of the dns authorization to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.DnsAuthorization|null` |   |

### hasDnsAuthorization

### clearDnsAuthorization

### setDnsAuthorization

Required. A definition of the dns authorization to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.DnsAuthorization` |

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

### getUpdateMask

Required. The update mask applies to the resource. For the `FieldMask`
definition, see
<https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. The update mask applies to the resource. For the `FieldMask`
definition, see
<https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dnsAuthorization` | `https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.DnsAuthorization` Required. A definition of the dns authorization to update. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.UpdateDnsAuthorizationRequest` |   |