public sealed class WorkflowInvocation : IMessage<WorkflowInvocation>, IEquatable<WorkflowInvocation>, IDeepCloneable<WorkflowInvocation>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataform v1beta1 API class WorkflowInvocation.
Represents a single invocation of a compilation result.
Immutable. The name of the compilation result to use for this invocation.
Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*.
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.
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/*.
[[["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\u003eThe \u003ccode\u003eWorkflowInvocation\u003c/code\u003e class in the Dataform v1beta1 API represents a single execution of a compilation result, offering methods and properties to manage and inspect the invocation process.\u003c/p\u003e\n"],["\u003cp\u003eThis class can be instantiated either by using the default constructor, \u003ccode\u003eWorkflowInvocation()\u003c/code\u003e, or by passing an existing \u003ccode\u003eWorkflowInvocation\u003c/code\u003e object, using the \u003ccode\u003eWorkflowInvocation(WorkflowInvocation other)\u003c/code\u003e constructor, allowing the user to clone a preexisting invocation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWorkflowInvocation\u003c/code\u003e provides access to properties like \u003ccode\u003eCompilationResult\u003c/code\u003e, \u003ccode\u003eWorkflowConfig\u003c/code\u003e, and \u003ccode\u003eInvocationConfig\u003c/code\u003e to configure the invocation, as well as output-only properties like \u003ccode\u003eState\u003c/code\u003e and \u003ccode\u003eInvocationTiming\u003c/code\u003e to monitor its execution.\u003c/p\u003e\n"],["\u003cp\u003eIt also implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e which allow the class to be used in a wide variety of common situations, and give it access to some common functions like cloning and comparing.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes methods to obtain the current data encryption state, whether or not certain field is set, and provides a way to interact with compilation results, workflow configurations, and invocation details.\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class WorkflowInvocation (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.WorkflowInvocation)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation) \n\n public sealed class WorkflowInvocation : IMessage\u003cWorkflowInvocation\u003e, IEquatable\u003cWorkflowInvocation\u003e, IDeepCloneable\u003cWorkflowInvocation\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataform v1beta1 API class WorkflowInvocation.\n\nRepresents a single invocation of a compilation result. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkflowInvocation \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkflowInvocation](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkflowInvocation](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkflowInvocation](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.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) \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### WorkflowInvocation()\n\n public WorkflowInvocation()\n\n### WorkflowInvocation(WorkflowInvocation)\n\n public WorkflowInvocation(WorkflowInvocation other)\n\nProperties\n----------\n\n### CompilationResult\n\n public string CompilationResult { get; set; }\n\nImmutable. The name of the compilation result to use for this invocation.\nMust be in the format\n`projects/*/locations/*/repositories/*/compilationResults/*`.\n\n### CompilationResultAsCompilationResultName\n\n public CompilationResultName CompilationResultAsCompilationResultName { get; set; }\n\n[CompilationResultName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CompilationResultName)-typed view over the [CompilationResult](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation#Google_Cloud_Dataform_V1Beta1_WorkflowInvocation_CompilationResult) resource name\nproperty.\n\n### CompilationSourceCase\n\n public WorkflowInvocation.CompilationSourceOneofCase CompilationSourceCase { get; }\n\n### DataEncryptionState\n\n public DataEncryptionState DataEncryptionState { get; set; }\n\nOutput only. Only set if the repository has a KMS Key.\n\n### HasCompilationResult\n\n public bool HasCompilationResult { get; }\n\nGets whether the \"compilation_result\" field is set\n\n### HasInternalMetadata\n\n public bool HasInternalMetadata { get; }\n\nGets whether the \"internal_metadata\" field is set\n\n### HasWorkflowConfig\n\n public bool HasWorkflowConfig { get; }\n\nGets whether the \"workflow_config\" field is set\n\n### InternalMetadata\n\n public string InternalMetadata { get; set; }\n\nOutput only. All the metadata information that is used internally to serve\nthe resource. For example: timestamps, flags, status fields, etc. The\nformat of this field is a JSON string.\n\n### InvocationConfig\n\n public InvocationConfig InvocationConfig { get; set; }\n\nImmutable. If left unset, a default InvocationConfig will be used.\n\n### InvocationTiming\n\n public Interval InvocationTiming { get; set; }\n\nOutput only. This workflow invocation's timing details.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The workflow invocation's name.\n\n### ResolvedCompilationResult\n\n public string ResolvedCompilationResult { get; set; }\n\nOutput only. The resolved compilation result that was used to create this\ninvocation. Will be in the format\n`projects/*/locations/*/repositories/*/compilationResults/*`.\n\n### ResolvedCompilationResultAsCompilationResultName\n\n public CompilationResultName ResolvedCompilationResultAsCompilationResultName { get; set; }\n\n[CompilationResultName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CompilationResultName)-typed view over the [ResolvedCompilationResult](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation#Google_Cloud_Dataform_V1Beta1_WorkflowInvocation_ResolvedCompilationResult) resource\nname property.\n\n### State\n\n public WorkflowInvocation.Types.State State { get; set; }\n\nOutput only. This workflow invocation's current state.\n\n### WorkflowConfig\n\n public string WorkflowConfig { get; set; }\n\nImmutable. The name of the workflow config to invoke. Must be in the\nformat `projects/*/locations/*/repositories/*/workflowConfigs/*`.\n\n### WorkflowConfigAsWorkflowConfigName\n\n public WorkflowConfigName WorkflowConfigAsWorkflowConfigName { get; set; }\n\n[WorkflowConfigName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowConfigName)-typed view over the [WorkflowConfig](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation#Google_Cloud_Dataform_V1Beta1_WorkflowInvocation_WorkflowConfig) resource name property.\n\n### WorkflowInvocationName\n\n public WorkflowInvocationName WorkflowInvocationName { get; set; }\n\n[WorkflowInvocationName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocationName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.WorkflowInvocation#Google_Cloud_Dataform_V1Beta1_WorkflowInvocation_Name) resource name property."]]