Parameters for CreateBackup
.
More...
#include <google/cloud/bigtable/table_admin.h>
Parameters for CreateBackup
.
- Parameters
-
cluster_id | the 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_id | the 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 specified for this object. |
table_id | the id of the table within the instance to be backed up. The full name of the table 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 the TableAdmin object. |
expire_time | the date and time when the created backup will expire. |
◆ CreateBackupParams() [1/2]
google::cloud::bigtable::TableAdmin::CreateBackupParams::CreateBackupParams |
( |
| ) |
|
|
default |
◆ CreateBackupParams() [2/2]
google::cloud::bigtable::TableAdmin::CreateBackupParams::CreateBackupParams |
( |
std::string |
cluster_id, |
|
|
std::string |
backup_id, |
|
|
std::string |
table_id, |
|
|
std::chrono::system_clock::time_point |
expire_time |
|
) |
| |
|
inline |
◆ AsProto()
google::bigtable::admin::v2::CreateBackupRequest google::cloud::bigtable::TableAdmin::CreateBackupParams::AsProto |
( |
std::string |
instance_name | ) |
const |
◆ backup_id
std::string google::cloud::bigtable::TableAdmin::CreateBackupParams::backup_id |
◆ cluster_id
std::string google::cloud::bigtable::TableAdmin::CreateBackupParams::cluster_id |
◆ expire_time
std::chrono::system_clock::time_point google::cloud::bigtable::TableAdmin::CreateBackupParams::expire_time |
◆ table_name
std::string google::cloud::bigtable::TableAdmin::CreateBackupParams::table_name |