Class InstanceConfig (1.12.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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月16日 UTC.