class Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1Replay

A resource describing a `Replay`, or simulation.

Attributes

config[RW]

The configuration used for a Replay. Corresponds to the JSON property `config` @return [Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1ReplayConfig]

name[RW]

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]

results_summary[RW]

Summary statistics about the replayed log entries. Corresponds to the JSON property `resultsSummary` @return [Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1ReplayResultsSummary]

state[RW]

Output only. The current state of the `Replay`. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/policysimulator_v1/classes.rb, line 392
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_v1/classes.rb, line 397
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