Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::bigtable::v0::AppProfileConfig Class Reference

Specify the initial configuration for an application profile. More...

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

Public Member Functions

 AppProfileConfig (google::bigtable::admin::v2::CreateAppProfileRequest proto)
 
AppProfileConfigset_ignore_warnings (bool value)
 
AppProfileConfigset_description (std::string description)
 
AppProfileConfigset_etag (std::string etag)
 
google::bigtable::admin::v2::CreateAppProfileRequest const & as_proto () const &
 
google::bigtable::admin::v2::CreateAppProfileRequest && as_proto () &&
 

Static Public Member Functions

static AppProfileConfig MultiClusterUseAny (std::string profile_id)
 
static AppProfileConfig SingleClusterRouting (std::string profile_id, std::string cluster_id, bool allow_transactional_writes=false)
 

Detailed Description

Specify the initial configuration for an application profile.

Definition at line 26 of file app_profile_config.h.

Constructor & Destructor Documentation

◆ AppProfileConfig()

google::cloud::bigtable::v0::AppProfileConfig::AppProfileConfig ( google::bigtable::admin::v2::CreateAppProfileRequest  proto)
inlineexplicit

Definition at line 28 of file app_profile_config.h.

Member Function Documentation

◆ as_proto() [1/2]

google::bigtable::admin::v2::CreateAppProfileRequest const& google::cloud::bigtable::v0::AppProfileConfig::as_proto ( ) const &
inline

Definition at line 53 of file app_profile_config.h.

◆ as_proto() [2/2]

google::bigtable::admin::v2::CreateAppProfileRequest&& google::cloud::bigtable::v0::AppProfileConfig::as_proto ( ) &&
inline

Definition at line 59 of file app_profile_config.h.

◆ MultiClusterUseAny()

AppProfileConfig google::cloud::bigtable::v0::AppProfileConfig::MultiClusterUseAny ( std::string  profile_id)
static

Definition at line 21 of file app_profile_config.cc.

◆ set_description()

AppProfileConfig& google::cloud::bigtable::v0::AppProfileConfig::set_description ( std::string  description)
inline

Definition at line 42 of file app_profile_config.h.

◆ set_etag()

AppProfileConfig& google::cloud::bigtable::v0::AppProfileConfig::set_etag ( std::string  etag)
inline

Definition at line 47 of file app_profile_config.h.

◆ set_ignore_warnings()

AppProfileConfig& google::cloud::bigtable::v0::AppProfileConfig::set_ignore_warnings ( bool  value)
inline

Definition at line 37 of file app_profile_config.h.

◆ SingleClusterRouting()

AppProfileConfig google::cloud::bigtable::v0::AppProfileConfig::SingleClusterRouting ( std::string  profile_id,
std::string  cluster_id,
bool  allow_transactional_writes = false 
)
static

Definition at line 30 of file app_profile_config.cc.