Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::PolicyViolation (v1.1.0)

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

#policy_violation_details=

def policy_violation_details=(value) -> ::Array<::Google::Cloud::Deploy::V1::PolicyViolationDetails>
Parameter
Returns