Show / Hide Table of Contents

Class RestoreDatabaseRequest

The request for RestoreDatabase.

Inheritance
System.Object
RestoreDatabaseRequest
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class RestoreDatabaseRequest : IDirectResponseSchema

Properties

Backup

Name of the backup from which to restore. Values are of the form projects//instances//backups/.

Declaration
[JsonProperty("backup")]
public virtual string Backup { get; set; }
Property Value
Type Description
System.String

DatabaseId

Required. The id of the database to create and restore to. This database must not already exist. The database_id appended to parent forms the full database name of the form projects//instances//databases/.

Declaration
[JsonProperty("databaseId")]
public virtual string DatabaseId { get; set; }
Property Value
Type Description
System.String

EncryptionConfig

Optional. An encryption configuration describing the encryption type and key resources in Cloud KMS used to encrypt/decrypt the database to restore to. If this field is not specified, the restored database will use the same encryption configuration as the backup by default, namely encryption_type = USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION.

Declaration
[JsonProperty("encryptionConfig")]
public virtual RestoreDatabaseEncryptionConfig EncryptionConfig { get; set; }
Property Value
Type Description
RestoreDatabaseEncryptionConfig

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top