class 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.

Attributes

access_change[RW]

How the member's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies. Corresponds to the JSON property `accessChange` @return [String]

baseline[RW]

Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple. Corresponds to the JSON property `baseline` @return [Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ExplainedAccess]

simulated[RW]

Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple. Corresponds to the JSON property `simulated` @return [Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ExplainedAccess]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/policysimulator_v1beta1/classes.rb, line 206
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/policysimulator_v1beta1/classes.rb, line 211
def update!(**args)
  @access_change = args[:access_change] if args.key?(:access_change)
  @baseline = args[:baseline] if args.key?(:baseline)
  @simulated = args[:simulated] if args.key?(:simulated)
end