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

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class CreateReplayRequest.

Request message for Simulator.CreateReplay.

Generated from protobuf message google.cloud.policysimulator.v1.CreateReplayRequest

Namespace

Google \ Cloud \ PolicySimulator \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: projects/my-example-project/locations/global

↳ replay Google\Cloud\PolicySimulator\V1\Replay

Required. The Replay to create. Set Replay.ReplayConfig to configure the replay.

getParent

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location.

Example: projects/my-example-project/locations/global

Returns
TypeDescription
string

setParent

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location.

Example: projects/my-example-project/locations/global

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReplay

Required. The Replay to create.

Set Replay.ReplayConfig to configure the replay.

Returns
TypeDescription
Google\Cloud\PolicySimulator\V1\Replay|null

hasReplay

clearReplay

setReplay

Required. The Replay to create.

Set Replay.ReplayConfig to configure the replay.

Parameter
NameDescription
var Google\Cloud\PolicySimulator\V1\Replay
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location.

Example: projects/my-example-project/locations/global

replay Google\Cloud\PolicySimulator\V1\Replay

Required. The Replay to create. Set Replay.ReplayConfig to configure the replay.

Returns
TypeDescription
Google\Cloud\PolicySimulator\V1\CreateReplayRequest