Struct gapi_grpc::google::spanner::admin::database::v1::RestoreDatabaseRequest[][src]

pub struct RestoreDatabaseRequest {
    pub parent: String,
    pub database_id: String,
    pub encryption_config: Option<RestoreDatabaseEncryptionConfig>,
    pub source: Option<Source>,
}

The request for [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].

Fields

parent: String

Required. The name of the instance in which to create the restored database. This instance must be in the same project and have the same instance configuration as the instance containing the source backup. Values are of the form projects/<project>/instances/<instance>.

database_id: String

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/<project>/instances/<instance>/databases/<database_id>.

encryption_config: Option<RestoreDatabaseEncryptionConfig>

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][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.encryption_type] = USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION.

source: Option<Source>

Required. The source from which to restore.

Trait Implementations

impl Clone for RestoreDatabaseRequest[src]

impl Debug for RestoreDatabaseRequest[src]

impl Default for RestoreDatabaseRequest[src]

impl Message for RestoreDatabaseRequest[src]

impl PartialEq<RestoreDatabaseRequest> for RestoreDatabaseRequest[src]

impl StructuralPartialEq for RestoreDatabaseRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RestoreDatabaseRequest

impl Send for RestoreDatabaseRequest

impl Sync for RestoreDatabaseRequest

impl Unpin for RestoreDatabaseRequest

impl UnwindSafe for RestoreDatabaseRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]