Dataproc Metastore V1beta API - Class Google::Cloud::Metastore::V1beta::Federation (v0.11.0)

Reference documentation and code samples for the Dataproc Metastore V1beta API class Google::Cloud::Metastore::V1beta::Federation.

Represents a federation of multiple backend metastores.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backend_metastores

def backend_metastores() -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1beta::BackendMetastore}
Returns
  • (::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1beta::BackendMetastore}) — A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

#backend_metastores=

def backend_metastores=(value) -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1beta::BackendMetastore}
Parameter
  • value (::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1beta::BackendMetastore}) — A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.
Returns
  • (::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1beta::BackendMetastore}) — A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#endpoint_uri

def endpoint_uri() -> ::String
Returns
  • (::String) — Output only. The federation endpoint.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — User-defined labels for the metastore federation.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — User-defined labels for the metastore federation.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — User-defined labels for the metastore federation.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
Returns
  • (::String) — Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.

#state

def state() -> ::Google::Cloud::Metastore::V1beta::Federation::State
Returns

#state_message

def state_message() -> ::String
Returns
  • (::String) — Output only. Additional information about the current state of the metastore federation, if available.

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. The globally unique resource identifier of the metastore federation.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#version

def version() -> ::String
Returns
  • (::String) — Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
Returns
  • (::String) — Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.