Class: Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership

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

Overview

Details about whether the binding includes the member.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership

Returns a new instance of GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership.



189
190
191
# File 'generated/google/apis/policytroubleshooter_v1/classes.rb', line 189

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

Instance Attribute Details

#membershipString

Indicates whether the binding includes the member. Corresponds to the JSON property membership

Returns:

  • (String)


181
182
183
# File 'generated/google/apis/policytroubleshooter_v1/classes.rb', line 181

def membership
  @membership
end

#relevanceString

The relevance of the member's status to the overall determination for the binding. Corresponds to the JSON property relevance

Returns:

  • (String)


187
188
189
# File 'generated/google/apis/policytroubleshooter_v1/classes.rb', line 187

def relevance
  @relevance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
197
# File 'generated/google/apis/policytroubleshooter_v1/classes.rb', line 194

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