Google Cloud Dataform V1beta1 Client - Class Operations (0.2.3)

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

↳ 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
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

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

getRelationDescriptor

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Dataform\V1beta1\RelationDescriptor
Returns
TypeDescription
$this

getQueries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setQueries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getHasOutput

Whether these operations produce an output relation.

Returns
TypeDescription
bool

setHasOutput

Whether these operations produce an output relation.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this