Google Cloud Dataform V1beta1 Client - Class CompilationResultAction (0.3.0)

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

Represents a single Dataform action in a compilation result.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ target Google\Cloud\Dataform\V1beta1\Target

This action's identifier. Unique within the compilation result.

↳ canonical_target Google\Cloud\Dataform\V1beta1\Target

The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

↳ file_path string

The full path including filename in which this action is located, relative to the workspace root.

↳ relation Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation

The database relation created/updated by this action.

↳ operations Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations

The database operations executed by this action.

↳ assertion Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion

The assertion executed by this action.

↳ declaration Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration

The declaration declared by this action.

getTarget

This action's identifier. Unique within the compilation result.

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

hasTarget

clearTarget

setTarget

This action's identifier. Unique within the compilation result.

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

getCanonicalTarget

The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

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

hasCanonicalTarget

clearCanonicalTarget

setCanonicalTarget

The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

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

getFilePath

The full path including filename in which this action is located, relative to the workspace root.

Returns
TypeDescription
string

setFilePath

The full path including filename in which this action is located, relative to the workspace root.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRelation

The database relation created/updated by this action.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation|null

hasRelation

setRelation

The database relation created/updated by this action.

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

getOperations

The database operations executed by this action.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations|null

hasOperations

setOperations

The database operations executed by this action.

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

getAssertion

The assertion executed by this action.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion|null

hasAssertion

setAssertion

The assertion executed by this action.

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

getDeclaration

The declaration declared by this action.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration|null

hasDeclaration

setDeclaration

The declaration declared by this action.

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

getCompiledObject

Returns
TypeDescription
string