Class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplay
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplay
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1alpha/classes.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb,
lib/google/apis/policysimulator_v1alpha/representations.rb
Overview
A resource describing a Replay
, or simulation.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayConfig
The configuration used for a Replay.
-
#name ⇒ String
Output only.
-
#results_summary ⇒ Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayResultsSummary
Summary statistics about the replayed log entries.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaReplay
constructor
A new instance of GoogleCloudPolicysimulatorV1alphaReplay.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1alphaReplay
Returns a new instance of GoogleCloudPolicysimulatorV1alphaReplay.
1329 1330 1331 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayConfig
The configuration used for a Replay.
Corresponds to the JSON property config
1308 1309 1310 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1308 def config @config end |
#name ⇒ String
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
1317 1318 1319 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1317 def name @name end |
#results_summary ⇒ Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaReplayResultsSummary
Summary statistics about the replayed log entries.
Corresponds to the JSON property resultsSummary
1322 1323 1324 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1322 def results_summary @results_summary end |
#state ⇒ String
Output only. The current state of the Replay
.
Corresponds to the JSON property state
1327 1328 1329 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1327 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1334 1335 1336 1337 1338 1339 |
# File 'lib/google/apis/policysimulator_v1alpha/classes.rb', line 1334 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 |