1.0.0 (latest) 1.0.0-beta05

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

Reference documentation and code samples for the Dataform v1 API class ReadFileRequest.

`ReadFile` request message.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReadFileRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.ReadFileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReadFileRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.ReadFileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReadFileRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.ReadFileRequest), [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.Dataform.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1)

## Assembly

Google.Cloud.Dataform.V1.dll

## Constructors

### ReadFileRequest()

    public ReadFileRequest()

### ReadFileRequest(ReadFileRequest)

    public ReadFileRequest(ReadFileRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.ReadFileRequest` |

## Properties

### Path

    public string Path { get; set; }

Required. The file's full path including filename, relative to the workspace root.

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

### Revision

    public string Revision { get; set; }

Optional. The Git revision of the file to return. If left empty, the current contents of `path` will be returned.

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

### Workspace

    public string Workspace { get; set; }

Required. The workspace's name.

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

### WorkspaceAsWorkspaceName

    public WorkspaceName WorkspaceAsWorkspaceName { get; set; }

[WorkspaceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkspaceName)-typed view over the [Workspace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.ReadFileRequest#Google_Cloud_Dataform_V1_ReadFileRequest_Workspace) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkspaceName` |   |