Interface AcknowledgeViolationRequestOrBuilder (2.55.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getNonCompliantOrgPolicy() (deprecated)

public abstract String getNonCompliantOrgPolicy()

Deprecated. google.cloud.assuredworkloads.v1.AcknowledgeViolationRequest.non_compliant_org_policy is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=584

Optional. This field is deprecated and will be removed in future version of the API. 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 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nonCompliantOrgPolicy.

getNonCompliantOrgPolicyBytes() (deprecated)

public abstract ByteString getNonCompliantOrgPolicyBytes()

Deprecated. google.cloud.assuredworkloads.v1.AcknowledgeViolationRequest.non_compliant_org_policy is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=584

Optional. This field is deprecated and will be removed in future version of the API. 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 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nonCompliantOrgPolicy.