# Google Cloud Security Compliance V1 Client - Class CloudControlDeploymentReference (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 CloudControlDeploymentReference.

The reference to a cloud control deployment.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cloud_control_deployment` | `string` Output only. The name of the CloudControlDeployment. The format is `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}` or `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`. The only supported location is `global`. |

### getCloudControlDeployment

Output only. The name of the CloudControlDeployment. The format is
`organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
or
`projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.

The only supported location is `global`.

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

### setCloudControlDeployment

Output only. The name of the CloudControlDeployment. The format is
`organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
or
`projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.

The only supported location is `global`.

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

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