Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CloudControl.
A cloud control is a set of rules and associated metadata that you can use to define your organization's security or compliance intent.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CloudControl
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Identifier. The name of the cloud control, in the format organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
. The only supported location is global
.
↳ major_revision_id
int|string
Output only. The major version of the cloud control, which is incremented in ascending order.
↳ description
string
Optional. A description of the cloud control. The maximum length is 2000 characters.
↳ display_name
string
Optional. The friendly name of the cloud control. The maximum length is 200 characters.
↳ supported_enforcement_modes
array
Output only. The supported enforcement modes for the cloud control.
↳ parameter_spec
↳ rules
↳ severity
int
Optional. The severity of the findings that are generated by the cloud control.
↳ finding_category
string
Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
↳ supported_cloud_providers
array
Optional. The supported cloud providers.
↳ related_frameworks
array
Output only. The frameworks that include this cloud control.
↳ remediation_steps
string
Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
↳ categories
array
Optional. The categories for the cloud control.
↳ create_time
Google\Protobuf\Timestamp
Output only. The time that the cloud control was last updated. create_time
is used because a new cloud control is created whenever an existing cloud control is updated.
↳ supported_target_resource_types
array
Optional. The target resource types that are supported by the cloud control.
getName
Required. Identifier. The name of the cloud control, in the format organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
.
The only supported location is global
.
string
setName
Required. Identifier. The name of the cloud control, in the format organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
.
The only supported location is global
.
var
string
$this
getMajorRevisionId
Output only. The major version of the cloud control, which is incremented in ascending order.
int|string
setMajorRevisionId
Output only. The major version of the cloud control, which is incremented in ascending order.
var
int|string
$this
getDescription
Optional. A description of the cloud control. The maximum length is 2000 characters.
string
setDescription
Optional. A description of the cloud control. The maximum length is 2000 characters.
var
string
$this
getDisplayName
Optional. The friendly name of the cloud control. The maximum length is 200 characters.
string
setDisplayName
Optional. The friendly name of the cloud control. The maximum length is 200 characters.
var
string
$this
getSupportedEnforcementModes
Output only. The supported enforcement modes for the cloud control.
setSupportedEnforcementModes
Output only. The supported enforcement modes for the cloud control.
var
int[]
$this
getParameterSpec
Optional. The parameter specifications for the cloud control.
setParameterSpec
Optional. The parameter specifications for the cloud control.
$this
getRules
Optional. The rules that you can enforce to meet your security or compliance intent.
setRules
Optional. The rules that you can enforce to meet your security or compliance intent.
$this
getSeverity
Optional. The severity of the findings that are generated by the cloud control.
setSeverity
Optional. The severity of the findings that are generated by the cloud control.
$this
getFindingCategory
Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
string
setFindingCategory
Optional. The finding category for the cloud control findings. The maximum length is 255 characters.
var
string
$this
getSupportedCloudProviders
Optional. The supported cloud providers.
setSupportedCloudProviders
Optional. The supported cloud providers.
var
int[]
$this
getRelatedFrameworks
Output only. The frameworks that include this cloud control.
setRelatedFrameworks
Output only. The frameworks that include this cloud control.
var
string[]
$this
getRemediationSteps
Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
string
setRemediationSteps
Optional. The remediation steps for the cloud control findings. The maximum length is 400 characters.
var
string
$this
getCategories
Optional. The categories for the cloud control.
setCategories
Optional. The categories for the cloud control.
var
int[]
$this
getCreateTime
Output only. The time that the cloud control was last updated.
create_time
is used because a new cloud control is created
whenever an existing cloud control is updated.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time that the cloud control was last updated.
create_time
is used because a new cloud control is created
whenever an existing cloud control is updated.
$this
getSupportedTargetResourceTypes
Optional. The target resource types that are supported by the cloud control.
setSupportedTargetResourceTypes
Optional. The target resource types that are supported by the cloud control.
var
int[]
$this

