Google Cloud Workflows V1 Client - Class CreateExecutionRequest (1.0.0)

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 Google\Cloud\Workflows\Executions\V1\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
Google\Cloud\Workflows\Executions\V1\Execution|null

hasExecution

clearExecution

setExecution

Required. Execution to be created.

Parameter
Name Description
var Google\Cloud\Workflows\Executions\V1\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 Google\Cloud\Workflows\Executions\V1\ExecutionsClient::workflowName() for help formatting this field.

execution Google\Cloud\Workflows\Executions\V1\Execution

Required. Execution to be created.

Returns
Type Description
Google\Cloud\Workflows\Executions\V1\CreateExecutionRequest