1.0.0 (latest) 1.0.0-beta05

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

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

Represents a single invocation of a compilation result.

## Inheritance

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

## Implements

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

### WorkflowInvocation()

    public WorkflowInvocation()

### WorkflowInvocation(WorkflowInvocation)

    public WorkflowInvocation(WorkflowInvocation other)

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

## Properties

### CompilationResult

    public string CompilationResult { get; set; }

Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.

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

### CompilationResultAsCompilationResultName

    public CompilationResultName CompilationResultAsCompilationResultName { get; set; }

[CompilationResultName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultName)-typed view over the [CompilationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocation#Google_Cloud_Dataform_V1_WorkflowInvocation_CompilationResult) resource name property.

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

### CompilationSourceCase

    public WorkflowInvocation.CompilationSourceOneofCase CompilationSourceCase { get; }

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

### DataEncryptionState

    public DataEncryptionState DataEncryptionState { get; set; }

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

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

### HasCompilationResult

    public bool HasCompilationResult { get; }

Gets whether the "compilation_result" field is set

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

### HasInternalMetadata

    public bool HasInternalMetadata { get; }

Gets whether the "internal_metadata" field is set

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

### HasWorkflowConfig

    public bool HasWorkflowConfig { get; }

Gets whether the "workflow_config" field is set

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

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### InvocationConfig

    public InvocationConfig InvocationConfig { get; set; }

Immutable. If left unset, a default InvocationConfig will be used.

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

### InvocationTiming

    public Interval InvocationTiming { get; set; }

Output only. This workflow invocation's timing details.

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

### Name

    public string Name { get; set; }

Output only. The workflow invocation's name.

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

### PipelineConfig

    public PipelineConfig PipelineConfig { get; set; }

Output only. The pipeline options which defines the pipeline type and path within the Git repository.

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

### PrivateResourceMetadata

    public PrivateResourceMetadata PrivateResourceMetadata { get; set; }

Output only. Metadata indicating whether this resource is user-scoped. `WorkflowInvocation` resource is `user_scoped` only if it is sourced from a compilation result and the compilation result is user-scoped.

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

### ResolvedCompilationResult

    public string ResolvedCompilationResult { get; set; }

Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.

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

### ResolvedCompilationResultAsCompilationResultName

    public CompilationResultName ResolvedCompilationResultAsCompilationResultName { get; set; }

[CompilationResultName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.CompilationResultName)-typed view over the [ResolvedCompilationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocation#Google_Cloud_Dataform_V1_WorkflowInvocation_ResolvedCompilationResult) resource name property.

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

### State

    public WorkflowInvocation.Types.State State { get; set; }

Output only. This workflow invocation's current state.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocation.Types.State` |   |

### WorkflowConfig

    public string WorkflowConfig { get; set; }

Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`.

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

### WorkflowConfigAsWorkflowConfigName

    public WorkflowConfigName WorkflowConfigAsWorkflowConfigName { get; set; }

[WorkflowConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowConfigName)-typed view over the [WorkflowConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocation#Google_Cloud_Dataform_V1_WorkflowInvocation_WorkflowConfig) resource name property.

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

### WorkflowInvocationName

    public WorkflowInvocationName WorkflowInvocationName { get; set; }

[WorkflowInvocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocationName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataform.V1/latest/Google.Cloud.Dataform.V1.WorkflowInvocation#Google_Cloud_Dataform_V1_WorkflowInvocation_Name) resource name property.

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