Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::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::V1::BackendMetastore}
Returns
-
(::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1::BackendMetastore}) — A map from
BackendMetastore
rank toBackendMetastore
s from which the federation service serves metadata at query time. The map key represents the order in whichBackendMetastore
s should be evaluated to resolve database names at query time and should be greater than or equal to zero. ABackendMetastore
with a lower number will be evaluated before aBackendMetastore
with a higher number.
#backend_metastores=
def backend_metastores=(value) -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1::BackendMetastore}
Parameter
-
value (::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1::BackendMetastore}) — A map from
BackendMetastore
rank toBackendMetastore
s from which the federation service serves metadata at query time. The map key represents the order in whichBackendMetastore
s should be evaluated to resolve database names at query time and should be greater than or equal to zero. ABackendMetastore
with a lower number will be evaluated before aBackendMetastore
with a higher number.
Returns
-
(::Google::Protobuf::Map{::Integer => ::Google::Cloud::Metastore::V1::BackendMetastore}) — A map from
BackendMetastore
rank toBackendMetastore
s from which the federation service serves metadata at query time. The map key represents the order in whichBackendMetastore
s should be evaluated to resolve database names at query time and should be greater than or equal to zero. ABackendMetastore
with a lower number will be evaluated before aBackendMetastore
with a higher number.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the metastore federation was created.
#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::V1::Federation::State
Returns
- (::Google::Cloud::Metastore::V1::Federation::State) — Output only. The current state of the federation.
#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
- (::Google::Protobuf::Timestamp) — Output only. The time when the metastore federation was last updated.
#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.