Google Cloud Workflows V1beta Client - Class CreateExecutionRequest (0.2.17)

Reference documentation and code samples for the Google Cloud Workflows V1beta Client class CreateExecutionRequest.

Request for the CreateExecution method.

Generated from protobuf message google.cloud.workflows.executions.v1beta.CreateExecutionRequest

Namespace

Google \ Cloud \ Workflows \ Executions \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

↳ execution Google\Cloud\Workflows\Executions\V1beta\Execution

Required. Execution to be created.

getParent

Required. Name of the workflow for which an execution should be created.

Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

Returns
TypeDescription
string

setParent

Required. Name of the workflow for which an execution should be created.

Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExecution

Required. Execution to be created.

Returns
TypeDescription
Google\Cloud\Workflows\Executions\V1beta\Execution|null

hasExecution

clearExecution

setExecution

Required. Execution to be created.

Parameter
NameDescription
var Google\Cloud\Workflows\Executions\V1beta\Execution
Returns
TypeDescription
$this