Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::Replay.
A resource describing a Replay
, or simulation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::PolicySimulator::V1::ReplayConfig
-
(::Google::Cloud::PolicySimulator::V1::ReplayConfig) — Required. The configuration used for the
Replay
.
#config=
def config=(value) -> ::Google::Cloud::PolicySimulator::V1::ReplayConfig
-
value (::Google::Cloud::PolicySimulator::V1::ReplayConfig) — Required. The configuration used for the
Replay
.
-
(::Google::Cloud::PolicySimulator::V1::ReplayConfig) — Required. The configuration used for the
Replay
.
#name
def name() -> ::String
-
(::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
#results_summary
def results_summary() -> ::Google::Cloud::PolicySimulator::V1::Replay::ResultsSummary
- (::Google::Cloud::PolicySimulator::V1::Replay::ResultsSummary) — Output only. Summary statistics about the replayed log entries.
#state
def state() -> ::Google::Cloud::PolicySimulator::V1::Replay::State
-
(::Google::Cloud::PolicySimulator::V1::Replay::State) — Output only. The current state of the
Replay
.