Class: Google::Cloud::Deploy::V1::PolicyViolationDetails
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::PolicyViolationDetails
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
Policy violation details.
Instance Attribute Summary collapse
-
#failure_message ⇒ ::String
User readable message about why the request violated a policy.
-
#policy ⇒ ::String
Name of the policy that was violated.
-
#rule_id ⇒ ::String
Id of the rule that triggered the policy violation.
Instance Attribute Details
#failure_message ⇒ ::String
Returns User readable message about why the request violated a policy. This is not intended for machine parsing.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1799 class PolicyViolationDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#policy ⇒ ::String
Returns Name of the policy that was violated.
Policy resource will be in the format of
projects/{project}/locations/{location}/policies/{policy}
.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1799 class PolicyViolationDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rule_id ⇒ ::String
Returns Id of the rule that triggered the policy violation.
1799 1800 1801 1802 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1799 class PolicyViolationDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |