Google Cloud Dataform V1beta1 Client - Class CompilationError (0.3.0)

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
NameDescription
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
TypeDescription
string

setMessage

Output only. The error's top level message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStack

Output only. The error's full stack trace.

Returns
TypeDescription
string

setStack

Output only. The error's full stack trace.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPath

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

Returns
TypeDescription
string

setPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getActionTarget

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

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

hasActionTarget

clearActionTarget

setActionTarget

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

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