Disaster Recovery(DR) replication status of the reservation.
Fields
error
Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
last_error_time
Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.
last_replication_time
Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.
Implementations
new
fn new() -> Self
set_error
fn set_error<T>(self, v: T) -> Self
where
T: std::convert::Into<rpc::model::Status>,
Sets the value of [error][crate::model::reservation::ReplicationStatus::error].
set_or_clear_error
fn set_or_clear_error<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<rpc::model::Status>,
Sets or clears the value of [error][crate::model::reservation::ReplicationStatus::error].
set_last_error_time
fn set_last_error_time<T>(self, v: T) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets the value of [last_error_time][crate::model::reservation::ReplicationStatus::last_error_time].
set_or_clear_last_error_time
fn set_or_clear_last_error_time<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets or clears the value of [last_error_time][crate::model::reservation::ReplicationStatus::last_error_time].
set_last_replication_time
fn set_last_replication_time<T>(self, v: T) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets the value of [last_replication_time][crate::model::reservation::ReplicationStatus::last_replication_time].
set_or_clear_last_replication_time
fn set_or_clear_last_replication_time<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<wkt::Timestamp>,
Sets or clears the value of [last_replication_time][crate::model::reservation::ReplicationStatus::last_replication_time].