Class: Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership

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

Overview

Details about whether the binding includes the member.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership

Returns a new instance of GoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership.



365
366
367
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 365

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)


357
358
359
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 357

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)


363
364
365
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 363

def relevance
  @relevance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



370
371
372
373
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 370

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