Google Cloud Dataform V1beta1 Client - Class Operations (0.4.5)

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

Represents a list of arbitrary database operations.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ CompilationResultAction

Methods

__construct

Constructor.

Parameters
Name Description
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.

↳ disabled bool

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

↳ tags array

Arbitrary, user-defined tags on this action.

↳ relation_descriptor Google\Cloud\Dataform\V1beta1\RelationDescriptor

Descriptor for any output relation and its columns. Only set if has_output is true.

↳ queries array

A list of arbitrary SQL statements that will be executed without alteration.

↳ has_output bool

Whether these operations produce an output relation.

getDependencyTargets

A list of actions that this action depends on.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDependencyTargets

A list of actions that this action depends on.

Parameter
Name Description
var array<Google\Cloud\Dataform\V1beta1\Target>
Returns
Type Description
$this

getDisabled

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

Returns
Type Description
bool

setDisabled

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getTags

Arbitrary, user-defined tags on this action.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTags

Arbitrary, user-defined tags on this action.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getRelationDescriptor

Descriptor for any output relation and its columns. Only set if has_output is true.

Returns
Type Description
Google\Cloud\Dataform\V1beta1\RelationDescriptor|null

hasRelationDescriptor

clearRelationDescriptor

setRelationDescriptor

Descriptor for any output relation and its columns. Only set if has_output is true.

Parameter
Name Description
var Google\Cloud\Dataform\V1beta1\RelationDescriptor
Returns
Type Description
$this

getQueries

A list of arbitrary SQL statements that will be executed without alteration.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setQueries

A list of arbitrary SQL statements that will be executed without alteration.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getHasOutput

Whether these operations produce an output relation.

Returns
Type Description
bool

setHasOutput

Whether these operations produce an output relation.

Parameter
Name Description
var bool
Returns
Type Description
$this