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

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

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.

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

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

impl<T> WithSubscriber for T[src]