public sealed class ReadFileRequest : IMessage<ReadFileRequest>, IEquatable<ReadFileRequest>, IDeepCloneable<ReadFileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataform v1beta1 API class ReadFileRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eReadFileRequest\u003c/code\u003e class within the Dataform v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReadFileRequest\u003c/code\u003e class, used to request the reading of a file, implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eReadFileRequest\u003c/code\u003e class include \u003ccode\u003ePath\u003c/code\u003e, \u003ccode\u003eRevision\u003c/code\u003e, \u003ccode\u003eWorkspace\u003c/code\u003e, and \u003ccode\u003eWorkspaceAsWorkspaceName\u003c/code\u003e, with \u003ccode\u003ePath\u003c/code\u003e and \u003ccode\u003eWorkspace\u003c/code\u003e being required fields.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eReadFileRequest\u003c/code\u003e, one for creating a new instance and another for copying an existing \u003ccode\u003eReadFileRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation pertains to \u003ccode\u003e1.0.0-beta08\u003c/code\u003e, with a link provided to the previous \u003ccode\u003e1.0.0-beta07\u003c/code\u003e version.\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class ReadFileRequest (1.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.ReadFileRequest)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.ReadFileRequest) \n\n public sealed class ReadFileRequest : IMessage\u003cReadFileRequest\u003e, IEquatable\u003cReadFileRequest\u003e, IDeepCloneable\u003cReadFileRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataform v1beta1 API class ReadFileRequest.\n\n`ReadFile` request message. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ReadFileRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReadFileRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.ReadFileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReadFileRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.ReadFileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReadFileRequest](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataform.V1Beta1](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataform.V1Beta1.dll\n\nConstructors\n------------\n\n### ReadFileRequest()\n\n public ReadFileRequest()\n\n### ReadFileRequest(ReadFileRequest)\n\n public ReadFileRequest(ReadFileRequest other)\n\nProperties\n----------\n\n### Path\n\n public string Path { get; set; }\n\nRequired. The file's full path including filename, relative to the\nworkspace root.\n\n### Revision\n\n public string Revision { get; set; }\n\nOptional. The Git revision of the file to return. If left empty, the\ncurrent contents of `path` will be returned.\n\n### Workspace\n\n public string Workspace { get; set; }\n\nRequired. The workspace's name.\n\n### WorkspaceAsWorkspaceName\n\n public WorkspaceName WorkspaceAsWorkspaceName { get; set; }\n\n[WorkspaceName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkspaceName)-typed view over the [Workspace](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.ReadFileRequest#Google_Cloud_Dataform_V1Beta1_ReadFileRequest_Workspace) resource name property."]]