# Google Cloud Telco Automation V1 Client - Class CreateDeploymentRequest (1.3.0)

1.3.0 (latest) 1.2.3 1.1.1 1.0.3 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class CreateDeploymentRequest.

Request object for `CreateDeployment`.

Generated from protobuf message `google.cloud.telcoautomation.v1.CreateDeploymentRequest`

## Namespace

Google \\ Cloud \\ TelcoAutomation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". |
| `↳ deployment_id` | `string` Optional. The name of the deployment. |
| `↳ deployment` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.Deployment` Required. The `Deployment` to create. |

### getParent

Required. The name of parent resource.

Format should be -
"projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

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

### setParent

Required. The name of parent resource.

Format should be -
"projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

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

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

### getDeploymentId

Optional. The name of the deployment.

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

### setDeploymentId

Optional. The name of the deployment.

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

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

### getDeployment

Required. The `Deployment` to create.

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

### hasDeployment

### clearDeployment

### setDeployment

Required. The `Deployment` to create.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". Please see TelcoAutomationClient::orchestrationClusterName() for help formatting this field. |
| `deployment` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.Deployment` Required. The `Deployment` to create. |
| `deploymentId` | `string` Optional. The name of the deployment. |

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