Class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
- Inherits:
-
Object
- Object
- Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policytroubleshooter_v1beta/classes.rb,
lib/google/apis/policytroubleshooter_v1beta/representations.rb,
lib/google/apis/policytroubleshooter_v1beta/representations.rb
Overview
Details about whether the binding includes the member.
Instance Attribute Summary collapse
-
#membership ⇒ String
Indicates whether the binding includes the member.
-
#relevance ⇒ String
The relevance of the member's status to the overall determination for the binding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
constructor
A new instance of GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership
Returns a new instance of GoogleCloudPolicytroubleshooterV1betaBindingExplanationAnnotatedMembership.
172 173 174 |
# File 'lib/google/apis/policytroubleshooter_v1beta/classes.rb', line 172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#membership ⇒ String
Indicates whether the binding includes the member.
Corresponds to the JSON property membership
164 165 166 |
# File 'lib/google/apis/policytroubleshooter_v1beta/classes.rb', line 164 def membership @membership end |
#relevance ⇒ String
The relevance of the member's status to the overall determination for the
binding.
Corresponds to the JSON property relevance
170 171 172 |
# File 'lib/google/apis/policytroubleshooter_v1beta/classes.rb', line 170 def relevance @relevance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
177 178 179 180 |
# File 'lib/google/apis/policytroubleshooter_v1beta/classes.rb', line 177 def update!(**args) @membership = args[:membership] if args.key?(:membership) @relevance = args[:relevance] if args.key?(:relevance) end |