Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources

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

Overview

Batch compute resources associated with the task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources

Returns a new instance of GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources.



5428
5429
5430
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5428

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

Instance Attribute Details

#executors_countFixnum

Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2 Corresponds to the JSON property executorsCount

Returns:

  • (Fixnum)


5419
5420
5421
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5419

def executors_count
  @executors_count
end

#max_executors_countFixnum

Optional. Max configurable executors. If max_executors_count > executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000 Corresponds to the JSON property maxExecutorsCount

Returns:

  • (Fixnum)


5426
5427
5428
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5426

def max_executors_count
  @max_executors_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5433
5434
5435
5436
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5433

def update!(**args)
  @executors_count = args[:executors_count] if args.key?(:executors_count)
  @max_executors_count = args[:max_executors_count] if args.key?(:max_executors_count)
end