1.0.0 (latest) 1.0.0-beta05

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

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

`WriteFile` request message.

## Inheritance

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

## Implements

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

### WriteFileRequest()

    public WriteFileRequest()

### WriteFileRequest(WriteFileRequest)

    public WriteFileRequest(WriteFileRequest other)

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

## Properties

### Contents

    public ByteString Contents { get; set; }

Required. The file's contents.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### Path

    public string Path { get; set; }

Required. The file.

| **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.WriteFileRequest#Google_Cloud_Dataform_V1_WriteFileRequest_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` |   |