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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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: |
↳ replay |
Google\Cloud\PolicySimulator\V1\Replay
Required. The Replay to create. Set |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReplay
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
Returns | |
---|---|
Type | Description |
Google\Cloud\PolicySimulator\V1\Replay|null |
hasReplay
clearReplay
setReplay
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\PolicySimulator\V1\Replay
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
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: |
replay |
Google\Cloud\PolicySimulator\V1\Replay
Required. The Replay to create.
Set |
Returns | |
---|---|
Type | Description |
Google\Cloud\PolicySimulator\V1\CreateReplayRequest |