Class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1/classes.rb,
lib/google/apis/policysimulator_v1/representations.rb,
lib/google/apis/policysimulator_v1/representations.rb
Overview
Details about whether the binding includes the principal.
Instance Attribute Summary collapse
-
#membership ⇒ String
Indicates whether the binding includes the principal.
-
#relevance ⇒ String
The relevance of the principal's status to the overall determination for the binding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership
constructor
A new instance of GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership
Returns a new instance of GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership.
542 543 544 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#membership ⇒ String
Indicates whether the binding includes the principal.
Corresponds to the JSON property membership
534 535 536 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 534 def membership @membership end |
#relevance ⇒ String
The relevance of the principal's status to the overall determination for the
binding.
Corresponds to the JSON property relevance
540 541 542 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 540 def relevance @relevance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
547 548 549 550 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 547 def update!(**args) @membership = args[:membership] if args.key?(:membership) @relevance = args[:relevance] if args.key?(:relevance) end |