From 2f575456b1eeaff5453b73e6b96c5e934b6563af Mon Sep 17 00:00:00 2001 From: Tom Melendez Date: Mon, 20 Feb 2017 23:34:13 +0000 Subject: [PATCH] Fixed method name list_instance_configs in docs. --- docs/spanner-instance-usage.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/spanner-instance-usage.rst b/docs/spanner-instance-usage.rst index 035f09c38b81..e05910bc59fd 100644 --- a/docs/spanner-instance-usage.rst +++ b/docs/spanner-instance-usage.rst @@ -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 @@ -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 @@ -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