Class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1ReplayDiff
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1ReplayDiff
- 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
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::PolicysimulatorV1::GoogleCloudPolicysimulatorV1AccessStateDiff
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) ⇒ GoogleCloudPolicysimulatorV1ReplayDiff
constructor
A new instance of GoogleCloudPolicysimulatorV1ReplayDiff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1ReplayDiff
Returns a new instance of GoogleCloudPolicysimulatorV1ReplayDiff.
786 787 788 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_diff ⇒ Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1AccessStateDiff
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
784 785 786 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 784 def access_diff @access_diff end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
791 792 793 |
# File 'lib/google/apis/policysimulator_v1/classes.rb', line 791 def update!(**args) @access_diff = args[:access_diff] if args.key?(:access_diff) end |