Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class FrameworkDeployment.
FrameworkDeployment represents deployment of a Framework on a target resource. Supported target resources are organizations/{organization}, folders/{folder}, and projects/{project}.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. FrameworkDeployment name in the following format: organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
↳ target_resource_config
TargetResourceConfig
Required. The details of the target resource on which the Framework is to be deployed. It can either be an existing target resource or a new target resource to be created.
↳ computed_target_resource
string
Output only. The resource on which the Framework is deployed based on the provided TargetResourceConfig in the following format: organizations/{organization}, folders/{folder} or projects/{project}
↳ framework
↳ description
string
Optional. User provided description of the Framework deployment
↳ cloud_control_metadata
array< CloudControlMetadata
>
Required. Deployment mode and parameters for each of the Cloud Controls in the framework. Every Cloud Control in the framework must have a CloudControlMetadata.
↳ deployment_state
int
Output only. State of the Framework Deployment
↳ create_time
↳ update_time
↳ etag
string
Optional. To prevent concurrent updates from overwriting each other, always provide the etag
when you update a FrameworkDeployment. You can also provide the etag
when you delete a FrameworkDeployment, to help ensure that you're deleting the intended version of the FrameworkDeployment.
↳ target_resource_display_name
string
Output only. The display name of the target resource.
↳ cloud_control_deployment_references
array< CloudControlDeploymentReference
>
Output only. The references to the cloud control deployments. It has all the CloudControlDeployments which are either directly added in the framework or through a CloudControlGroup. Example: If a framework deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2, then the cloud_control_deployment_references will be: { cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1" }, cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2" }
getName
Identifier. FrameworkDeployment name in the following format: organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string
setName
Identifier. FrameworkDeployment name in the following format: organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
var
string
$this
getTargetResourceConfig
Required. The details of the target resource on which the Framework is to be deployed. It can either be an existing target resource or a new target resource to be created.
hasTargetResourceConfig
clearTargetResourceConfig
setTargetResourceConfig
Required. The details of the target resource on which the Framework is to be deployed. It can either be an existing target resource or a new target resource to be created.
$this
getComputedTargetResource
Output only. The resource on which the Framework is deployed based on the provided TargetResourceConfig in the following format: organizations/{organization}, folders/{folder} or projects/{project}
string
setComputedTargetResource
Output only. The resource on which the Framework is deployed based on the provided TargetResourceConfig in the following format: organizations/{organization}, folders/{folder} or projects/{project}
var
string
$this
getFramework
Required. Reference to the framework to be deployed.
hasFramework
clearFramework
setFramework
Required. Reference to the framework to be deployed.
$this
getDescription
Optional. User provided description of the Framework deployment
string
setDescription
Optional. User provided description of the Framework deployment
var
string
$this
getCloudControlMetadata
Required. Deployment mode and parameters for each of the Cloud Controls in the framework. Every Cloud Control in the framework must have a CloudControlMetadata.
setCloudControlMetadata
Required. Deployment mode and parameters for each of the Cloud Controls in the framework. Every Cloud Control in the framework must have a CloudControlMetadata.
$this
getDeploymentState
Output only. State of the Framework Deployment
setDeploymentState
Output only. State of the Framework Deployment
$this
getCreateTime
Output only. The time at which the resource was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the resource was created.
$this
getUpdateTime
Output only. The time at which the resource last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which the resource last updated.
$this
getEtag
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag
when you update a FrameworkDeployment. You can also
provide the etag
when you delete a FrameworkDeployment, to help
ensure that you're deleting the intended version of the
FrameworkDeployment.
string
setEtag
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag
when you update a FrameworkDeployment. You can also
provide the etag
when you delete a FrameworkDeployment, to help
ensure that you're deleting the intended version of the
FrameworkDeployment.
var
string
$this
getTargetResourceDisplayName
Output only. The display name of the target resource.
string
setTargetResourceDisplayName
Output only. The display name of the target resource.
var
string
$this
getCloudControlDeploymentReferences
Output only. The references to the cloud control deployments. It has all the CloudControlDeployments which are either directly added in the framework or through a CloudControlGroup. Example: If a framework deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2, then the cloud_control_deployment_references will be: { cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1" }, cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2" }
setCloudControlDeploymentReferences
Output only. The references to the cloud control deployments. It has all the CloudControlDeployments which are either directly added in the framework or through a CloudControlGroup. Example: If a framework deployment deploys two cloud controls, cc-deployment-1 and cc-deployment-2, then the cloud_control_deployment_references will be: { cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1" }, cloud_control_deployment_reference: { cloud_control_deployment: "organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2" }
$this

