class Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1Replay
A resource describing a `Replay`, or simulation.
Attributes
The configuration used for a Replay. Corresponds to the JSON property `config` @return [Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayConfig]
Output only. The resource name of the `Replay`, which has the following format: “projects|folders|organizations`/`resource-id`/locations/global/replays/` replay-id“, where “resource-id“ is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/ locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36` Corresponds to the JSON property `name` @return [String]
Summary statistics about the replayed log entries. Corresponds to the JSON property `resultsSummary` @return [Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary]
Output only. The current state of the `Replay`. Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/policysimulator_v1beta1/classes.rb, line 550 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/policysimulator_v1beta1/classes.rb, line 555 def update!(**args) @config = args[:config] if args.key?(:config) @name = args[:name] if args.key?(:name) @results_summary = args[:results_summary] if args.key?(:results_summary) @state = args[:state] if args.key?(:state) end