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

pub struct CreateBackupRequest {
    pub parent: String,
    pub backup_id: String,
    pub backup: Option<Backup>,
    pub encryption_config: Option<CreateBackupEncryptionConfig>,
}

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

Fields

parent: String

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>.

backup_id: String

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>.

backup: Option<Backup>

Required. The backup to create.

encryption_config: Option<CreateBackupEncryptionConfig>

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.

Trait Implementations

impl Clone for CreateBackupRequest[src]

impl Debug for CreateBackupRequest[src]

impl Default for CreateBackupRequest[src]

impl Message for CreateBackupRequest[src]

impl PartialEq<CreateBackupRequest> for CreateBackupRequest[src]

impl StructuralPartialEq for CreateBackupRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateBackupRequest

impl Send for CreateBackupRequest

impl Sync for CreateBackupRequest

impl Unpin for CreateBackupRequest

impl UnwindSafe for CreateBackupRequest

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]