Google Cloud Workflows V1 Client - Class CreateExecutionRequest (0.2.17)

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
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\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
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\V1\Execution|null

hasExecution

clearExecution

setExecution

Required. Execution to be created.

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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Workflows\Executions\V1\CreateExecutionRequest