# Google Cloud Storage Insights V1 Client - Class CreateDatasetConfigRequest (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 CreateDatasetConfigRequest.

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

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

## Namespace

Google \\ Cloud \\ StorageInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Value for parent. |
| `↳ dataset_config_id` | `string` Required. ID of the requesting object. If auto-generating ID is enabled on the server-side, remove this field and `dataset_config_id` from the method_signature of Create RPC Note: The value should not contain any hyphens. |
| `↳ dataset_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.DatasetConfig` Required. The resource being created |
| `↳ 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). |

### getParent

Required. Value for parent.

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

### setParent

Required. Value for parent.

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

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

### getDatasetConfigId

Required. ID of the requesting object.

If auto-generating ID is enabled on the server-side, remove this field and
`dataset_config_id` from the method_signature of Create RPC
Note: The value should not contain any hyphens.

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

### setDatasetConfigId

Required. ID of the requesting object.

If auto-generating ID is enabled on the server-side, remove this field and
`dataset_config_id` from the method_signature of Create RPC
Note: The value should not contain any hyphens.

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

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

### getDatasetConfig

Required. The resource being created

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

### hasDatasetConfig

### clearDatasetConfig

### setDatasetConfig

Required. The resource being created

| **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** |
| `parent` | `string` Required. Value for parent. Please see StorageInsightsClient::locationName() for help formatting this field. |
| `datasetConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-storageinsights/latest/V1.DatasetConfig` Required. The resource being created |
| `datasetConfigId` | `string` Required. ID of the requesting object. If auto-generating ID is enabled on the server-side, remove this field and `dataset_config_id` from the method_signature of Create RPC Note: The value should not contain any hyphens. |

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