Skip to content

Commit c9d6c1f

Browse files
authored
Tasks: Add v2beta3 endpoint (#5880)
* added v2beta3 endpoint
1 parent bec6c8d commit c9d6c1f

35 files changed

+6217
-58
lines changed

packages/google-cloud-tasks/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Python Client for Cloud Tasks API (`Alpha`_)
88

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

1414
Quick Start
@@ -65,11 +65,11 @@ Next Steps
6565
~~~~~~~~~~
6666

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

7474
.. _Cloud Tasks API Product documentation: https://cloud.google.com/tasks
75-
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
75+
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst

packages/google-cloud-tasks/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
texinfo_documents = [
277277
(master_doc, 'google-cloud-tasks', u'google-cloud-tasks Documentation',
278278
author, 'google-cloud-tasks',
279-
'GAPIC library for the {metadata.shortName} v2beta2 service', 'APIs'),
279+
'GAPIC library for the {metadata.shortName} service', 'APIs'),
280280
]
281281

282282
# Documents to append as an appendix to all manuals.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Client for Cloud Tasks API
2+
==========================
3+
4+
.. automodule:: google.cloud.tasks_v2beta3
5+
:members:
6+
:inherited-members:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Types for Cloud Tasks API Client
2+
================================
3+
4+
.. automodule:: google.cloud.tasks_v2beta3.types
5+
:members:

packages/google-cloud-tasks/docs/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ Api Reference
8080
:maxdepth: 2
8181

8282
gapic/v2beta2/api
83-
gapic/v2beta2/types
83+
gapic/v2beta2/types
84+
gapic/v2beta3/api
85+
gapic/v2beta3/types

packages/google-cloud-tasks/google/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
#
13
# Copyright 2018 Google LLC
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,4 +19,4 @@
1719
pkg_resources.declare_namespace(__name__)
1820
except ImportError:
1921
import pkgutil
20-
__path__ = pkgutil.extend_path(__path__, __name__)
22+
__path__ = pkgutil.extend_path(__path__, __name__)

packages/google-cloud-tasks/google/cloud/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
#
13
# Copyright 2018 Google LLC
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,4 +19,4 @@
1719
pkg_resources.declare_namespace(__name__)
1820
except ImportError:
1921
import pkgutil
20-
__path__ = pkgutil.extend_path(__path__, __name__)
22+
__path__ = pkgutil.extend_path(__path__, __name__)

packages/google-cloud-tasks/google/cloud/tasks.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
#
13
# Copyright 2018 Google LLC
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,9 +16,9 @@
1416

1517
from __future__ import absolute_import
1618

17-
from google.cloud.tasks_v2beta2 import CloudTasksClient
18-
from google.cloud.tasks_v2beta2 import enums
19-
from google.cloud.tasks_v2beta2 import types
19+
from google.cloud.tasks_v2beta3 import CloudTasksClient
20+
from google.cloud.tasks_v2beta3 import enums
21+
from google.cloud.tasks_v2beta3 import types
2022

2123
__all__ = (
2224
'enums',

packages/google-cloud-tasks/google/cloud/tasks_v2beta2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
#
13
# Copyright 2018 Google LLC
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");

packages/google-cloud-tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
#
13
# Copyright 2018 Google LLC
24
#
35
# Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)