Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
google::cloud::bigtable::TableAdmin::RestoreTableParams Struct Reference

Parameters for RestoreTable. More...

#include <google/cloud/bigtable/table_admin.h>

Public Member Functions

 RestoreTableParams ()=default
 
 RestoreTableParams (std::string table_id, std::string cluster_id, std::string backup_id)
 
google::bigtable::admin::v2::RestoreTableRequest AsProto (std::string const &instance_name) const
 

Public Attributes

std::string table_id
 
std::string cluster_id
 
std::string backup_id
 

Detailed Description

Parameters for RestoreTable.

Parameters
table_idthe name of the table relative to the instance managed by this object. The full table name is projects/<PROJECT_ID>/instances/<INSTANCE_ID>/tables/<table_id> where PROJECT_ID is obtained from the associated AdminClient and INSTANCE_ID is the instance_id() of this object.
cluster_idthe name of the cluster relative to the instance managed by the TableAdmin object. The full cluster name is projects/<PROJECT_ID>/instances/<INSTANCE_ID>/clusters/<cluster_id> where PROJECT_ID is obtained from the associated AdminClient and INSTANCE_ID is the instance_id() of the TableAdmin object.
backup_idthe name of the backup relative to the cluster specified. The full backup name is projects/<PROJECT_ID>/instances/<INSTANCE_ID>/clusters/<CLUSTER_ID>/backups/<backup_id> where PROJECT_ID is obtained from the associated AdminClient, INSTANCE_ID is the instance_id() of the TableAdmin object, and CLUSTER_ID is the cluster_id previously specified.

Constructor & Destructor Documentation

◆ RestoreTableParams() [1/2]

google::cloud::bigtable::TableAdmin::RestoreTableParams::RestoreTableParams ( )
default

◆ RestoreTableParams() [2/2]

google::cloud::bigtable::TableAdmin::RestoreTableParams::RestoreTableParams ( std::string  table_id,
std::string  cluster_id,
std::string  backup_id 
)
inline

Member Function Documentation

◆ AsProto()

google::bigtable::admin::v2::RestoreTableRequest google::cloud::bigtable::TableAdmin::RestoreTableParams::AsProto ( std::string const &  instance_name) const
Deprecated:
covert the parameters to a proto.

Member Data Documentation

◆ backup_id

std::string google::cloud::bigtable::TableAdmin::RestoreTableParams::backup_id

◆ cluster_id

std::string google::cloud::bigtable::TableAdmin::RestoreTableParams::cluster_id

◆ table_id

std::string google::cloud::bigtable::TableAdmin::RestoreTableParams::table_id