Skip to content

Commit

Permalink
Merge pull request #3044 from supertom/doc-fixes
Browse files Browse the repository at this point in the history
Document correct method name: 'list_instance_configs'
  • Loading branch information
tseaver authored Feb 21, 2017
2 parents d80953d + 2f57545 commit 10170af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/spanner-instance-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ specifying the location and other parameters for a set of instances. These
configurations are defined by the server, and cannot be changed.

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

.. code:: python
configs, token = client.list_instance_configurations()
configs, token = client.list_instance_configs()
To fetch a single instance configuration, use the
Expand All @@ -26,7 +26,7 @@ method of the client:

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

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

0 comments on commit 10170af

Please sign in to comment.