# Google Cloud Network Connectivity V1 Client - Class CreateMulticloudDataTransferConfigRequest (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class CreateMulticloudDataTransferConfigRequest.

Request message to create a `MulticloudDataTransferConfig` resource.

Generated from protobuf message `google.cloud.networkconnectivity.v1.CreateMulticloudDataTransferConfigRequest`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The name of the parent resource. |
| `↳ multicloud_data_transfer_config_id` | `string` Required. The ID to use for the `MulticloudDataTransferConfig` resource, which becomes the final component of the `MulticloudDataTransferConfig` resource name. |
| `↳ multicloud_data_transfer_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.MulticloudDataTransferConfig` Required. The `MulticloudDataTransferConfig` resource to create. |
| `↳ request_id` | `string` Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported. |

### getParent

Required. The name of the parent resource.

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

### setParent

Required. The name of the parent resource.

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

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

### getMulticloudDataTransferConfigId

Required. The ID to use for the `MulticloudDataTransferConfig` resource,
which becomes the final component of the `MulticloudDataTransferConfig`
resource name.

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

### setMulticloudDataTransferConfigId

Required. The ID to use for the `MulticloudDataTransferConfig` resource,
which becomes the final component of the `MulticloudDataTransferConfig`
resource name.

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

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

### getMulticloudDataTransferConfig

Required. The `MulticloudDataTransferConfig` resource to create.

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

### hasMulticloudDataTransferConfig

### clearMulticloudDataTransferConfig

### setMulticloudDataTransferConfig

Required. The `MulticloudDataTransferConfig` resource to create.

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

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

### getRequestId

Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server can ignore
the request if it has already been completed. The server waits
for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, can ignore the second request. This prevents
clients from accidentally creating duplicate `MulticloudDataTransferConfig`
resources.
The request ID must be a valid UUID with the exception that zero UUID
(00000000-0000-0000-0000-000000000000) isn't supported.

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

### setRequestId

Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server can ignore
the request if it has already been completed. The server waits
for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, can ignore the second request. This prevents
clients from accidentally creating duplicate `MulticloudDataTransferConfig`
resources.
The request ID must be a valid UUID with the exception that zero UUID
(00000000-0000-0000-0000-000000000000) isn't supported.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The name of the parent resource. Please see DataTransferServiceClient::locationName() for help formatting this field. |
| `multicloudDataTransferConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.MulticloudDataTransferConfig` Required. The `MulticloudDataTransferConfig` resource to create. |
| `multicloudDataTransferConfigId` | `string` Required. The ID to use for the `MulticloudDataTransferConfig` resource, which becomes the final component of the `MulticloudDataTransferConfig` resource name. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-network-connectivity/latest/V1.CreateMulticloudDataTransferConfigRequest` |   |