Class: Google::Apis::MetastoreV1alpha::BackendMetastore
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::BackendMetastore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Represents a backend metastore for the federation.
Instance Attribute Summary collapse
-
#metastore_type ⇒ String
The type of the backend metastore.
-
#name ⇒ String
The relative resource name of the metastore that is being federated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendMetastore
constructor
A new instance of BackendMetastore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendMetastore
Returns a new instance of BackendMetastore.
261 262 263 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metastore_type ⇒ String
The type of the backend metastore.
Corresponds to the JSON property metastoreType
251 252 253 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 251 def @metastore_type end |
#name ⇒ String
The relative resource name of the metastore that is being federated. The
formats of the relative resource names for the currently supported metastores
are listed below: BigQuery projects/project_id
Dataproc Metastore projects/
project_id
/locations/location
/services/service_id
Corresponds to the JSON property name
259 260 261 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 259 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
266 267 268 269 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 266 def update!(**args) @metastore_type = args[:metastore_type] if args.key?(:metastore_type) @name = args[:name] if args.key?(:name) end |