# Google Cloud Storage Insights V1 Client - Class UpdateDatasetConfigRequest (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.0 1.0.3 0.3.5 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class UpdateDatasetConfigRequest.

Request message for
[`UpdateDatasetConfig`](https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.Client.StorageInsightsClient#_Google_Cloud_StorageInsights_V1_Client_StorageInsightsClient__updateDatasetConfig__)

Generated from protobuf message `google.cloud.storageinsights.v1.UpdateDatasetConfigRequest`

## Namespace

Google \\ Cloud \\ StorageInsights \\ 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. Field mask is used to specify the fields to be overwritten in the `DatasetConfig` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error. |
| `↳ dataset_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.DatasetConfig` Required. The resource being updated |
| `↳ request_id` | `string` Optional. A unique identifier for your request. Specify the request ID if you need to retry the request. If you retry the request with the same ID within 60 minutes, the server ignores the request if it has already completed the original request. For example, if your initial request times out and you retry the request using the same request ID, the server recognizes the original request and does not process the new request. The request ID must be a valid UUID and cannot be a zero UUID (00000000-0000-0000-0000-000000000000). |

### getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the
`DatasetConfig` resource by the update.

The fields specified in the `update_mask` are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not provide a mask then it returns an "Invalid Argument" error.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the
`DatasetConfig` resource by the update.

The fields specified in the `update_mask` are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not provide a mask then it returns an "Invalid Argument" error.

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

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

### getDatasetConfig

Required. The resource being updated

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

### hasDatasetConfig

### clearDatasetConfig

### setDatasetConfig

Required. The resource being updated

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

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

### getRequestId

Optional. A unique identifier for your request.

Specify the request ID if you need to retry the request.
If you retry the request with the same ID within 60 minutes, the server
ignores the request if it has already completed the original request.
For example, if your initial request times out and you retry the request
using the same request ID, the server recognizes the original request and
does not process the new request.
The request ID must be a valid UUID and cannot be a zero UUID
(00000000-0000-0000-0000-000000000000).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRequestId

Optional. A unique identifier for your request.

Specify the request ID if you need to retry the request.
If you retry the request with the same ID within 60 minutes, the server
ignores the request if it has already completed the original request.
For example, if your initial request times out and you retry the request
using the same request ID, the server recognizes the original request and
does not process the new request.
The request ID must be a valid UUID and cannot be a zero UUID
(00000000-0000-0000-0000-000000000000).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `datasetConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.DatasetConfig` Required. The resource being updated |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Field mask is used to specify the fields to be overwritten in the `DatasetConfig` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask then it returns an "Invalid Argument" error. |

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