Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayDiff
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayDiff
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1alpha/classes.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb
Overview
The difference between the results of evaluating an access tuple under the current (baseline) policies and under the proposed (simulated) policies. This difference explains how a principal's access could change if the proposed policies were applied.
Instance Attribute Summary collapse
-
#access_diff ⇒ Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaAccessStateDiff
A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaReplayDiff
constructor
A new instance of GoogleCloudPolicysimulatorV1alphaReplayDiff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaReplayDiff
Returns a new instance of GoogleCloudPolicysimulatorV1alphaReplayDiff.
1388 1389 1390 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_diff ⇒ Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaAccessStateDiff
A summary and comparison of the principal's access under the current (baseline)
policies and the proposed (simulated) policies for a single access tuple.
Corresponds to the JSON property accessDiff
1386 1387 1388 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1386 def access_diff @access_diff end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1393 1394 1395 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1393 def update!(**args) @access_diff = args[:access_diff] if args.key?(:access_diff) end |