Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CmEnrollment.
The settings for Compliance Manager at a specific resource scope.=
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CmEnrollment
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the Compliance Manager enrollment. Supported formats are the following: * * organizations/{organization_id}/locations/{location}/cmEnrollment
* * folders/{folder_id}/locations/{location}/cmEnrollment
* * projects/{project_id}/locations/{location}/cmEnrollment
↳ enrolled
bool
Optional. Whether the resource is enrolled in Compliance Manager. This setting is inherited by all descendants.
↳ audit_config
AuditConfig
Optional. The audit configuration for Compliance Manager. If set at a scope, this configuration overrides any inherited audit configuration.
getName
Identifier. The name of the Compliance Manager enrollment.
Supported formats are the following:
-
organizations/{organization_id}/locations/{location}/cmEnrollment -
folders/{folder_id}/locations/{location}/cmEnrollment -
projects/{project_id}/locations/{location}/cmEnrollment
string
setName
Identifier. The name of the Compliance Manager enrollment.
Supported formats are the following:
-
organizations/{organization_id}/locations/{location}/cmEnrollment -
folders/{folder_id}/locations/{location}/cmEnrollment -
projects/{project_id}/locations/{location}/cmEnrollment
var
string
$this
getEnrolled
Optional. Whether the resource is enrolled in Compliance Manager.
This setting is inherited by all descendants.
bool
setEnrolled
Optional. Whether the resource is enrolled in Compliance Manager.
This setting is inherited by all descendants.
var
bool
$this
getAuditConfig
Optional. The audit configuration for Compliance Manager.
If set at a scope, this configuration overrides any inherited audit configuration.
hasAuditConfig
clearAuditConfig
setAuditConfig
Optional. The audit configuration for Compliance Manager.
If set at a scope, this configuration overrides any inherited audit configuration.
$this

