# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::CompilationResultAction (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::CompilationResultAction.

Represents a single Dataform action in a compilation result.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #assertion

    def assertion() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Assertion)) --- The assertion executed by this action.


  Note: The following fields are mutually exclusive: `assertion`, `relation`, `operations`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #assertion=

    def assertion=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Assertion)) --- The assertion executed by this action.


  Note: The following fields are mutually exclusive: `assertion`, `relation`, `operations`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Assertion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Assertion)) --- The assertion executed by this action.


  Note: The following fields are mutually exclusive: `assertion`, `relation`, `operations`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #canonical_target

    def canonical_target() -> ::Google::Cloud::Dataform::V1beta1::Target

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

### #canonical_target=

    def canonical_target=(value) -> ::Google::Cloud::Dataform::V1beta1::Target

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

### #data_preparation

    def data_preparation() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-DataPreparation)) --- The data preparation executed by this action.


  Note: The following fields are mutually exclusive: `data_preparation`, `relation`, `operations`, `assertion`, `declaration`, `notebook`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_preparation=

    def data_preparation=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-DataPreparation)) --- The data preparation executed by this action.


  Note: The following fields are mutually exclusive: `data_preparation`, `relation`, `operations`, `assertion`, `declaration`, `notebook`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::DataPreparation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-DataPreparation)) --- The data preparation executed by this action.


  Note: The following fields are mutually exclusive: `data_preparation`, `relation`, `operations`, `assertion`, `declaration`, `notebook`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #declaration

    def declaration() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Declaration)) --- The declaration declared by this action.


  Note: The following fields are mutually exclusive: `declaration`, `relation`, `operations`, `assertion`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #declaration=

    def declaration=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Declaration)) --- The declaration declared by this action.


  Note: The following fields are mutually exclusive: `declaration`, `relation`, `operations`, `assertion`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Declaration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Declaration)) --- The declaration declared by this action.


  Note: The following fields are mutually exclusive: `declaration`, `relation`, `operations`, `assertion`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #file_path

    def file_path() -> ::String

**Returns**

- (::String) --- The full path including filename in which this action is located, relative to the workspace root.

### #file_path=

    def file_path=(value) -> ::String

**Parameter**

- **value** (::String) --- The full path including filename in which this action is located, relative to the workspace root.
**Returns**

- (::String) --- The full path including filename in which this action is located, relative to the workspace root.

### #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.

### #notebook

    def notebook() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Notebook)) --- The notebook executed by this action.


  Note: The following fields are mutually exclusive: `notebook`, `relation`, `operations`, `assertion`, `declaration`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #notebook=

    def notebook=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Notebook)) --- The notebook executed by this action.


  Note: The following fields are mutually exclusive: `notebook`, `relation`, `operations`, `assertion`, `declaration`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Notebook](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Notebook)) --- The notebook executed by this action.


  Note: The following fields are mutually exclusive: `notebook`, `relation`, `operations`, `assertion`, `declaration`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #operations

    def operations() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Operations)) --- The database operations executed by this action.


  Note: The following fields are mutually exclusive: `operations`, `relation`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #operations=

    def operations=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Operations)) --- The database operations executed by this action.


  Note: The following fields are mutually exclusive: `operations`, `relation`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Operations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Operations)) --- The database operations executed by this action.


  Note: The following fields are mutually exclusive: `operations`, `relation`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #relation

    def relation() -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Relation)) --- The database relation created/updated by this action.


  Note: The following fields are mutually exclusive: `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #relation=

    def relation=(value) -> ::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Relation)) --- The database relation created/updated by this action.


  Note: The following fields are mutually exclusive: `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::CompilationResultAction::Relation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-CompilationResultAction-Relation)) --- The database relation created/updated by this action.


  Note: The following fields are mutually exclusive: `relation`, `operations`, `assertion`, `declaration`, `notebook`, `data_preparation`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #target

    def target() -> ::Google::Cloud::Dataform::V1beta1::Target

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- This action's identifier. Unique within the compilation result.

### #target=

    def target=(value) -> ::Google::Cloud::Dataform::V1beta1::Target

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- This action's identifier. Unique within the compilation result.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- This action's identifier. Unique within the compilation result.