Class: Google::Apis::ServicecontrolV2::PolicyViolationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicecontrol_v2/classes.rb,
lib/google/apis/servicecontrol_v2/representations.rb,
lib/google/apis/servicecontrol_v2/representations.rb

Overview

Information related to policy violations for this request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyViolationInfo

Returns a new instance of PolicyViolationInfo.



695
696
697
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 695

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#org_policy_violation_infoGoogle::Apis::ServicecontrolV2::OrgPolicyViolationInfo

Represents OrgPolicy Violation information. Corresponds to the JSON property orgPolicyViolationInfo



693
694
695
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 693

def org_policy_violation_info
  @org_policy_violation_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



700
701
702
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 700

def update!(**args)
  @org_policy_violation_info = args[:org_policy_violation_info] if args.key?(:org_policy_violation_info)
end