Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class FrameworkDeployment.
Framework deployments represent the assignment of a framework to a target resource. Supported target resources are organizations, folders, and projects.
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. The name of the framework deployment, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
. The only supported location is global
.
↳ target_resource_config
TargetResourceConfig
Required. The details of the target resource that you want to deploy the framework to. You can specify an existing resource, or create a new one.
↳ computed_target_resource
string
Output only. The target resource to deploy the framework to, in one the following formats: - organizations/{organizationID}
- folders/{folderID}
- projects/{projectID}
↳ framework
↳ description
string
Optional. A user-provided description of the framework deployment.
↳ cloud_control_metadata
array< CloudControlMetadata
>
Required. The deployment mode and parameters for each of the cloud controls in the framework. Every cloud control in the framework includes metadata.
↳ deployment_state
int
Output only. The state for 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 framework deployment. You can also provide the etag
when you delete a framework deployment, to help ensure that you're deleting the intended version of the framework deployment.
↳ 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. The reference includes all the cloud control deployments that are in the framework or in a cloud control group. For example, if a framework deployment deploys two cloud controls, cc-deployment-1
and cc-deployment-2
, then the references are: { 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. The name of the framework deployment, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
.
The only supported location is global
.
string
setName
Identifier. The name of the framework deployment, in the format organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}
.
The only supported location is global
.
var
string
$this
getTargetResourceConfig
Required. The details of the target resource that you want to deploy the framework to. You can specify an existing resource, or create a new one.
hasTargetResourceConfig
clearTargetResourceConfig
setTargetResourceConfig
Required. The details of the target resource that you want to deploy the framework to. You can specify an existing resource, or create a new one.
$this
getComputedTargetResource
Output only. The target resource to deploy the framework to, in one the following formats:
-
organizations/{organizationID} -
folders/{folderID} -
projects/{projectID}
string
setComputedTargetResource
Output only. The target resource to deploy the framework to, in one the following formats:
-
organizations/{organizationID} -
folders/{folderID} -
projects/{projectID}
var
string
$this
getFramework
Required. A reference to the framework that you're deploying.
hasFramework
clearFramework
setFramework
Required. A reference to the framework that you're deploying.
$this
getDescription
Optional. A user-provided description of the framework deployment.
string
setDescription
Optional. A user-provided description of the framework deployment.
var
string
$this
getCloudControlMetadata
Required. The deployment mode and parameters for each of the cloud controls in the framework. Every cloud control in the framework includes metadata.
setCloudControlMetadata
Required. The deployment mode and parameters for each of the cloud controls in the framework. Every cloud control in the framework includes metadata.
$this
getDeploymentState
Output only. The state for the framework deployment.
setDeploymentState
Output only. The state for 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 framework deployment. You can also
provide the etag
when you delete a framework deployment, to help
ensure that you're deleting the intended version of the
framework deployment.
string
setEtag
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag
when you update a framework deployment. You can also
provide the etag
when you delete a framework deployment, to help
ensure that you're deleting the intended version of the
framework deployment.
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. The reference includes all the cloud control deployments that are in the framework or in a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1
and cc-deployment-2
, then the
references are:
{
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. The reference includes all the cloud control deployments that are in the framework or in a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1
and cc-deployment-2
, then the
references are:
{
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

