# Google Cloud Security Compliance V1 Client - Class CreateFrameworkDeploymentRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CreateFrameworkDeploymentRequest.

The request message for CreateFrameworkDeployment.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.CreateFrameworkDeploymentRequest`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource of the framework deployment in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. Only the global location is supported. |
| `↳ framework_deployment_id` | `string` Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated. |
| `↳ framework_deployment` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FrameworkDeployment` Required. The framework deployment that you're creating. |

### getParent

Required. The parent resource of the framework deployment in the format
`organizations/{organization}/locations/{location}`
or
`projects/{project}/locations/{location}`.

Only the global location is supported.

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

### setParent

Required. The parent resource of the framework deployment in the format
`organizations/{organization}/locations/{location}`
or
`projects/{project}/locations/{location}`.

Only the global location is supported.

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

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

### getFrameworkDeploymentId

Optional. An identifier for the framework deployment that's unique in scope
of the parent. If you don't specify a value, then a random UUID is
generated.

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

### setFrameworkDeploymentId

Optional. An identifier for the framework deployment that's unique in scope
of the parent. If you don't specify a value, then a random UUID is
generated.

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

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

### getFrameworkDeployment

Required. The framework deployment that you're creating.

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

### hasFrameworkDeployment

### clearFrameworkDeployment

### setFrameworkDeployment

Required. The framework deployment that you're creating.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource of the framework deployment in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. Only the global location is supported. Please see DeploymentClient::organizationLocationName() for help formatting this field. |
| `frameworkDeployment` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FrameworkDeployment` Required. The framework deployment that you're creating. |
| `frameworkDeploymentId` | `string` Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated. |

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