Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::CmEnrollment (v0.2.0)

Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::CmEnrollment.

The settings for Compliance Manager at a specific resource scope.=

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audit_config

def audit_config() -> ::Google::Cloud::CloudSecurityCompliance::V1::AuditConfig
Returns

#audit_config=

def audit_config=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::AuditConfig
Parameter
Returns

#enrolled

def enrolled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether the resource is enrolled in Compliance Manager. This setting is inherited by all descendants.

#enrolled=

def enrolled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether the resource is enrolled in Compliance Manager. This setting is inherited by all descendants.
Returns
  • (::Boolean) — Optional. Whether the resource is enrolled in Compliance Manager. This setting is inherited by all descendants.

#name

def name() -> ::String
Returns
  • (::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

#name=

def name=(value) -> ::String
Parameter
  • value (::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
Returns
  • (::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