public interface PolicyViolationDetailsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFailureMessage()
public abstract String getFailureMessage()
User readable message about why the request violated a policy. This is not intended for machine parsing.
string failure_message = 3;
Returns | |
---|---|
Type | Description |
String |
The failureMessage. |
getFailureMessageBytes()
public abstract ByteString getFailureMessageBytes()
User readable message about why the request violated a policy. This is not intended for machine parsing.
string failure_message = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for failureMessage. |
getPolicy()
public abstract String getPolicy()
Name of the policy that was violated.
Policy resource will be in the format of
projects/{project}/locations/{location}/policies/{policy}
.
string policy = 1;
Returns | |
---|---|
Type | Description |
String |
The policy. |
getPolicyBytes()
public abstract ByteString getPolicyBytes()
Name of the policy that was violated.
Policy resource will be in the format of
projects/{project}/locations/{location}/policies/{policy}
.
string policy = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for policy. |
getRuleId()
public abstract String getRuleId()
Id of the rule that triggered the policy violation.
string rule_id = 2;
Returns | |
---|---|
Type | Description |
String |
The ruleId. |
getRuleIdBytes()
public abstract ByteString getRuleIdBytes()
Id of the rule that triggered the policy violation.
string rule_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ruleId. |