Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tasks/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Python Client for Cloud Tasks API (`Alpha`_)

.. _Alpha: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
.. _Cloud Tasks API: https://cloud.google.com/tasks
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/latest/tasks/index.html
.. _Client Library Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/tasks/usage.html
.. _Product Documentation: https://cloud.google.com/tasks

Quick Start
Expand Down Expand Up @@ -65,11 +65,11 @@ Next Steps
~~~~~~~~~~

- Read the `Client Library Documentation`_ for Cloud Tasks API
to see other available methods on the client.
API to see other available methods on the client.
- Read the `Cloud Tasks API Product documentation`_ to learn
more about the product and see How-to Guides.
- View this `repository’s main README`_ to see the full list of Cloud
APIs that we cover.

.. _Cloud Tasks API Product documentation: https://cloud.google.com/tasks
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
2 changes: 1 addition & 1 deletion tasks/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
texinfo_documents = [
(master_doc, 'google-cloud-tasks', u'google-cloud-tasks Documentation',
author, 'google-cloud-tasks',
'GAPIC library for the {metadata.shortName} v2beta2 service', 'APIs'),
'GAPIC library for the {metadata.shortName} service', 'APIs'),
]

# Documents to append as an appendix to all manuals.
Expand Down
6 changes: 6 additions & 0 deletions tasks/docs/gapic/v2beta3/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Client for Cloud Tasks API
==========================

.. automodule:: google.cloud.tasks_v2beta3
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions tasks/docs/gapic/v2beta3/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Types for Cloud Tasks API Client
================================

.. automodule:: google.cloud.tasks_v2beta3.types
:members:
4 changes: 3 additions & 1 deletion tasks/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,6 @@ Api Reference
:maxdepth: 2

gapic/v2beta2/api
gapic/v2beta2/types
gapic/v2beta2/types
gapic/v2beta3/api
gapic/v2beta3/types
4 changes: 3 additions & 1 deletion tasks/google/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -17,4 +19,4 @@
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
__path__ = pkgutil.extend_path(__path__, __name__)
4 changes: 3 additions & 1 deletion tasks/google/cloud/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -17,4 +19,4 @@
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
__path__ = pkgutil.extend_path(__path__, __name__)
8 changes: 5 additions & 3 deletions tasks/google/cloud/tasks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,9 +16,9 @@

from __future__ import absolute_import

from google.cloud.tasks_v2beta2 import CloudTasksClient
from google.cloud.tasks_v2beta2 import enums
from google.cloud.tasks_v2beta2 import types
from google.cloud.tasks_v2beta3 import CloudTasksClient
from google.cloud.tasks_v2beta3 import enums
from google.cloud.tasks_v2beta3 import types

__all__ = (
'enums',
Expand Down
2 changes: 2 additions & 0 deletions tasks/google/cloud/tasks_v2beta2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions tasks/google/cloud/tasks_v2beta2/gapic/enums.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions tasks/google/cloud/tasks_v2beta2/types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
33 changes: 33 additions & 0 deletions tasks/google/cloud/tasks_v2beta3/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import

from google.cloud.tasks_v2beta3 import types
from google.cloud.tasks_v2beta3.gapic import cloud_tasks_client
from google.cloud.tasks_v2beta3.gapic import enums


class CloudTasksClient(cloud_tasks_client.CloudTasksClient):
__doc__ = cloud_tasks_client.CloudTasksClient.__doc__
enums = enums


__all__ = (
'enums',
'types',
'CloudTasksClient',
)
Empty file.
Loading