Interface CmEnrollmentOrBuilder (0.7.0)

public interface CmEnrollmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuditConfig()

public abstract AuditConfig getAuditConfig()

Optional. The audit configuration for Compliance Manager. If set at a scope, this configuration overrides any inherited audit configuration.

.google.cloud.cloudsecuritycompliance.v1.AuditConfig audit_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuditConfig

The auditConfig.

getAuditConfigOrBuilder()

public abstract AuditConfigOrBuilder getAuditConfigOrBuilder()

Optional. The audit configuration for Compliance Manager. If set at a scope, this configuration overrides any inherited audit configuration.

.google.cloud.cloudsecuritycompliance.v1.AuditConfig audit_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuditConfigOrBuilder

getEnrolled()

public abstract boolean getEnrolled()

Optional. Whether the resource is enrolled in Compliance Manager. This setting is inherited by all descendants.

bool enrolled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enrolled.

getName()

public abstract String 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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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 name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

hasAuditConfig()

public abstract boolean hasAuditConfig()

Optional. The audit configuration for Compliance Manager. If set at a scope, this configuration overrides any inherited audit configuration.

.google.cloud.cloudsecuritycompliance.v1.AuditConfig audit_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the auditConfig field is set.