public sealed class CreateBackupRequest : IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class CreateBackupRequest.
[[["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\u003eCreateBackupRequest\u003c/code\u003e class is used to send a request to create a new backup within a specified backup plan in the GKE Backup v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple versions, with the latest being version 2.6.0, and is accessible through various version links provided.\u003c/p\u003e\n"],["\u003cp\u003eIt requires specifying the parent \u003ccode\u003eBackupPlan\u003c/code\u003e and allows optional inputs like a custom \u003ccode\u003eBackupId\u003c/code\u003e and the \u003ccode\u003eBackup\u003c/code\u003e resource to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateBackupRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, offering functionalities like deep cloning, buffer message management, and equality comparison.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for managing backup creation parameters such as \u003ccode\u003eBackup\u003c/code\u003e, \u003ccode\u003eBackupId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and a \u003ccode\u003eParentAsBackupPlanName\u003c/code\u003e for a typed view of the parent resource name.\u003c/p\u003e\n"]]],[],null,["# Backup for GKE v1 API - Class CreateBackupRequest (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.7.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.6.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.5.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.4.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.3.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.2.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.1.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.0.0/Google.Cloud.GkeBackup.V1.CreateBackupRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/1.0.0-beta01/Google.Cloud.GkeBackup.V1.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 Backup for GKE v1 API class CreateBackupRequest.\n\nRequest message for 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.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.CreateBackupRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateBackupRequest](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.CreateBackupRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateBackupRequest](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.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.GkeBackup.V1](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeBackup.V1.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\nOptional. The Backup resource to create.\n\n### BackupId\n\n public string BackupId { get; set; }\n\nOptional. The client-provided short name for the Backup resource.\nThis name must:\n\n- be between 1 and 63 characters long (inclusive)\n- consist of only lower-case ASCII letters, numbers, and dashes\n- start with a lower-case letter\n- end with a lower-case letter or number\n- be unique within the set of Backups in this BackupPlan\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The BackupPlan within which to create the Backup.\nFormat: `projects/*/locations/*/backupPlans/*`\n\n### ParentAsBackupPlanName\n\n public BackupPlanName ParentAsBackupPlanName { get; set; }\n\n[BackupPlanName](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.CreateBackupRequest#Google_Cloud_GkeBackup_V1_CreateBackupRequest_Parent) resource name property."]]