Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources
- 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
-
#executors_count ⇒ Fixnum
Optional.
-
#max_executors_count ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources
constructor
A new instance of GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources
Returns a new instance of GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources.
2741 2742 2743 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#executors_count ⇒ Fixnum
Optional. Total number of job executors.
Corresponds to the JSON property executorsCount
2733 2734 2735 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2733 def executors_count @executors_count end |
#max_executors_count ⇒ Fixnum
Optional. Max configurable executors. If max_executors_count > executors_count,
then auto-scaling is enabled.
Corresponds to the JSON property maxExecutorsCount
2739 2740 2741 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2739 def max_executors_count @max_executors_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2746 2747 2748 2749 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2746 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 |