Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::PolicyViolation.
Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy_violation_details
def policy_violation_details() -> ::Array<::Google::Cloud::Deploy::V1::PolicyViolationDetails>
Returns
- (::Array<::Google::Cloud::Deploy::V1::PolicyViolationDetails>) — Policy violation details.
#policy_violation_details=
def policy_violation_details=(value) -> ::Array<::Google::Cloud::Deploy::V1::PolicyViolationDetails>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::PolicyViolationDetails>) — Policy violation details.
Returns
- (::Array<::Google::Cloud::Deploy::V1::PolicyViolationDetails>) — Policy violation details.