Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::RestoreDatabaseMetadata.
Metadata for the long-running operation from the [RestoreDatabase][google.firestore.admin.v1.RestoreDatabase] request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup
def backup() -> ::String
Returns
- (::String) — The name of the backup restoring from.
#backup=
def backup=(value) -> ::String
Parameter
- value (::String) — The name of the backup restoring from.
Returns
- (::String) — The name of the backup restoring from.
#database
def database() -> ::String
Returns
- (::String) — The name of the database being restored to.
#database=
def database=(value) -> ::String
Parameter
- value (::String) — The name of the database being restored to.
Returns
- (::String) — The name of the database being restored to.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the restore finished, unset for ongoing restores.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the restore finished, unset for ongoing restores.
Returns
- (::Google::Protobuf::Timestamp) — The time the restore finished, unset for ongoing restores.
#operation_state
def operation_state() -> ::Google::Cloud::Firestore::Admin::V1::OperationState
Returns
- (::Google::Cloud::Firestore::Admin::V1::OperationState) — The operation state of the restore.
#operation_state=
def operation_state=(value) -> ::Google::Cloud::Firestore::Admin::V1::OperationState
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::OperationState) — The operation state of the restore.
Returns
- (::Google::Cloud::Firestore::Admin::V1::OperationState) — The operation state of the restore.
#progress_percentage
def progress_percentage() -> ::Google::Cloud::Firestore::Admin::V1::Progress
Returns
- (::Google::Cloud::Firestore::Admin::V1::Progress) — How far along the restore is as an estimated percentage of remaining time.
#progress_percentage=
def progress_percentage=(value) -> ::Google::Cloud::Firestore::Admin::V1::Progress
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Progress) — How far along the restore is as an estimated percentage of remaining time.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Progress) — How far along the restore is as an estimated percentage of remaining time.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the restore was started.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the restore was started.
Returns
- (::Google::Protobuf::Timestamp) — The time the restore was started.