1.0.0-beta16 (latest) 1.0.0-beta15

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

Reference documentation and code samples for the Dataform v1beta1 API class CompilationResult.

Represents the result of compiling a Dataform project.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Dataform.V1Beta1.dll

## Constructors

### CompilationResult()

    public CompilationResult()

### CompilationResult(CompilationResult)

    public CompilationResult(CompilationResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CompilationResult` |

## Properties

### CodeCompilationConfig

    public CodeCompilationConfig CodeCompilationConfig { get; set; }

Immutable. If set, fields of `code_compilation_config` override the default
compilation settings that are specified in dataform.json.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CodeCompilationConfig` |   |

### CompilationErrors

    public RepeatedField<CompilationResult.Types.CompilationError> CompilationErrors { get; }

Output only. Errors encountered during project compilation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldCompilationResultTypesCompilationError` |   |

### CompilationResultName

    public CompilationResultName CompilationResultName { get; set; }

[CompilationResultName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CompilationResultName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CompilationResult.md.txt#Google_Cloud_Dataform_V1Beta1_CompilationResult_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompilationResultName` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The timestamp of when the compilation result was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### DataEncryptionState

    public DataEncryptionState DataEncryptionState { get; set; }

Output only. Only set if the repository has a KMS Key.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataEncryptionState` |   |

### DataformCoreVersion

    public string DataformCoreVersion { get; set; }

Output only. The version of `@dataform/core` that was used for compilation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### GcsRepositorySnapshotMetadata

    public GcsRepositorySnapshotMetadata GcsRepositorySnapshotMetadata { get; set; }

Output only. Metadata about the repository snapshot used by scheduled
notebooks.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `GcsRepositorySnapshotMetadata` |   |

### GitCommitish

    public string GitCommitish { get; set; }

Immutable. Git commit/tag/branch name at which the repository should be
compiled. Must exist in the remote repository. Examples:

- a commit SHA: `12ade345`
- a tag: `tag1`
- a branch name: `branch1`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### HasGitCommitish

    public bool HasGitCommitish { get; }

Gets whether the "git_commitish" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasInternalMetadata

    public bool HasInternalMetadata { get; }

Gets whether the "internal_metadata" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasReleaseConfig

    public bool HasReleaseConfig { get; }

Gets whether the "release_config" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasWorkspace

    public bool HasWorkspace { get; }

Gets whether the "workspace" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### InternalMetadata

    public string InternalMetadata { get; set; }

Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

Output only. The compilation result's name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PrivateResourceMetadata

    public PrivateResourceMetadata PrivateResourceMetadata { get; set; }

Output only. Metadata indicating whether this resource is user-scoped.
`CompilationResult` resource is `user_scoped` only if it is sourced
from a workspace.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `PrivateResourceMetadata` |   |

### ReleaseConfig

    public string ReleaseConfig { get; set; }

Immutable. The name of the release config to compile. Must be in the
format `projects/*/locations/*/repositories/*/releaseConfigs/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ReleaseConfigAsReleaseConfigName

    public ReleaseConfigName ReleaseConfigAsReleaseConfigName { get; set; }

[ReleaseConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.ReleaseConfigName.md.txt)-typed view over the [ReleaseConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CompilationResult.md.txt#Google_Cloud_Dataform_V1Beta1_CompilationResult_ReleaseConfig) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ReleaseConfigName` |   |

### ResolvedGitCommitSha

    public string ResolvedGitCommitSha { get; set; }

Output only. The fully resolved Git commit SHA of the code that was
compiled. Not set for compilation results whose source is a workspace.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SourceCase

    public CompilationResult.SourceOneofCase SourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompilationResultSourceOneofCase` |   |

### Workspace

    public string Workspace { get; set; }

Immutable. The name of the workspace to compile. Must be in the format
`projects/*/locations/*/repositories/*/workspaces/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### WorkspaceAsWorkspaceName

    public WorkspaceName WorkspaceAsWorkspaceName { get; set; }

[WorkspaceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkspaceName.md.txt)-typed view over the [Workspace](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CompilationResult.md.txt#Google_Cloud_Dataform_V1Beta1_CompilationResult_Workspace) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `WorkspaceName` |   |