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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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