Google Cloud Dataform V1beta1 Client - Class Assertion (0.4.0)

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class Assertion.

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

Generated from protobuf message google.cloud.dataform.v1beta1.CompilationResultAction.Assertion

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ CompilationResultAction

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ dependency_targets array<Google\Cloud\Dataform\V1beta1\Target>

A list of actions that this action depends on.

↳ parent_action Google\Cloud\Dataform\V1beta1\Target

The parent action of this assertion. Only set if this assertion was automatically generated.

↳ disabled bool

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

↳ tags array

Arbitrary, user-defined tags on this action.

↳ select_query string

The SELECT query which must return zero rows in order for this assertion to succeed.

↳ relation_descriptor Google\Cloud\Dataform\V1beta1\RelationDescriptor

Descriptor for the assertion's automatically-generated view and its columns.

getDependencyTargets

A list of actions that this action depends on.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDependencyTargets

A list of actions that this action depends on.

Parameter
NameDescription
var array<Google\Cloud\Dataform\V1beta1\Target>
Returns
TypeDescription
$this

getParentAction

The parent action of this assertion. Only set if this assertion was automatically generated.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\Target|null

hasParentAction

clearParentAction

setParentAction

The parent action of this assertion. Only set if this assertion was automatically generated.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\Target
Returns
TypeDescription
$this

getDisabled

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

Returns
TypeDescription
bool

setDisabled

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getTags

Arbitrary, user-defined tags on this action.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTags

Arbitrary, user-defined tags on this action.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSelectQuery

The SELECT query which must return zero rows in order for this assertion to succeed.

Returns
TypeDescription
string

setSelectQuery

The SELECT query which must return zero rows in order for this assertion to succeed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRelationDescriptor

Descriptor for the assertion's automatically-generated view and its columns.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\RelationDescriptor|null

hasRelationDescriptor

clearRelationDescriptor

setRelationDescriptor

Descriptor for the assertion's automatically-generated view and its columns.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\RelationDescriptor
Returns
TypeDescription
$this