Google Cloud Workflows V1 Client - Class CreateExecutionRequest (1.0.2)

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

Request for the CreateExecution method.

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

Namespace

Google \ Cloud \ Workflows \ Executions \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getExecution

Required. Execution to be created.

Returns
Type Description
Execution|null

hasExecution

clearExecution

setExecution

Required. Execution to be created.

Parameter
Name Description
var Execution
Returns
Type Description
$this

static::build

Parameters
Name Description
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. Please see ExecutionsClient::workflowName() for help formatting this field.

execution Execution

Required. Execution to be created.

Returns
Type Description
CreateExecutionRequest