Google Cloud Policy Simulator V1 Client - Class Replay (0.1.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ 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

↳ state
int

Output only. The current state of the Replay .

↳ config
Google\Cloud\PolicySimulator\V1\ReplayConfig

Required. The configuration used for the Replay .

↳ results_summary
Google\Cloud\PolicySimulator\V1\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

setState

Output only. The current state of the Replay .

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getConfig

Required. The configuration used for the Replay .

Returns
Type
Description

hasConfig

clearConfig

setConfig

Required. The configuration used for the Replay .

Parameter
Name
Description
Returns
Type
Description
$this

getResultsSummary

Output only. Summary statistics about the replayed log entries.

hasResultsSummary

clearResultsSummary

setResultsSummary

Output only. Summary statistics about the replayed log entries.

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: