Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class Replay.
A resource describing a Replay, or simulation.
Generated from protobuf message google.cloud.policysimulator.v1.Replay
Namespace
Google \ Cloud \ PolicySimulator \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The resource name of the |
↳ state |
int
Output only. The current state of the |
↳ config |
ReplayConfig
Required. The configuration used for the |
↳ results_summary |
Replay\ResultsSummary
Output only. Summary statistics about the replayed log entries. |
getName
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
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
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
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. The current state of the Replay.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. The current state of the Replay.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfig
Required. The configuration used for the Replay.
| Returns | |
|---|---|
| Type | Description |
ReplayConfig|null |
|
hasConfig
clearConfig
setConfig
Required. The configuration used for the Replay.
| Parameter | |
|---|---|
| Name | Description |
var |
ReplayConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResultsSummary
Output only. Summary statistics about the replayed log entries.
| Returns | |
|---|---|
| Type | Description |
Replay\ResultsSummary|null |
|
hasResultsSummary
clearResultsSummary
setResultsSummary
Output only. Summary statistics about the replayed log entries.
| Parameter | |
|---|---|
| Name | Description |
var |
Replay\ResultsSummary
|
| Returns | |
|---|---|
| Type | Description |
$this |
|