Class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1beta/classes.rb,
lib/google/apis/policysimulator_v1beta/representations.rb,
lib/google/apis/policysimulator_v1beta/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) ⇒ GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
constructor
A new instance of GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
Returns a new instance of GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership.
1024 1025 1026 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#membership ⇒ String
Indicates whether the binding includes the principal.
Corresponds to the JSON property membership
1016 1017 1018 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1016 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
1022 1023 1024 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1022 def relevance @relevance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1029 1030 1031 1032 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1029 def update!(**args) @membership = args[:membership] if args.key?(:membership) @relevance = args[:relevance] if args.key?(:relevance) end |