Google Cloud Workflows V1 Client - Class CancelExecutionRequest (0.3.0)

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

Request for the CancelExecution method.

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

Namespace

Google \ Cloud \ Workflows \ Executions \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

getName

Required. Name of the execution to be cancelled.

Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

Returns
TypeDescription
string

setName

Required. Name of the execution to be cancelled.

Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} Please see Google\Cloud\Workflows\Executions\V1\ExecutionsClient::executionName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Workflows\Executions\V1\CancelExecutionRequest