class Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayConfig
The configuration used for a Replay.
Attributes
The logs to use as input for the Replay. Corresponds to the JSON property `logSource` @return [String]
A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my- project`. For examples of full resource names for Google
Cloud services, see cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay. Corresponds to the JSON property `policyOverlay` @return [Hash<String,Google::Apis::PolicysimulatorV1::GoogleIamV1Policy>]
Public Class Methods
# File lib/google/apis/policysimulator_v1/classes.rb, line 677 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/policysimulator_v1/classes.rb, line 682 def update!(**args) @log_source = args[:log_source] if args.key?(:log_source) @policy_overlay = args[:policy_overlay] if args.key?(:policy_overlay) end