(::String) — Required. Name of the workflow for which information should be retrieved.
Format: projects/{project}/locations/{location}/workflows/{workflow}
#name=
defname=(value)->::String
Parameter
value (::String) — Required. Name of the workflow for which information should be retrieved.
Format: projects/{project}/locations/{location}/workflows/{workflow}
Returns
(::String) — Required. Name of the workflow for which information should be retrieved.
Format: projects/{project}/locations/{location}/workflows/{workflow}
#revision_id
defrevision_id()->::String
Returns
(::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.
#revision_id=
defrevision_id=(value)->::String
Parameter
value (::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.
Returns
(::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.
[[["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-09 UTC."],[],[],null,["# Workflows V1 API - Class Google::Cloud::Workflows::V1::GetWorkflowRequest (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-workflows-v1/latest/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [2.1.1](/ruby/docs/reference/google-cloud-workflows-v1/2.1.1/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [2.0.0](/ruby/docs/reference/google-cloud-workflows-v1/2.0.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-workflows-v1/1.2.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-workflows-v1/1.1.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-workflows-v1/1.0.2/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-workflows-v1/0.8.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.7.2](/ruby/docs/reference/google-cloud-workflows-v1/0.7.2/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-workflows-v1/0.6.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-workflows-v1/0.5.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.4.1](/ruby/docs/reference/google-cloud-workflows-v1/0.4.1/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-workflows-v1/0.3.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-workflows-v1/0.2.0/Google-Cloud-Workflows-V1-GetWorkflowRequest)\n- [0.1.5](/ruby/docs/reference/google-cloud-workflows-v1/0.1.5/Google-Cloud-Workflows-V1-GetWorkflowRequest) \nReference documentation and code samples for the Workflows V1 API class Google::Cloud::Workflows::V1::GetWorkflowRequest.\n\nRequest for the\n[GetWorkflow](/ruby/docs/reference/google-cloud-workflows-v1/latest/Google-Cloud-Workflows-V1-Workflows-Client#Google__Cloud__Workflows__V1__Workflows__Client_get_workflow_instance_ \"Google::Cloud::Workflows::V1::Workflows::Client#get_workflow (method)\") method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow} \n**Returns**\n\n- (::String) --- Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}\n\n### #revision_id\n\n def revision_id() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n### #revision_id=\n\n def revision_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::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. \n**Returns**\n\n- (::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."]]