Class RestoreDatabaseRequest
The request for RestoreDatabase.
Implements
Inherited Members
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 |
---|---|
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 |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |