Class DatabaseMoveConfig
The configuration for each database in the target instance configuration.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class DatabaseMoveConfig : IDirectResponseSchema
Properties
DatabaseId
Required. The unique identifier of the database resource in the Instance. For example if the database uri is projects/foo/instances/bar/databases/baz, the id to supply here is baz.
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. Encryption configuration to be used for the database in target configuration. Should be specified for every database which currently uses CMEK encryption. If a database currently uses GOOGLE_MANAGED encryption and a target encryption config is not specified, it defaults to GOOGLE_MANAGED. If a database currently uses Google-managed encryption and a target encryption config is specified, the request is rejected. If a database currently uses CMEK encryption, a target encryption config must be specified. You cannot move a CMEK database to a Google-managed encryption database by MoveInstance.
Declaration
[JsonProperty("encryptionConfig")]
public virtual InstanceEncryptionConfig EncryptionConfig { get; set; }
Property Value
Type | Description |
---|---|
InstanceEncryptionConfig |