public sealed class CreateBackupRequest : IMessage<CreateBackupRequest>, IEquatable<CreateBackupRequest>, IDeepCloneable<CreateBackupRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class CreateBackupRequest.
The request for
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
Required. The id of the backup to be created. The backup_id appended to
parent forms the full backup name of the form
projects/<project>/instances/<instance>/backups/<backup_id>.
public CreateBackupEncryptionConfig EncryptionConfig { get; set; }
Optional. The encryption configuration used to encrypt the backup. If this
field is not specified, the backup will use the same encryption
configuration as the database by default, namely
[encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type]
= USE_DATABASE_ENCRYPTION.
Required. The name of the instance in which the backup will be
created. This must be the same instance that contains the database the
backup will be created from. The backup will be stored in the
location(s) specified in the instance configuration of this
instance. Values are of the form
projects/<project>/instances/<instance>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eCreateBackupRequest\u003c/code\u003e class within the Google Cloud Spanner Database Administration v1 API, detailing its purpose in initiating backup creation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eCreateBackupRequest\u003c/code\u003e is 5.0.0-beta05, with a range of previous versions also accessible, spanning from 3.5.0 to 5.0.0-beta04.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateBackupRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<CreateBackupRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CreateBackupRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for deep cloning, equality comparison, and message handling.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create a new \u003ccode\u003eCreateBackupRequest\u003c/code\u003e instance or copy an existing one, with the class also containing properties such as \u003ccode\u003eBackup\u003c/code\u003e, \u003ccode\u003eBackupId\u003c/code\u003e, \u003ccode\u003eEncryptionConfig\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsInstanceName\u003c/code\u003e, that are essential for configuring the backup operation.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Spanner.Admin.Database.V1\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.Spanner.Admin.Database.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]