Skip to content

Commit

Permalink
Separate / distinguish API docs for different API versions. (#6306)
Browse files Browse the repository at this point in the history
Closes #6303.
  • Loading branch information
tseaver authored Oct 25, 2018
1 parent e9581bd commit f8a33a3
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions tasks/docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
.. include:: /../tasks/README.rst

Api Reference
API Reference
-------------

This package includes clients for multiple versions of the Tasks
API. By default, you will get ``v2beta3``, the latest version.

.. toctree::
:maxdepth: 2

gapic/v2beta2/api
gapic/v2beta2/types
gapic/v2beta3/api
gapic/v2beta3/types

The previous beta release, spelled ``v2beta2``, is provided to continue to
support code previously written against them. In order to use ththem, you
will want to import from e.g. ``google.cloud.tasks_v2beta2`` in lieu of
``google.cloud.tasks`` (or the equivalent ``google.cloud.tasks_v2beta3``).

An API and type reference is provided the this beta also:

.. toctree::
:maxdepth: 2

gapic/v2beta2/api
gapic/v2beta2/types

0 comments on commit f8a33a3

Please sign in to comment.