Class: Google::Apis::ServicecontrolV2::PolicyViolationInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV2::PolicyViolationInfo
- 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
-
#org_policy_violation_info ⇒ Google::Apis::ServicecontrolV2::OrgPolicyViolationInfo
Represents OrgPolicy Violation information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyViolationInfo
constructor
A new instance of PolicyViolationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_info ⇒ Google::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 |