Skip to content

Commit 10170af

Browse files
authored
Merge pull request #3044 from supertom/doc-fixes
Document correct method name: 'list_instance_configs'
2 parents d80953d + 2f57545 commit 10170af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spanner-instance-usage.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ specifying the location and other parameters for a set of instances. These
1212
configurations are defined by the server, and cannot be changed.
1313

1414
To list of all instance configurations available to your project, use the
15-
:meth:`~google.cloud.spanner.client.Client.list_instance_configurations`
15+
:meth:`~google.cloud.spanner.client.Client.list_instance_configs`
1616
method of the client:
1717

1818
.. code:: python
1919
20-
configs, token = client.list_instance_configurations()
20+
configs, token = client.list_instance_configs()
2121
2222
2323
To fetch a single instance configuration, use the
@@ -26,7 +26,7 @@ method of the client:
2626

2727
.. code:: python
2828
29-
config = client.get_instance_configuration('confg-name')
29+
config = client.get_instance_configuration('config-name')
3030
3131
3232
List Instances
@@ -57,7 +57,7 @@ To create a :class:`~google.cloud.spanner.instance.Instance` object:
5757
- ``configuration_name`` is the name of the instance configuration to which the
5858
instance will be bound. It must be one of the names configured for your
5959
project, discoverable via
60-
:meth:`google.cloud.spanner.client.Client.list_instance_configurations`.
60+
:meth:`google.cloud.spanner.client.Client.list_instance_configs`.
6161

6262
- ``node_count`` is a postitive integral count of the number of nodes used
6363
by the instance. More nodes allows for higher performance, but at a higher

0 commit comments

Comments
 (0)