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

Represents an assertion upon a SQL query which is required return zero
rows.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dependency_targets

    def dependency_targets() -> ::Array<::Google::Cloud::Dataform::V1beta1::Target>

**Returns**

- (::Array\<[::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)\>) --- A list of actions that this action depends on.

### #dependency_targets=

    def dependency_targets=(value) -> ::Array<::Google::Cloud::Dataform::V1beta1::Target>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)\>) --- A list of actions that this action depends on.
**Returns**

- (::Array\<[::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)\>) --- A list of actions that this action depends on.

### #disabled

    def disabled() -> ::Boolean

**Returns**

- (::Boolean) --- Whether this action is disabled (i.e. should not be run).

### #disabled=

    def disabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether this action is disabled (i.e. should not be run).
**Returns**

- (::Boolean) --- Whether this action is disabled (i.e. should not be run).

### #parent_action

    def parent_action() -> ::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 parent action of this assertion. Only set if this assertion was automatically generated.

### #parent_action=

    def parent_action=(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 parent action of this assertion. Only set if this assertion was automatically generated.
**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 parent action of this assertion. Only set if this assertion was automatically generated.

### #relation_descriptor

    def relation_descriptor() -> ::Google::Cloud::Dataform::V1beta1::RelationDescriptor

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::RelationDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-RelationDescriptor)) --- Descriptor for the assertion's automatically-generated view and its columns.

### #relation_descriptor=

    def relation_descriptor=(value) -> ::Google::Cloud::Dataform::V1beta1::RelationDescriptor

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1beta1::RelationDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-RelationDescriptor)) --- Descriptor for the assertion's automatically-generated view and its columns.
**Returns**

- ([::Google::Cloud::Dataform::V1beta1::RelationDescriptor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-RelationDescriptor)) --- Descriptor for the assertion's automatically-generated view and its columns.

### #select_query

    def select_query() -> ::String

**Returns**

- (::String) --- The SELECT query which must return zero rows in order for this assertion to succeed.

### #select_query=

    def select_query=(value) -> ::String

**Parameter**

- **value** (::String) --- The SELECT query which must return zero rows in order for this assertion to succeed.
**Returns**

- (::String) --- The SELECT query which must return zero rows in order for this assertion to succeed.

### #tags

    def tags() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Arbitrary, user-defined tags on this action.

### #tags=

    def tags=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Arbitrary, user-defined tags on this action.
**Returns**

- (::Array\<::String\>) --- Arbitrary, user-defined tags on this action.