# Workflows v1beta API - Class GetWorkflowRequest (2.0.0-beta06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/2.0.0-beta05/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/1.0.0-beta03/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest)

    public sealed class GetWorkflowRequest : IMessage<GetWorkflowRequest>, IEquatable<GetWorkflowRequest>, IDeepCloneable<GetWorkflowRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Workflows v1beta API class GetWorkflowRequest.

Request for the
\[GetWorkflow\]\[google.cloud.workflows.v1beta.Workflows.GetWorkflow\] method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetWorkflowRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetWorkflowRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetWorkflowRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetWorkflowRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Workflows.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta)

## Assembly

Google.Cloud.Workflows.V1Beta.dll

## Constructors

### GetWorkflowRequest()

    public GetWorkflowRequest()

### GetWorkflowRequest(GetWorkflowRequest)

    public GetWorkflowRequest(GetWorkflowRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest` |

## Properties

### Name

    public string Name { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### WorkflowName

    public WorkflowName WorkflowName { get; set; }

[WorkflowName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Common.V1Beta/latest/Google.Cloud.Workflows.Common.V1Beta.WorkflowName.html)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.GetWorkflowRequest#Google_Cloud_Workflows_V1Beta_GetWorkflowRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Common.V1Beta/latest/Google.Cloud.Workflows.Common.V1Beta.WorkflowName.html` |   |