public sealed class CreateFederationRequest : IMessage<CreateFederationRequest>, IEquatable<CreateFederationRequest>, IDeepCloneable<CreateFederationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1beta API class CreateFederationRequest.
Required. The Metastore Federation to create. The name field is
ignored. The ID of the created metastore federation must be
provided in the request's federation_id field.
Required. The ID of the metastore federation, which is used as the final
component of the metastore federation's name.
This value must be between 2 and 63 characters long inclusive, begin with a
letter, end with a letter or number, and consist of alpha-numeric
ASCII characters or hyphens.
Optional. A request ID. Specify a unique request ID to allow the server to
ignore the request if it has completed. The server will ignore subsequent
requests that provide a duplicate request ID for at least 60 minutes after
the first request.
For example, if an initial request times out, followed by another request
with the same request ID, the server ignores the second request to prevent
the creation of duplicate commitments.
The request ID must be a valid
UUID
A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
[[["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\u003eCreateFederationRequest\u003c/code\u003e class is used to send a request to create a Dataproc Metastore Federation within the v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, for message handling and object manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires specifying the \u003ccode\u003eFederation\u003c/code\u003e object to create, along with its \u003ccode\u003eFederationId\u003c/code\u003e, and the \u003ccode\u003eParent\u003c/code\u003e resource location.\u003c/p\u003e\n"],["\u003cp\u003eThere are also optional fields such as \u003ccode\u003eRequestId\u003c/code\u003e to specify a unique identifier for request tracking and handling.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCreateFederationRequest\u003c/code\u003e is \u003ccode\u003e2.0.0-beta11\u003c/code\u003e, although previous versions, such as \u003ccode\u003e2.0.0-beta10\u003c/code\u003e and \u003ccode\u003e1.0.0-beta02\u003c/code\u003e, are also available.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class CreateFederationRequest (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.CreateFederationRequest)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.CreateFederationRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.CreateFederationRequest) \n\n public sealed class CreateFederationRequest : IMessage\u003cCreateFederationRequest\u003e, IEquatable\u003cCreateFederationRequest\u003e, IDeepCloneable\u003cCreateFederationRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class CreateFederationRequest.\n\nRequest message for CreateFederation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateFederationRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateFederationRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateFederationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateFederationRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateFederationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateFederationRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateFederationRequest), [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### CreateFederationRequest()\n\n public CreateFederationRequest()\n\n### CreateFederationRequest(CreateFederationRequest)\n\n public CreateFederationRequest(CreateFederationRequest other)\n\nProperties\n----------\n\n### Federation\n\n public Federation Federation { get; set; }\n\nRequired. The Metastore Federation to create. The `name` field is\nignored. The ID of the created metastore federation must be\nprovided in the request's `federation_id` field.\n\n### FederationId\n\n public string FederationId { get; set; }\n\nRequired. The ID of the metastore federation, which is used as the final\ncomponent of the metastore federation's name.\n\nThis value must be between 2 and 63 characters long inclusive, begin with a\nletter, end with a letter or number, and consist of alpha-numeric\nASCII characters or hyphens.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The relative resource name of the location in which to create a\nfederation service, in the following form:\n\n`projects/{project_number}/locations/{location_id}`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateFederationRequest#Google_Cloud_Metastore_V1Beta_CreateFederationRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. A request ID. Specify a unique request ID to allow the server to\nignore the request if it has completed. The server will ignore subsequent\nrequests that provide a duplicate request ID for at least 60 minutes after\nthe first request.\n\nFor example, if an initial request times out, followed by another request\nwith the same request ID, the server ignores the second request to prevent\nthe creation of duplicate commitments.\n\nThe request ID must be a valid\n[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)\nA zero UUID (00000000-0000-0000-0000-000000000000) is not supported."]]