Class: Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayDiff
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayDiff
- 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
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 member's access could change if the proposed policies were applied.
Instance Attribute Summary collapse
-
#access_diff ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1AccessStateDiff
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 Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1ReplayDiff
constructor
A new instance of GoogleCloudPolicysimulatorV1beta1ReplayDiff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1ReplayDiff
Returns a new instance of GoogleCloudPolicysimulatorV1beta1ReplayDiff.
610 611 612 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 610 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_diff ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1AccessStateDiff
A summary and comparison of the member's access under the current (baseline)
policies and the proposed (simulated) policies for a single access tuple.
Corresponds to the JSON property accessDiff
608 609 610 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 608 def access_diff @access_diff end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
615 616 617 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 615 def update!(**args) @access_diff = args[:access_diff] if args.key?(:access_diff) end |