Google Cloud Dataform V1beta1 Client - Class CompilationError (0.4.4)

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

An error encountered when attempting to compile a Dataform project.

Generated from protobuf message google.cloud.dataform.v1beta1.CompilationResult.CompilationError

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ CompilationResult

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message string

Output only. The error's top level message.

↳ stack string

Output only. The error's full stack trace.

↳ path string

Output only. The path of the file where this error occurred, if available, relative to the project root.

↳ action_target Google\Cloud\Dataform\V1beta1\Target

Output only. The identifier of the action where this error occurred, if available.

getMessage

Output only. The error's top level message.

Returns
Type Description
string

setMessage

Output only. The error's top level message.

Parameter
Name Description
var string
Returns
Type Description
$this

getStack

Output only. The error's full stack trace.

Returns
Type Description
string

setStack

Output only. The error's full stack trace.

Parameter
Name Description
var string
Returns
Type Description
$this

getPath

Output only. The path of the file where this error occurred, if available, relative to the project root.

Returns
Type Description
string

setPath

Output only. The path of the file where this error occurred, if available, relative to the project root.

Parameter
Name Description
var string
Returns
Type Description
$this

getActionTarget

Output only. The identifier of the action where this error occurred, if available.

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

hasActionTarget

clearActionTarget

setActionTarget

Output only. The identifier of the action where this error occurred, if available.

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