public sealed class CreateBackupRequest : IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha API class CreateBackupRequest.
Request message for
[DataprocMetastore.CreateBackup][google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup].
Required. The ID of the backup, which is used as the final component of the
backup's name.
This value must be between 1 and 64 characters long, 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\u003eThis document provides reference documentation for the \u003ccode\u003eCreateBackupRequest\u003c/code\u003e class within the Dataproc Metastore v1alpha API, specifically for version 2.0.0-alpha11.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateBackupRequest\u003c/code\u003e class is used to send a request to create a backup and is part of the \u003ccode\u003eGoogle.Cloud.Metastore.V1Alpha\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Metastore.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCreateBackupRequest\u003c/code\u003e include \u003ccode\u003eBackup\u003c/code\u003e (the backup details), \u003ccode\u003eBackupId\u003c/code\u003e (the ID for the backup), and \u003ccode\u003eParent\u003c/code\u003e (the service's resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from an \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available: one default and one that accepts another \u003ccode\u003eCreateBackupRequest\u003c/code\u003e instance as a parameter for creating a new instance based on an existing one.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class CreateBackupRequest (2.0.0-alpha11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest) \n\n public sealed class CreateBackupRequest : IMessage\u003cCreateBackupRequest\u003e, IEquatable\u003cCreateBackupRequest\u003e, IDeepCloneable\u003cCreateBackupRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1alpha API class CreateBackupRequest.\n\nRequest message for\n\\[DataprocMetastore.CreateBackup\\]\\[google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateBackupRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateBackupRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateBackupRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateBackupRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest), [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.V1Alpha](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Alpha.dll\n\nConstructors\n------------\n\n### CreateBackupRequest()\n\n public CreateBackupRequest()\n\n### CreateBackupRequest(CreateBackupRequest)\n\n public CreateBackupRequest(CreateBackupRequest other)\n\nProperties\n----------\n\n### Backup\n\n public Backup Backup { get; set; }\n\nRequired. The backup to create. The `name` field is ignored. The ID of the\ncreated backup must be provided in the request's `backup_id` field.\n\n### BackupId\n\n public string BackupId { get; set; }\n\nRequired. The ID of the backup, which is used as the final component of the\nbackup's name.\n\nThis value must be between 1 and 64 characters long, begin with a letter,\nend with a letter or number, and consist of alpha-numeric ASCII characters\nor hyphens.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The relative resource name of the service in which to create a\nbackup of the following form:\n\n`projects/{project_number}/locations/{location_id}/services/{service_id}`.\n\n### ParentAsServiceName\n\n public ServiceName ParentAsServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ServiceName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.CreateBackupRequest#Google_Cloud_Metastore_V1Alpha_CreateBackupRequest_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."]]