Class: Google::Cloud::PolicySimulator::V1::OrgPolicyViolation
- Inherits:
-
Object
- Object
- Google::Cloud::PolicySimulator::V1::OrgPolicyViolation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb
Overview
OrgPolicyViolation is a resource representing a single resource violating a single OrgPolicy constraint.
Instance Attribute Summary collapse
-
#custom_constraint ⇒ ::Google::Cloud::OrgPolicy::V2::CustomConstraint
The custom constraint being violated.
-
#error ⇒ ::Google::Rpc::Status
Any error encountered during the evaluation.
-
#name ⇒ ::String
The name of the
OrgPolicyViolation. -
#resource ⇒ ::Google::Cloud::PolicySimulator::V1::ResourceContext
The resource violating the constraint.
Instance Attribute Details
#custom_constraint ⇒ ::Google::Cloud::OrgPolicy::V2::CustomConstraint
Returns The custom constraint being violated.
121 122 123 124 |
# File 'proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb', line 121 class OrgPolicyViolation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#error ⇒ ::Google::Rpc::Status
Returns Any error encountered during the evaluation.
121 122 123 124 |
# File 'proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb', line 121 class OrgPolicyViolation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of the OrgPolicyViolation. Example:
organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`.
121 122 123 124 |
# File 'proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb', line 121 class OrgPolicyViolation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource ⇒ ::Google::Cloud::PolicySimulator::V1::ResourceContext
Returns The resource violating the constraint.
121 122 123 124 |
# File 'proto_docs/google/cloud/policysimulator/v1/orgpolicy.rb', line 121 class OrgPolicyViolation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |