Google Cloud Security Compliance V1 Client - Class CloudControlDeployment (0.2.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CloudControlDeployment.

A cloud control deployment represents the deployment of a particular cloud control on a target resource. Supported target resources are organizations/{organizationID}, folders/{folderID}, and projects/{projectID}.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CloudControlDeployment

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name for the cloud control deployment, in the format organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}. The only supported location is global.

↳ target_resource_config TargetResourceConfig

Required. The details of the target resource that the cloud control is deployed You can use an existing target resource or create a new target.

↳ target_resource string

Output only. The resource that the cloud control is deployed on, in one of the following formats: - organizations/{organizationID} - folders/{folderID} - projects/{projectID}

↳ cloud_control_metadata CloudControlMetadata

Required. The deployment mode and parameters for the cloud control.

↳ description string

Optional. A friendly description for the cloud control deployment.

↳ deployment_state int

Output only. The state of the cloud control deployment.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the resource was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the resource was last updated.

↳ etag string

Optional. To prevent concurrent updates from overwriting each other, provide the etag when you update a cloud control deployment. You can also provide the etag when you delete a cloud control deployment to help ensure that you're deleting the intended version of the deployment.

↳ parameter_substituted_cloud_control CloudControl

Output only. The cloud control after the given parameters are substituted.

↳ framework_deployment_references array<FrameworkDeploymentReference>

Output only. The references to the framework deployments that this cloud control deployment is part of. A cloud control deployment can be part of multiple framework deployments.

↳ target_resource_display_name string

Output only. The display name of the target resource.

getName

Identifier. The name for the cloud control deployment, in the format organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}.

The only supported location is global.

Returns
Type Description
string

setName

Identifier. The name for the cloud control deployment, in the format organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}.

The only supported location is global.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetResourceConfig

Required. The details of the target resource that the cloud control is deployed You can use an existing target resource or create a new target.

Returns
Type Description
TargetResourceConfig|null

hasTargetResourceConfig

clearTargetResourceConfig

setTargetResourceConfig

Required. The details of the target resource that the cloud control is deployed You can use an existing target resource or create a new target.

Parameter
Name Description
var TargetResourceConfig
Returns
Type Description
$this

getTargetResource

Output only. The resource that the cloud control is deployed on, in one of the following formats:

  • organizations/{organizationID}
  • folders/{folderID}
  • projects/{projectID}
Returns
Type Description
string

setTargetResource

Output only. The resource that the cloud control is deployed on, in one of the following formats:

  • organizations/{organizationID}
  • folders/{folderID}
  • projects/{projectID}
Parameter
Name Description
var string
Returns
Type Description
$this

getCloudControlMetadata

Required. The deployment mode and parameters for the cloud control.

Returns
Type Description
CloudControlMetadata|null

hasCloudControlMetadata

clearCloudControlMetadata

setCloudControlMetadata

Required. The deployment mode and parameters for the cloud control.

Parameter
Name Description
var CloudControlMetadata
Returns
Type Description
$this

getDescription

Optional. A friendly description for the cloud control deployment.

Returns
Type Description
string

setDescription

Optional. A friendly description for the cloud control deployment.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeploymentState

Output only. The state of the cloud control deployment.

Returns
Type Description
int Enum of type DeploymentState.

setDeploymentState

Output only. The state of the cloud control deployment.

Parameter
Name Description
var int

Enum of type DeploymentState.

Returns
Type Description
$this

getCreateTime

Output only. The time when the resource was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the resource was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The time when the resource was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the resource was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEtag

Optional. To prevent concurrent updates from overwriting each other, provide the etag when you update a cloud control deployment. You can also provide the etag when you delete a cloud control deployment to help ensure that you're deleting the intended version of the deployment.

Returns
Type Description
string

setEtag

Optional. To prevent concurrent updates from overwriting each other, provide the etag when you update a cloud control deployment. You can also provide the etag when you delete a cloud control deployment to help ensure that you're deleting the intended version of the deployment.

Parameter
Name Description
var string
Returns
Type Description
$this

getParameterSubstitutedCloudControl

Output only. The cloud control after the given parameters are substituted.

Returns
Type Description
CloudControl|null

hasParameterSubstitutedCloudControl

clearParameterSubstitutedCloudControl

setParameterSubstitutedCloudControl

Output only. The cloud control after the given parameters are substituted.

Parameter
Name Description
var CloudControl
Returns
Type Description
$this

getFrameworkDeploymentReferences

Output only. The references to the framework deployments that this cloud control deployment is part of. A cloud control deployment can be part of multiple framework deployments.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFrameworkDeploymentReferences

Output only. The references to the framework deployments that this cloud control deployment is part of. A cloud control deployment can be part of multiple framework deployments.

Parameter
Name Description
var array<FrameworkDeploymentReference>
Returns
Type Description
$this

getTargetResourceDisplayName

Output only. The display name of the target resource.

Returns
Type Description
string

setTargetResourceDisplayName

Output only. The display name of the target resource.

Parameter
Name Description
var string
Returns
Type Description
$this