# Cloud Firestore Admin V1 API - Class Google::Cloud::Firestore::Admin::V1::RestoreDatabaseMetadata (v1.13.0)

1.13.0 (latest) 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.18.0 0.17.1 0.16.0 0.15.0 0.14.3 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.5 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/Google-Longrunning-Operation "Google::Longrunning::Operation (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/Google-Protobuf-Timestamp)) --- The time the restore finished, unset for ongoing restores.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/Google-Cloud-Firestore-Admin-V1-OperationState)) --- The operation state of the restore.
**Returns**

- ([::Google::Cloud::Firestore::Admin::V1::OperationState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/Google-Protobuf-Timestamp)) --- The time the restore was started.

### #start_time=

    def start_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/Google-Protobuf-Timestamp)) --- The time the restore was started.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest/Google-Protobuf-Timestamp)) --- The time the restore was started.