Class InstanceConfig (2.28.0)

Specify the initial configuration for a new instance.

Constructors

InstanceConfig(std::string, std::string, std::map< std::string, ClusterConfig >)

Parameters
Name Description
instance_id std::string
display_name std::string
clusters std::map< std::string, ClusterConfig >

Functions

set_type(InstanceType)

Parameter
Name Description
type InstanceType
Returns
Type Description
InstanceConfig &

insert_label(std::string const &, std::string const &)

Parameters
Name Description
key std::string const &
value std::string const &
Returns
Type Description
InstanceConfig &

emplace_label(std::string const &, std::string)

Parameters
Name Description
key std::string const &
value std::string
Returns
Type Description
InstanceConfig &

as_proto() const &

Returns
Type Description
google::bigtable::admin::v2::CreateInstanceRequest const &

as_proto() &&

Returns
Type Description
google::bigtable::admin::v2::CreateInstanceRequest &&

Type Aliases

InstanceType

Alias Of: ::google::bigtable::admin::v2::Instance::Type

Convenient shorthands for the instance types.