public MapField<int, BackendMetastore> BackendMetastores { get; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFederation\u003c/code\u003e class in the Google.Cloud.Metastore.V1Beta API represents a federation of multiple backend metastores for serving metadata.\u003c/p\u003e\n"],["\u003cp\u003eFederations are managed through properties like \u003ccode\u003eBackendMetastores\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eEndpointUri\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, as well as immutable identifiers such as \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe order of evaluation for resolving database names at query time is determined by the rank assigned in the \u003ccode\u003eBackendMetastores\u003c/code\u003e map, where lower numbers are evaluated first.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFederation\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionality for message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThere are several different versions of the \u003ccode\u003eFederation\u003c/code\u003e object available, with \u003ccode\u003e2.0.0-beta11\u003c/code\u003e being the most current version available.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class Federation (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Federation)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.Federation)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.Federation) \n\n public sealed class Federation : IMessage\u003cFederation\u003e, IEquatable\u003cFederation\u003e, IDeepCloneable\u003cFederation\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class Federation.\n\nRepresents a federation of multiple backend metastores. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Federation \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Federation](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Federation), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Federation](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Federation), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Federation](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Federation), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.dll\n\nConstructors\n------------\n\n### Federation()\n\n public Federation()\n\n### Federation(Federation)\n\n public Federation(Federation other)\n\nProperties\n----------\n\n### BackendMetastores\n\n public MapField\u003cint, BackendMetastore\u003e BackendMetastores { get; }\n\nA map from `BackendMetastore` rank to `BackendMetastore`s from which the\nfederation service serves metadata at query time. The map key represents\nthe order in which `BackendMetastore`s should be evaluated to resolve\ndatabase names at query time and should be greater than or equal to zero. A\n`BackendMetastore` with a lower number will be evaluated before a\n`BackendMetastore` with a higher number.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time when the metastore federation was created.\n\n### EndpointUri\n\n public string EndpointUri { get; set; }\n\nOutput only. The federation endpoint.\n\n### FederationName\n\n public FederationName FederationName { get; set; }\n\n[FederationName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.FederationName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Federation#Google_Cloud_Metastore_V1Beta_Federation_Name) resource name property.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nUser-defined labels for the metastore federation.\n\n### Name\n\n public string Name { get; set; }\n\nImmutable. The relative resource name of the federation, of the\nform:\nprojects/{project_number}/locations/{location_id}/federations/{federation_id}\\`.\n\n### State\n\n public Federation.Types.State State { get; set; }\n\nOutput only. The current state of the federation.\n\n### StateMessage\n\n public string StateMessage { get; set; }\n\nOutput only. Additional information about the current state of the\nmetastore federation, if available.\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. The globally unique resource identifier of the metastore\nfederation.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time when the metastore federation was last updated.\n\n### Version\n\n public string Version { get; set; }\n\nImmutable. The Apache Hive metastore version of the federation. All backend\nmetastore versions must be compatible with the federation version."]]