Class: Google::Apis::DataprocV1::PeripheralsConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::PeripheralsConfig
- 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
Auxiliary services configuration for a workload.
Instance Attribute Summary collapse
-
#metastore_service ⇒ String
Optional.
-
#spark_history_server_config ⇒ Google::Apis::DataprocV1::SparkHistoryServerConfig
Spark History Server configuration for the workload.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PeripheralsConfig
constructor
A new instance of PeripheralsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PeripheralsConfig
Returns a new instance of PeripheralsConfig.
5652 5653 5654 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metastore_service ⇒ String
Optional. Resource name of an existing Dataproc Metastore service.Example:
projects/[project_id]/locations/[region]/services/[service_id]
Corresponds to the JSON property metastoreService
5645 5646 5647 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5645 def @metastore_service end |
#spark_history_server_config ⇒ Google::Apis::DataprocV1::SparkHistoryServerConfig
Spark History Server configuration for the workload.
Corresponds to the JSON property sparkHistoryServerConfig
5650 5651 5652 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5650 def spark_history_server_config @spark_history_server_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5657 5658 5659 5660 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5657 def update!(**args) @metastore_service = args[:metastore_service] if args.key?(:metastore_service) @spark_history_server_config = args[:spark_history_server_config] if args.key?(:spark_history_server_config) end |