Class: Google::Apis::MetastoreV1::BackendMetastore
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::BackendMetastore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/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.
113 114 115 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metastore_type ⇒ String
The type of the backend metastore.
Corresponds to the JSON property metastoreType
103 104 105 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 103 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
111 112 113 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 111 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
118 119 120 121 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 118 def update!(**args) @metastore_type = args[:metastore_type] if args.key?(:metastore_type) @name = args[:name] if args.key?(:name) end |