Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::PolicyViolationDetails (v1.3.0)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::PolicyViolationDetails.

Policy violation details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#failure_message

def failure_message() -> ::String
Returns
  • (::String) — User readable message about why the request violated a policy. This is not intended for machine parsing.

#failure_message=

def failure_message=(value) -> ::String
Parameter
  • value (::String) — User readable message about why the request violated a policy. This is not intended for machine parsing.
Returns
  • (::String) — User readable message about why the request violated a policy. This is not intended for machine parsing.

#policy

def policy() -> ::String
Returns
  • (::String) — Name of the policy that was violated. Policy resource will be in the format of projects/{project}/locations/{location}/policies/{policy}.

#policy=

def policy=(value) -> ::String
Parameter
  • value (::String) — Name of the policy that was violated. Policy resource will be in the format of projects/{project}/locations/{location}/policies/{policy}.
Returns
  • (::String) — Name of the policy that was violated. Policy resource will be in the format of projects/{project}/locations/{location}/policies/{policy}.

#rule_id

def rule_id() -> ::String
Returns
  • (::String) — Id of the rule that triggered the policy violation.

#rule_id=

def rule_id=(value) -> ::String
Parameter
  • value (::String) — Id of the rule that triggered the policy violation.
Returns
  • (::String) — Id of the rule that triggered the policy violation.