Class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
- Inherits:
-
Object
- Object
- Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/policytroubleshooter_v1beta/classes.rb,
generated/google/apis/policytroubleshooter_v1beta/representations.rb,
generated/google/apis/policytroubleshooter_v1beta/representations.rb
Overview
Encapsulated membership and the relevance of that membership with respect to BindingExplanation.
Instance Attribute Summary collapse
-
#membership ⇒ String
Membership status.
-
#relevance ⇒ String
Relevance of this membership with respect to BindingExplanation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
constructor
A new instance of GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
Returns a new instance of GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
148 149 150 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 148 def initialize(**args) update!(**args) end |
Instance Attribute Details
#membership ⇒ String
Membership status.
Corresponds to the JSON property membership
141 142 143 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 141 def membership @membership end |
#relevance ⇒ String
Relevance of this membership with respect to BindingExplanation.
Corresponds to the JSON property relevance
146 147 148 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 146 def relevance @relevance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
153 154 155 156 |
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 153 def update!(**args) @membership = args[:membership] if args.key?(:membership) @relevance = args[:relevance] if args.key?(:relevance) end |