Class InstanceConfig (1.13.0)

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

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
InstanceConfigan instance of this class