Class InstanceConfig (1.19.2)

InstanceConfig(name, display_name)

Named configurations for Spanner instances.

Parameters

NameDescription
name str

ID of the instance configuration

display_name str

Name of the instance configuration

Inheritance

builtins.object > InstanceConfig

Methods

from_pb

from_pb(config_pb)

Construct an instance from the equvalent protobuf.

Parameter
NameDescription
config_pb `google.spanner.v1.spanner_instance_admin_pb2.InstanceConfig`

the protobuf to parse

Returns
TypeDescription
`InstanceConfig`an instance of this class