Class: Google::Apis::DataprocV1::EnvironmentConfig

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

Overview

Environment configuration for a workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnvironmentConfig

Returns a new instance of EnvironmentConfig.



1351
1352
1353
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1351

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

Instance Attribute Details

#execution_configGoogle::Apis::DataprocV1::ExecutionConfig

Execution configuration for a workload. Corresponds to the JSON property executionConfig



1344
1345
1346
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1344

def execution_config
  @execution_config
end

#peripherals_configGoogle::Apis::DataprocV1::PeripheralsConfig

Auxiliary services configuration for a workload. Corresponds to the JSON property peripheralsConfig



1349
1350
1351
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1349

def peripherals_config
  @peripherals_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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