/// Create a new table by restoring from a completed backup. The new table
/// must be in the same project as the instance containing the backup.  The
/// returned table [long-running operation][google.longrunning.Operation] can
/// be used to track the progress of the operation, and to cancel it.  The
/// [metadata][google.longrunning.Operation.metadata] field type is
/// [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
/// [response][google.longrunning.Operation.response] type is
/// [Table][google.bigtable.admin.v2.Table], if successful.
Create a new table by restoring from a completed backup. The new table
must be in the same project as the instance containing the backup.  The
returned table [long-running operation][google.longrunning.Operation] can
be used to track the progress of the operation, and to cancel it.
Create a new table by restoring from a completed backup . The new table must be in the same project as the instance containing the backup . The returned table [ long - running operation ] [ google . longrunning . Operation ] can be used to track the progress of the operation and to cancel it .
pub async fn restore_table(
            &mut self,
            request: impl tonic::IntoRequest<super::RestoreTableRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn restore_table ( & mut self , request : impl tonic :: IntoRequest < super :: RestoreTableRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: longrunning :: Operation > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Create a new table by restoring from a completed backup.
Create a new table by restoring from a completed backup .
&mut self
request
impl tonic::IntoRequest<super::RestoreTableRequest>