Struct gapi_grpc::google::cloud::metastore::v1alpha::Restore[][src]

pub struct Restore {
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub state: i32,
    pub backup: String,
    pub type: i32,
    pub details: String,
}

The details of a metadata restore operation.

Fields

start_time: Option<Timestamp>

Output only. The time when the restore started.

end_time: Option<Timestamp>

Output only. The time when the restore ended.

state: i32

Output only. The current state of the restore.

backup: String

Output only. The relative resource name of the metastore service backup to restore from, in the following form:

projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}

type: i32

Output only. The type of restore.

details: String

Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

Implementations

impl Restore[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn type(&self) -> RestoreType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: RestoreType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for Restore[src]

impl Debug for Restore[src]

impl Default for Restore[src]

impl Message for Restore[src]

impl PartialEq<Restore> for Restore[src]

impl StructuralPartialEq for Restore[src]

Auto Trait Implementations

impl RefUnwindSafe for Restore

impl Send for Restore

impl Sync for Restore

impl Unpin for Restore

impl UnwindSafe for Restore

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]