1.0.0 (latest) 1.0.0-beta05

    public sealed class CompilationResultAction.Types.DataPreparation : IMessage<CompilationResultAction.Types.DataPreparation>, IEquatable<CompilationResultAction.Types.DataPreparation>, IDeepCloneable<CompilationResultAction.Types.DataPreparation>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataform v1 API class CompilationResultAction.Types.DataPreparation.

Defines a compiled Data Preparation entity

## Inheritance

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

## Implements

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

### DataPreparation()

    public DataPreparation()

### DataPreparation(DataPreparation)

    public DataPreparation(CompilationResultAction.Types.DataPreparation other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultActionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Types.DataPreparation` |

## Properties

### ContentsSql

    public CompilationResultAction.Types.DataPreparation.Types.SqlDefinition ContentsSql { get; set; }

SQL definition for a Data Preparation. Contains a SQL query and additional context information.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultActionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Types.DataPreparationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Types.DataPreparation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Types.DataPreparation.Types.SqlDefinition` |   |

### ContentsYaml

    public string ContentsYaml { get; set; }

The data preparation definition, stored as a YAML string.

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

### DefinitionCase

    public CompilationResultAction.Types.DataPreparation.DefinitionOneofCase DefinitionCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultActionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Types.DataPreparationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultAction.Types.DataPreparation.DefinitionOneofCase` |   |

### DependencyTargets

    public RepeatedField<Target> DependencyTargets { get; }

A list of actions that this action depends on.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.Target` |   |

### Disabled

    public bool Disabled { get; set; }

Whether this action is disabled (i.e. should not be run).

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

### HasContentsYaml

    public bool HasContentsYaml { get; }

Gets whether the "contents_yaml" field is set

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

### Tags

    public RepeatedField<string> Tags { get; }

Arbitrary, user-defined tags on this action.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |