# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::WorkflowInvocation (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::WorkflowInvocation.

Represents a single invocation of a compilation result.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #compilation_result

    def compilation_result() -> ::String

**Returns**

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


  Note: The following fields are mutually exclusive: `compilation_result`, `workflow_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #compilation_result=

    def compilation_result=(value) -> ::String

**Parameter**

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


  Note: The following fields are mutually exclusive: `compilation_result`, `workflow_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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


  Note: The following fields are mutually exclusive: `compilation_result`, `workflow_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_encryption_state

    def data_encryption_state() -> ::Google::Cloud::Dataform::V1beta1::DataEncryptionState

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::DataEncryptionState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-DataEncryptionState)) --- Output only. Only set if the repository has a KMS Key.

### #internal_metadata

    def internal_metadata() -> ::String

**Returns**

- (::String) --- 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.

### #invocation_config

    def invocation_config() -> ::Google::Cloud::Dataform::V1beta1::InvocationConfig

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::InvocationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-InvocationConfig)) --- Immutable. If left unset, a default InvocationConfig will be used.

### #invocation_config=

    def invocation_config=(value) -> ::Google::Cloud::Dataform::V1beta1::InvocationConfig

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::InvocationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-InvocationConfig)) --- Immutable. If left unset, a default InvocationConfig will be used.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::InvocationConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-InvocationConfig)) --- Immutable. If left unset, a default InvocationConfig will be used.

### #invocation_timing

    def invocation_timing() -> ::Google::Type::Interval

**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Type-Interval)) --- Output only. This workflow invocation's timing details.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The workflow invocation's name.

### #private_resource_metadata

    def private_resource_metadata() -> ::Google::Cloud::Dataform::V1beta1::PrivateResourceMetadata

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::PrivateResourceMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-PrivateResourceMetadata)) --- 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.

### #resolved_compilation_result

    def resolved_compilation_result() -> ::String

**Returns**

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

### #state

    def state() -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation::State

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::WorkflowInvocation::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-WorkflowInvocation-State)) --- Output only. This workflow invocation's current state.

### #workflow_config

    def workflow_config() -> ::String

**Returns**

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


  Note: The following fields are mutually exclusive: `workflow_config`, `compilation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #workflow_config=

    def workflow_config=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`.


  Note: The following fields are mutually exclusive: `workflow_config`, `compilation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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


  Note: The following fields are mutually exclusive: `workflow_config`, `compilation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.