Class: Google::Apis::DataformV1beta1::CompilationError
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CompilationError
- 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
-
#action_target ⇒ Google::Apis::DataformV1beta1::Target
Represents an action identifier.
-
#message ⇒ String
Output only.
-
#path ⇒ String
Output only.
-
#stack ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompilationError
constructor
A new instance of CompilationError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompilationError
Returns a new instance of CompilationError.
484 485 486 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_target ⇒ Google::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
466 467 468 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 466 def action_target @action_target end |
#message ⇒ String
Output only. The error's top level message.
Corresponds to the JSON property message
471 472 473 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 471 def @message end |
#path ⇒ String
Output only. The path of the file where this error occurred, if available,
relative to the project root.
Corresponds to the JSON property path
477 478 479 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 477 def path @path end |
#stack ⇒ String
Output only. The error's full stack trace.
Corresponds to the JSON property stack
482 483 484 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 482 def stack @stack end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
489 490 491 492 493 494 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 489 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 |