Class: Google::Cloud::Bigtable::Table::RestoreJob
- Inherits:
-
LongrunningJob
- Object
- LongrunningJob
- Google::Cloud::Bigtable::Table::RestoreJob
- Defined in:
- lib/google/cloud/bigtable/table/restore_job.rb
Overview
RestoreJob
A resource representing the long-running, asynchronous processing of a backup restore operation. The job can be refreshed to retrieve the table object once the operation has been completed.
See Backup#restore.
Instance Method Summary collapse
-
#optimize_table_operation_name ⇒ String?
The optimize table operation name from operation metadata.
-
#table ⇒ Google::Cloud::Bigtable::Table?
Gets the table object from operation results.
Instance Method Details
#optimize_table_operation_name ⇒ String?
The optimize table operation name from operation metadata.
80 81 82 |
# File 'lib/google/cloud/bigtable/table/restore_job.rb', line 80 def optimize_table_operation_name .optimize_table_operation_name end |
#table ⇒ Google::Cloud::Bigtable::Table?
Gets the table object from operation results.
110 111 112 |
# File 'lib/google/cloud/bigtable/table/restore_job.rb', line 110 def table Table.from_grpc results, service, view: :NAME_ONLY if results end |