Class: Google::Apis::DataformV1beta1::CompilationResultAction
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CompilationResultAction
- 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
Represents a single Dataform action in a compilation result.
Instance Attribute Summary collapse
-
#assertion ⇒ Google::Apis::DataformV1beta1::Assertion
Represents an assertion upon a SQL query which is required return zero rows.
-
#canonical_target ⇒ Google::Apis::DataformV1beta1::Target
Represents an action identifier.
-
#declaration ⇒ Google::Apis::DataformV1beta1::Declaration
Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.
-
#file_path ⇒ String
The full path including filename in which this action is located, relative to the workspace root.
-
#operations ⇒ Google::Apis::DataformV1beta1::Operations
Represents a list of arbitrary database operations.
-
#relation ⇒ Google::Apis::DataformV1beta1::Relation
Represents a database relation.
-
#target ⇒ Google::Apis::DataformV1beta1::Target
Represents an action identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompilationResultAction
constructor
A new instance of CompilationResultAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompilationResultAction
Returns a new instance of CompilationResultAction.
413 414 415 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assertion ⇒ Google::Apis::DataformV1beta1::Assertion
Represents an assertion upon a SQL query which is required return zero rows.
Corresponds to the JSON property assertion
377 378 379 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 377 def assertion @assertion end |
#canonical_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 canonicalTarget
383 384 385 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 383 def canonical_target @canonical_target end |
#declaration ⇒ Google::Apis::DataformV1beta1::Declaration
Represents a relation which is not managed by Dataform but which may be
referenced by Dataform actions.
Corresponds to the JSON property declaration
389 390 391 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 389 def declaration @declaration end |
#file_path ⇒ String
The full path including filename in which this action is located, relative to
the workspace root.
Corresponds to the JSON property filePath
395 396 397 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 395 def file_path @file_path end |
#operations ⇒ Google::Apis::DataformV1beta1::Operations
Represents a list of arbitrary database operations.
Corresponds to the JSON property operations
400 401 402 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 400 def operations @operations end |
#relation ⇒ Google::Apis::DataformV1beta1::Relation
Represents a database relation.
Corresponds to the JSON property relation
405 406 407 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 405 def relation @relation end |
#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 target
411 412 413 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 411 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
418 419 420 421 422 423 424 425 426 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 418 def update!(**args) @assertion = args[:assertion] if args.key?(:assertion) @canonical_target = args[:canonical_target] if args.key?(:canonical_target) @declaration = args[:declaration] if args.key?(:declaration) @file_path = args[:file_path] if args.key?(:file_path) @operations = args[:operations] if args.key?(:operations) @relation = args[:relation] if args.key?(:relation) @target = args[:target] if args.key?(:target) end |