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::UpdateBackupParams Struct Reference

Parameters for UpdateBackup. More...

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

Public Member Functions

 UpdateBackupParams ()=default
 
 UpdateBackupParams (std::string cluster_id, std::string backup_id, std::chrono::system_clock::time_point expire_time)
 
google::bigtable::admin::v2::UpdateBackupRequest AsProto (std::string const &instance_name) const
 

Public Attributes

std::string cluster_id
 
std::string backup_name
 
std::chrono::system_clock::time_point expire_time
 

Detailed Description

Parameters for UpdateBackup.

Parameters
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 specified for this object.
expire_timethe date and time when the created backup will expire.

Constructor & Destructor Documentation

◆ UpdateBackupParams() [1/2]

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

◆ UpdateBackupParams() [2/2]

google::cloud::bigtable::TableAdmin::UpdateBackupParams::UpdateBackupParams ( std::string  cluster_id,
std::string  backup_id,
std::chrono::system_clock::time_point  expire_time 
)
inline

Member Function Documentation

◆ AsProto()

google::bigtable::admin::v2::UpdateBackupRequest google::cloud::bigtable::TableAdmin::UpdateBackupParams::AsProto ( std::string const &  instance_name) const

Member Data Documentation

◆ backup_name

std::string google::cloud::bigtable::TableAdmin::UpdateBackupParams::backup_name

◆ cluster_id

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

◆ expire_time

std::chrono::system_clock::time_point google::cloud::bigtable::TableAdmin::UpdateBackupParams::expire_time