2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.0 2.1.1 2.0.0 1.2.0 1.1.0 1.0.2 0.8.0 0.7.2 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Workflows V1 API class Google::Cloud::Workflows::V1::GetWorkflowRequest.

Request for the
[GetWorkflow](https://docs.cloud.google.com/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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(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

    def revision_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=

    def revision_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.