Class InstanceConfig (2.21.0)

Specify the initial configuration for a new instance.

Constructors

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

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

Functions

set_type(InstanceType)

Parameter
NameDescription
type InstanceType
Returns
TypeDescription
InstanceConfig &

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

Parameters
NameDescription
key std::string const &
value std::string const &
Returns
TypeDescription
InstanceConfig &

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

Parameters
NameDescription
key std::string const &
value std::string
Returns
TypeDescription
InstanceConfig &

as_proto() const &

Returns
TypeDescription
google::bigtable::admin::v2::CreateInstanceRequest const &

as_proto() &&

Returns
TypeDescription
google::bigtable::admin::v2::CreateInstanceRequest &&

Type Aliases

InstanceType

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

Convenient shorthands for the instance types.