Class: Google::Apis::DataformV1beta1::Operations

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

Represents a list of arbitrary database operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Operations

Returns a new instance of Operations.



1374
1375
1376
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1374

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

Instance Attribute Details

#dependency_targetsArray<Google::Apis::DataformV1beta1::Target>

A list of actions that this action depends on. Corresponds to the JSON property dependencyTargets



1345
1346
1347
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1345

def dependency_targets
  @dependency_targets
end

#disabledBoolean Also known as: disabled?

Whether this action is disabled (i.e. should not be run). Corresponds to the JSON property disabled

Returns:

  • (Boolean)


1350
1351
1352
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1350

def disabled
  @disabled
end

#has_outputBoolean Also known as: has_output?

Whether these operations produce an output relation. Corresponds to the JSON property hasOutput

Returns:

  • (Boolean)


1356
1357
1358
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1356

def has_output
  @has_output
end

#queriesArray<String>

A list of arbitrary SQL statements that will be executed without alteration. Corresponds to the JSON property queries

Returns:

  • (Array<String>)


1362
1363
1364
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1362

def queries
  @queries
end

#relation_descriptorGoogle::Apis::DataformV1beta1::RelationDescriptor

Describes a relation and its columns. Corresponds to the JSON property relationDescriptor



1367
1368
1369
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1367

def relation_descriptor
  @relation_descriptor
end

#tagsArray<String>

Arbitrary, user-defined tags on this action. Corresponds to the JSON property tags

Returns:

  • (Array<String>)


1372
1373
1374
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1372

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1379
1380
1381
1382
1383
1384
1385
1386
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1379

def update!(**args)
  @dependency_targets = args[:dependency_targets] if args.key?(:dependency_targets)
  @disabled = args[:disabled] if args.key?(:disabled)
  @has_output = args[:has_output] if args.key?(:has_output)
  @queries = args[:queries] if args.key?(:queries)
  @relation_descriptor = args[:relation_descriptor] if args.key?(:relation_descriptor)
  @tags = args[:tags] if args.key?(:tags)
end