Class: Google::Apis::MetastoreV1alpha::BackendMetastore

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_typeString

The type of the backend metastore. Corresponds to the JSON property metastoreType

Returns:

  • (String)


251
252
253
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 251

def metastore_type
  @metastore_type
end

#nameString

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

Returns:

  • (String)


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