Class: Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1Replay
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1Replay
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1beta1/classes.rb,
lib/google/apis/policysimulator_v1beta1/representations.rb,
lib/google/apis/policysimulator_v1beta1/representations.rb
Overview
A resource describing a Replay, or simulation.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayConfig
The configuration used for a Replay.
-
#name ⇒ String
Output only.
-
#results_summary ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
Summary statistics about the replayed log entries.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1Replay
constructor
A new instance of GoogleCloudPolicysimulatorV1beta1Replay.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1beta1Replay
Returns a new instance of GoogleCloudPolicysimulatorV1beta1Replay.
551 552 553 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayConfig
The configuration used for a Replay.
Corresponds to the JSON property config
530 531 532 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 530 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
539 540 541 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 539 def name @name end |
#results_summary ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
Summary statistics about the replayed log entries.
Corresponds to the JSON property resultsSummary
544 545 546 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 544 def results_summary @results_summary end |
#state ⇒ String
Output only. The current state of the Replay.
Corresponds to the JSON property state
549 550 551 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 549 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
556 557 558 559 560 561 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 556 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 |