Struct googapis::google::cloud::sql::v1beta4::BackupRun [−][src]
pub struct BackupRun {Show 16 fields
pub kind: String,
pub status: i32,
pub enqueued_time: Option<Timestamp>,
pub id: i64,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub error: Option<OperationError>,
pub type: i32,
pub description: String,
pub window_start_time: Option<Timestamp>,
pub instance: String,
pub self_link: String,
pub location: String,
pub disk_encryption_configuration: Option<DiskEncryptionConfiguration>,
pub disk_encryption_status: Option<DiskEncryptionStatus>,
pub backup_kind: i32,
}
Expand description
A BackupRun resource.
Fields
kind: String
This is always sql#backupRun.
status: i32
The status of this run.
enqueued_time: Option<Timestamp>
The time the run was enqueued in UTC timezone in RFC> 3339 format, for example 2012-11-15T16:19:00.094Z.
id: i64
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
start_time: Option<Timestamp>
The time the backup operation actually started in UTC timezone in RFC> 3339 format, for example 2012-11-15T16:19:00.094Z.
end_time: Option<Timestamp>
The time the backup operation completed in UTC timezone in RFC> 3339 format, for example 2012-11-15T16:19:00.094Z.
error: Option<OperationError>
Information about why the backup operation failed. This is only present if the run has the FAILED status.
type: i32
The type of this run; can be either “AUTOMATED” or “ON_DEMAND”. This field defaults to “ON_DEMAND” and is ignored, when specified for insert requests.
description: String
The description of this run, only applicable to on-demand backups.
window_start_time: Option<Timestamp>
The start time of the backup window during which this the backup was attempted in RFC> 3339 format, for example 2012-11-15T16:19:00.094Z.
instance: String
Name of the database instance.
self_link: String
The URI of this resource.
location: String
Location of the backups.
disk_encryption_configuration: Option<DiskEncryptionConfiguration>
Encryption configuration specific to a backup. Applies only to Second Generation instances.
disk_encryption_status: Option<DiskEncryptionStatus>
Encryption status specific to a backup. Applies only to Second Generation instances.
backup_kind: i32
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
Implementations
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
Sets status
to the provided enum value.
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
Sets type
to the provided enum value.
Returns the enum value of backup_kind
, or the default if the field is set to an invalid enum value.
Sets backup_kind
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for BackupRun
impl UnwindSafe for BackupRun
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more