Class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff
- 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
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::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff
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) ⇒ GoogleCloudPolicysimulatorV1betaReplayDiff
constructor
A new instance of GoogleCloudPolicysimulatorV1betaReplayDiff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaReplayDiff
Returns a new instance of GoogleCloudPolicysimulatorV1betaReplayDiff.
1712 1713 1714 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_diff ⇒ Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff
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
1710 1711 1712 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1710 def access_diff @access_diff end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1717 1718 1719 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1717 def update!(**args) @access_diff = args[:access_diff] if args.key?(:access_diff) end |