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.



114
115
116
# File 'lib/google/apis/metastore_v1/classes.rb', line 114

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)


103
104
105
# File 'lib/google/apis/metastore_v1/classes.rb', line 103

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: Dataplex projects/project_id/locations/location/lakes/ lake_id BigQuery projects/project_id Dataproc Metastore projects/ project_id/locations/location/services/service_id Corresponds to the JSON property name

Returns:

  • (String)


112
113
114
# File 'lib/google/apis/metastore_v1/classes.rb', line 112

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



119
120
121
122
# File 'lib/google/apis/metastore_v1/classes.rb', line 119

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