Interface AcknowledgeViolationRequestOrBuilder (2.3.0)

public interface AcknowledgeViolationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComment()

public abstract String getComment()

Required. Business justification explaining the need for violation acknowledgement

string comment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The comment.

getCommentBytes()

public abstract ByteString getCommentBytes()

Required. Business justification explaining the need for violation acknowledgement

string comment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for comment.

getName()

public abstract String getName()

Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the Violation to acknowledge. Format: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getNonCompliantOrgPolicy()

public abstract String getNonCompliantOrgPolicy()

Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}

string non_compliant_org_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The nonCompliantOrgPolicy.

getNonCompliantOrgPolicyBytes()

public abstract ByteString getNonCompliantOrgPolicyBytes()

Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}

string non_compliant_org_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for nonCompliantOrgPolicy.