# Google Cloud Chronicle V1 Client - Class UpdateDataAccessLabelRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class UpdateDataAccessLabelRequest.

Request message for UpdateDataAccessLabel method.

Generated from protobuf message `google.cloud.chronicle.v1.UpdateDataAccessLabelRequest`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_access_label` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataAccessLabel` Required. The data access label to update. The label's `name` field is used to identify the label to update. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}` |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT. |

### getDataAccessLabel

Required. The data access label to update.

The label's `name` field is used to identify the label to update.
Format:
`projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`

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

### hasDataAccessLabel

### clearDataAccessLabel

### setDataAccessLabel

Required. The data access label to update.

The label's `name` field is used to identify the label to update.
Format:
`projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`

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

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

### getUpdateMask

The list of fields to update. If not included, all fields with a non-empty
value will be overwritten. Currently, only the description and definition
fields are supported for update; an update call that attempts to update any
other fields will return INVALID_ARGUMENT.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

The list of fields to update. If not included, all fields with a non-empty
value will be overwritten. Currently, only the description and definition
fields are supported for update; an update call that attempts to update any
other fields will return INVALID_ARGUMENT.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataAccessLabel` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataAccessLabel` Required. The data access label to update. The label's `name` field is used to identify the label to update. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}` |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.UpdateDataAccessLabelRequest` |   |