Class: Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1AccessStateDiff
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1AccessStateDiff
- 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
A summary and comparison of the member's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.
Instance Attribute Summary collapse
-
#access_change ⇒ String
How the member's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
-
#baseline ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ExplainedAccess
Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.
-
#simulated ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ExplainedAccess
Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1AccessStateDiff
constructor
A new instance of GoogleCloudPolicysimulatorV1beta1AccessStateDiff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1AccessStateDiff
Returns a new instance of GoogleCloudPolicysimulatorV1beta1AccessStateDiff.
206 207 208 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_change ⇒ String
How the member's access, specified in the AccessState field, changed between
the current (baseline) policies and proposed (simulated) policies.
Corresponds to the JSON property accessChange
192 193 194 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 192 def access_change @access_change end |
#baseline ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ExplainedAccess
Details about how a set of policies, listed in ExplainedPolicy, resulted in a
certain AccessState when replaying an access tuple.
Corresponds to the JSON property baseline
198 199 200 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 198 def baseline @baseline end |
#simulated ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ExplainedAccess
Details about how a set of policies, listed in ExplainedPolicy, resulted in a
certain AccessState when replaying an access tuple.
Corresponds to the JSON property simulated
204 205 206 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 204 def simulated @simulated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 215 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 211 def update!(**args) @access_change = args[:access_change] if args.key?(:access_change) @baseline = args[:baseline] if args.key?(:baseline) @simulated = args[:simulated] if args.key?(:simulated) end |