Generated from protobuf messagegoogle.cloud.workflows.v1.GetWorkflowRequest
Namespace
Google \ Cloud \ Workflows \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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.
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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. Name of the workflow for which information should be retrieved.
Format: projects/{project}/locations/{location}/workflows/{workflow}
Please seeWorkflowsClient::workflowName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Workflows V1 Client - Class GetWorkflowRequest (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-workflows/latest/V1.GetWorkflowRequest)\n- [1.1.0](/php/docs/reference/cloud-workflows/1.1.0/V1.GetWorkflowRequest)\n- [1.0.3](/php/docs/reference/cloud-workflows/1.0.3/V1.GetWorkflowRequest)\n- [0.5.5](/php/docs/reference/cloud-workflows/0.5.5/V1.GetWorkflowRequest)\n- [0.4.2](/php/docs/reference/cloud-workflows/0.4.2/V1.GetWorkflowRequest)\n- [0.3.0](/php/docs/reference/cloud-workflows/0.3.0/V1.GetWorkflowRequest)\n- [0.2.17](/php/docs/reference/cloud-workflows/0.2.17/V1.GetWorkflowRequest) \nReference documentation and code samples for the Google Cloud Workflows V1 Client class GetWorkflowRequest.\n\nRequest for the\n[GetWorkflow](/php/docs/reference/cloud-workflows/latest/V1.Client.WorkflowsClient#_Google_Cloud_Workflows_V1_Client_WorkflowsClient__getWorkflow__) method.\n\nGenerated from protobuf message `google.cloud.workflows.v1.GetWorkflowRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Workflows \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Name of the workflow for which information should be retrieved.\n\nFormat: projects/{project}/locations/{location}/workflows/{workflow}\n\n### setName\n\nRequired. Name of the workflow for which information should be retrieved.\n\nFormat: projects/{project}/locations/{location}/workflows/{workflow}\n\n### getRevisionId\n\nOptional. The revision of the workflow to retrieve. If the revision_id is\nempty, the latest revision is retrieved.\n\nThe format is \"000001-a4d\", where the first six characters define\nthe zero-padded decimal revision number. They are followed by a hyphen and\nthree hexadecimal characters.\n\n### setRevisionId\n\nOptional. The revision of the workflow to retrieve. If the revision_id is\nempty, the latest revision is retrieved.\n\nThe format is \"000001-a4d\", where the first six characters define\nthe zero-padded decimal revision number. They are followed by a hyphen and\nthree hexadecimal characters.\n\n### static::build"]]