Class: Google::Apis::DataprocV1beta2::MetastoreConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::MetastoreConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/representations.rb
Overview
Specifies a Metastore configuration.
Instance Attribute Summary collapse
-
#dataproc_metastore_service ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MetastoreConfig
constructor
A new instance of MetastoreConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MetastoreConfig
Returns a new instance of MetastoreConfig.
2232 2233 2234 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataproc_metastore_service ⇒ String
Required. Resource name of an existing Dataproc Metastore service.Example:
projects/[project_id]/locations/[dataproc_region]/services/[service-name]
Corresponds to the JSON property dataprocMetastoreService
2230 2231 2232 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2230 def @dataproc_metastore_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2237 2238 2239 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2237 def update!(**args) @dataproc_metastore_service = args[:dataproc_metastore_service] if args.key?(:dataproc_metastore_service) end |