# Google Cloud Binary Authorization V1 Client - Class UpdateAttestorRequest (1.1.2)

1.1.2 (latest) 1.1.1 1.0.5 0.8.7 0.7.0 0.6.1 0.5.13 Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class UpdateAttestorRequest.

Request message for BinauthzManagementService.UpdateAttestor.

Generated from protobuf message `google.cloud.binaryauthorization.v1.UpdateAttestorRequest`

## Namespace

Google \\ Cloud \\ BinaryAuthorization \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getAttestor

Required. The updated [attestor](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor) value. The service will
overwrite the [attestor name](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor#_Google_Cloud_BinaryAuthorization_V1_Attestor__getName__) field with the resource name
in the request URL, in the format `projects/*/attestors/*`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor|null` |   |

### hasAttestor

### clearAttestor

### setAttestor

Required. The updated [attestor](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor) value. The service will
overwrite the [attestor name](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor#_Google_Cloud_BinaryAuthorization_V1_Attestor__getName__) field with the resource name
in the request URL, in the format `projects/*/attestors/*`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor` |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `attestor` | `https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor` Required. The updated [attestor](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor) value. The service will overwrite the [attestor name](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor#_Google_Cloud_BinaryAuthorization_V1_Attestor__getName__) field with the resource name in the request URL, in the format `projects/*/attestors/*`. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.UpdateAttestorRequest` |   |