Class: Google::Apis::DataprocV1::EnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::EnvironmentConfig
- 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
-
#execution_config ⇒ Google::Apis::DataprocV1::ExecutionConfig
Execution configuration for a workload.
-
#peripherals_config ⇒ Google::Apis::DataprocV1::PeripheralsConfig
Auxiliary services configuration for a workload.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnvironmentConfig
constructor
A new instance of EnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnvironmentConfig
Returns a new instance of EnvironmentConfig.
2129 2130 2131 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#execution_config ⇒ Google::Apis::DataprocV1::ExecutionConfig
Execution configuration for a workload.
Corresponds to the JSON property executionConfig
2122 2123 2124 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2122 def execution_config @execution_config end |
#peripherals_config ⇒ Google::Apis::DataprocV1::PeripheralsConfig
Auxiliary services configuration for a workload.
Corresponds to the JSON property peripheralsConfig
2127 2128 2129 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2127 def peripherals_config @peripherals_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2134 2135 2136 2137 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2134 def update!(**args) @execution_config = args[:execution_config] if args.key?(:execution_config) @peripherals_config = args[:peripherals_config] if args.key?(:peripherals_config) end |