Google Cloud Workflows V1 Client - Class GetWorkflowRequest (0.4.2)

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

Request for the GetWorkflow method.

Generated from protobuf message google.cloud.workflows.v1.GetWorkflowRequest

Namespace

Google \ Cloud \ Workflows \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}

↳ revision_id string

Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved. The format is "000001-a4d", where the first six characters define the zero-padded decimal revision number. They are followed by a hyphen and three hexadecimal characters.

getName

Required. Name of the workflow for which information should be retrieved.

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

Returns
TypeDescription
string

setName

Required. Name of the workflow for which information should be retrieved.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRevisionId

Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved.

The format is "000001-a4d", where the first six characters define the zero-padded decimal revision number. They are followed by a hyphen and three hexadecimal characters.

Returns
TypeDescription
string

setRevisionId

Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved.

The format is "000001-a4d", where the first six characters define the zero-padded decimal revision number. They are followed by a hyphen and three hexadecimal characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow} Please see Google\Cloud\Workflows\V1\WorkflowsClient::workflowName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Workflows\V1\GetWorkflowRequest