Package com.google.cloud.deploy.v1
Interface PolicyViolationDetailsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyViolationDetails,PolicyViolationDetails.Builder
@Generated
public interface PolicyViolationDetailsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUser readable message about why the request violated a policy.com.google.protobuf.ByteStringUser readable message about why the request violated a policy.Name of the policy that was violated.com.google.protobuf.ByteStringName of the policy that was violated.Id of the rule that triggered the policy violation.com.google.protobuf.ByteStringId of the rule that triggered the policy violation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPolicy
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:
- The policy.
-
getPolicyBytes
com.google.protobuf.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:
- The bytes for policy.
-
getRuleId
String getRuleId()Id of the rule that triggered the policy violation.
string rule_id = 2;- Returns:
- The ruleId.
-
getRuleIdBytes
com.google.protobuf.ByteString getRuleIdBytes()Id of the rule that triggered the policy violation.
string rule_id = 2;- Returns:
- The bytes for ruleId.
-
getFailureMessage
String getFailureMessage()User readable message about why the request violated a policy. This is not intended for machine parsing.
string failure_message = 3;- Returns:
- The failureMessage.
-
getFailureMessageBytes
com.google.protobuf.ByteString getFailureMessageBytes()User readable message about why the request violated a policy. This is not intended for machine parsing.
string failure_message = 3;- Returns:
- The bytes for failureMessage.
-