Class InstanceConfig (1.18.0)

InstanceConfig(name, display_name)

Named configurations for Spanner instances.

Parameters

Name Description
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
Name Description
config_pb google.spanner.v1.spanner_instance_admin_pb2.InstanceConfig

the protobuf to parse

Returns
Type Description
InstanceConfig an instance of this class