Class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaReplayDiff

Returns a new instance of GoogleCloudPolicysimulatorV1betaReplayDiff.



1593
1594
1595
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1593

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#access_diffGoogle::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



1591
1592
1593
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1591

def access_diff
  @access_diff
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1598
1599
1600
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1598

def update!(**args)
  @access_diff = args[:access_diff] if args.key?(:access_diff)
end