# Google Cloud Chronicle V1 Client - Class UpdateDataAccessScopeRequest (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 UpdateDataAccessScopeRequest.

Request message for UpdateDataAccessScope method.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_access_scope` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataAccessScope` Required. The data access scope to update. The scope's `name` field is used to identify the scope to update. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}` |
| `↳ 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, the allowed and denied labels list fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT. |

### getDataAccessScope

Required. The data access scope to update.

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

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

### hasDataAccessScope

### clearDataAccessScope

### setDataAccessScope

Required. The data access scope to update.

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

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

| **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, the allowed
and denied labels list 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, the allowed
and denied labels list 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** |
| `dataAccessScope` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DataAccessScope` Required. The data access scope to update. The scope's `name` field is used to identify the scope to update. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}` |
| `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, the allowed and denied labels list 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.UpdateDataAccessScopeRequest` |   |