Class: Google::Apis::MetastoreV1::BackendMetastore

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendMetastore

Returns a new instance of BackendMetastore.



149
150
151
# File 'lib/google/apis/metastore_v1/classes.rb', line 149

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)


139
140
141
# File 'lib/google/apis/metastore_v1/classes.rb', line 139

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)


147
148
149
# File 'lib/google/apis/metastore_v1/classes.rb', line 147

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



154
155
156
157
# File 'lib/google/apis/metastore_v1/classes.rb', line 154

def update!(**args)
  @metastore_type = args[:metastore_type] if args.key?(:metastore_type)
  @name = args[:name] if args.key?(:name)
end