Google Cloud Dataform V1beta1 Client - Class CompilationResultAction (0.4.6)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ target Target

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

↳ canonical_target 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 CompilationResultAction\Relation

The database relation created/updated by this action.

↳ operations CompilationResultAction\Operations

The database operations executed by this action.

↳ assertion CompilationResultAction\Assertion

The assertion executed by this action.

↳ declaration CompilationResultAction\Declaration

The declaration declared by this action.

getTarget

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

Returns
Type Description
Target|null

hasTarget

clearTarget

setTarget

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

Parameter
Name Description
var Target
Returns
Type Description
$this

getCanonicalTarget

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

Returns
Type Description
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
Name Description
var Target
Returns
Type Description
$this

getFilePath

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

Returns
Type Description
string

setFilePath

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRelation

The database relation created/updated by this action.

Returns
Type Description
CompilationResultAction\Relation|null

hasRelation

setRelation

The database relation created/updated by this action.

Parameter
Name Description
var CompilationResultAction\Relation
Returns
Type Description
$this

getOperations

The database operations executed by this action.

Returns
Type Description
CompilationResultAction\Operations|null

hasOperations

setOperations

The database operations executed by this action.

Parameter
Name Description
var CompilationResultAction\Operations
Returns
Type Description
$this

getAssertion

The assertion executed by this action.

Returns
Type Description
CompilationResultAction\Assertion|null

hasAssertion

setAssertion

The assertion executed by this action.

Parameter
Name Description
var CompilationResultAction\Assertion
Returns
Type Description
$this

getDeclaration

The declaration declared by this action.

Returns
Type Description
CompilationResultAction\Declaration|null

hasDeclaration

setDeclaration

The declaration declared by this action.

Parameter
Name Description
var CompilationResultAction\Declaration
Returns
Type Description
$this

getCompiledObject

Returns
Type Description
string