Class: Google::Apis::DataformV1beta1::CompilationError

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb

Overview

An error encountered when attempting to compile a Dataform project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompilationError

Returns a new instance of CompilationError.



519
520
521
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 519

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#action_targetGoogle::Apis::DataformV1beta1::Target

Represents an action identifier. If the action writes output, the output will be written to the referenced database object. Corresponds to the JSON property actionTarget



501
502
503
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 501

def action_target
  @action_target
end

#messageString

Output only. The error's top level message. Corresponds to the JSON property message

Returns:

  • (String)


506
507
508
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 506

def message
  @message
end

#pathString

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

Returns:

  • (String)


512
513
514
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 512

def path
  @path
end

#stackString

Output only. The error's full stack trace. Corresponds to the JSON property stack

Returns:

  • (String)


517
518
519
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 517

def stack
  @stack
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



524
525
526
527
528
529
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 524

def update!(**args)
  @action_target = args[:action_target] if args.key?(:action_target)
  @message = args[:message] if args.key?(:message)
  @path = args[:path] if args.key?(:path)
  @stack = args[:stack] if args.key?(:stack)
end