From 500b1d95a7ad008a76754327c49474dae3908202 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 17:41:43 -0400 Subject: [PATCH 1/5] chore: regenerate API index (#339) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update Go import paths to match open source chore: update gapic-generator-go version to 0.35.2 PiperOrigin-RevId: 516528222 Source-Link: https://github.com/googleapis/googleapis/commit/dcd99fd6f43c3306bcd8eaf1ae25e8bb5f7cb708 Source-Link: https://github.com/googleapis/googleapis-gen/commit/975f4eea69a75b965e2f103be1bc82972d4a35d7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTc1ZjRlZWE2OWE3NWI5NjVlMmYxMDNiZTFiYzgyOTcyZDRhMzVkNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: regenerate API index Source-Link: https://github.com/googleapis/googleapis/commit/40a03de111ea6b1d9a3aef0ed1127ffdb01d0601 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6c17328e9e1c2b58e9600722e8fc8cbe84600d7f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmMxNzMyOGU5ZTFjMmI1OGU5NjAwNzIyZThmYzhjYmU4NDYwMGQ3ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../cloud/tasks_v2/services/cloud_tasks/transports/rest.py | 6 ++++-- .../tasks_v2beta2/services/cloud_tasks/transports/rest.py | 6 ++++-- .../tasks_v2beta3/services/cloud_tasks/transports/rest.py | 6 ++++-- .../snippet_metadata_google.cloud.tasks.v2.json | 2 +- .../snippet_metadata_google.cloud.tasks.v2beta2.json | 2 +- .../snippet_metadata_google.cloud.tasks.v2beta3.json | 2 +- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py b/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py index edc85faa..9594fdd6 100644 --- a/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py +++ b/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py @@ -1031,7 +1031,8 @@ def __call__( "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", - "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", } } ], @@ -1968,7 +1969,8 @@ def __call__( "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", - "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", } } ], diff --git a/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py b/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py index e65d5433..69d5a15e 100644 --- a/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py +++ b/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py @@ -1316,7 +1316,8 @@ def __call__( "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", - "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", } } ], @@ -2449,7 +2450,8 @@ def __call__( "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", - "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", } } ], diff --git a/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py b/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py index 642b65ce..adfc8d51 100644 --- a/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py +++ b/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py @@ -1031,7 +1031,8 @@ def __call__( "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", - "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", } } ], @@ -1968,7 +1969,8 @@ def __call__( "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", - "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", + "expression": "request.time < + timestamp('2020-10-01T00:00:00.000Z')", } } ], diff --git a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json index afcc74ae..164c51d1 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-tasks", - "version": "2.13.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json index 5d3bd547..006a84eb 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-tasks", - "version": "2.13.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json index ffa7beb6..788516ef 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-tasks", - "version": "2.13.0" + "version": "0.1.0" }, "snippets": [ { From 32593cb4fd551991dd58f095295da025ff429073 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 16 Mar 2023 12:10:13 +0000 Subject: [PATCH 2/5] chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#340) Source-Link: https://togithub.com/googleapis/synthtool/commit/92006bb3cdc84677aa93c7f5235424ec2b157146 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/requirements.in | 2 +- .kokoro/requirements.txt | 14 +++++--------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5fc5daa3..b8edda51 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 + digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index 882178ce..ec867d9f 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -5,6 +5,6 @@ typing-extensions twine wheel setuptools -nox +nox>=2022.11.21 # required to remove dependency on py charset-normalizer<3 click<8.1.0 diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index fa99c129..66a2172a 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --allow-unsafe --generate-hashes requirements.in # @@ -335,9 +335,9 @@ more-itertools==9.0.0 \ --hash=sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41 \ --hash=sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab # via jaraco-classes -nox==2022.8.7 \ - --hash=sha256:1b894940551dc5c389f9271d197ca5d655d40bdc6ccf93ed6880e4042760a34b \ - --hash=sha256:96cca88779e08282a699d672258ec01eb7c792d35bbbf538c723172bce23212c +nox==2022.11.21 \ + --hash=sha256:0e41a990e290e274cb205a976c4c97ee3c5234441a8132c8c3fd9ea3c22149eb \ + --hash=sha256:e21c31de0711d1274ca585a2c5fde36b1aa962005ba8e9322bf5eeed16dcd684 # via -r requirements.in packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ @@ -380,10 +380,6 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core -py==1.11.0 \ - --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ - --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 - # via nox pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba From c8faa0cd4aff6108a8cc584e6e5ee150ce375cb3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 17 Mar 2023 12:44:02 -0700 Subject: [PATCH 3/5] chore: Update gapic-generator-python to v1.9.0 (#341) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.9.0 PiperOrigin-RevId: 517425588 Source-Link: https://github.com/googleapis/googleapis/commit/33c93eb8b4d3aaf88e44a1be197811052be62282 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5f59789d19fc43270ff2124967d4ec8992b8e8f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8db5698d..6279ebc3 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ "proto-plus >= 1.22.0, <2.0.0dev", "proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'", "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", - "grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev", + "grpc-google-iam-v1 >= 0.12.4, <1.0.0dev", ] url = "https://github.com/googleapis/python-tasks" From 85141f82f6dabf02b39e34420a3bbcc754227040 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:46:07 -0400 Subject: [PATCH 4/5] docs: Fix formatting of request arg in docstring (#342) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .../services/cloud_tasks/async_client.py | 21 ++++-------- .../tasks_v2/services/cloud_tasks/client.py | 21 ++++-------- .../services/cloud_tasks/transports/rest.py | 13 -------- .../services/cloud_tasks/async_client.py | 33 +++++++------------ .../services/cloud_tasks/client.py | 33 +++++++------------ .../services/cloud_tasks/transports/rest.py | 17 ---------- .../services/cloud_tasks/async_client.py | 21 ++++-------- .../services/cloud_tasks/client.py | 21 ++++-------- .../services/cloud_tasks/transports/rest.py | 13 -------- 9 files changed, 50 insertions(+), 143 deletions(-) diff --git a/google/cloud/tasks_v2/services/cloud_tasks/async_client.py b/google/cloud/tasks_v2/services/cloud_tasks/async_client.py index 7715f16f..384f4c29 100644 --- a/google/cloud/tasks_v2/services/cloud_tasks/async_client.py +++ b/google/cloud/tasks_v2/services/cloud_tasks/async_client.py @@ -1241,8 +1241,7 @@ async def sample_get_iam_policy(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]): - The request object. Request message for `GetIamPolicy` - method. + The request object. Request message for ``GetIamPolicy`` method. resource (:class:`str`): REQUIRED: The resource for which the policy is being requested. See the @@ -1429,8 +1428,7 @@ async def sample_set_iam_policy(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]): - The request object. Request message for `SetIamPolicy` - method. + The request object. Request message for ``SetIamPolicy`` method. resource (:class:`str`): REQUIRED: The resource for which the policy is being specified. See the @@ -1605,8 +1603,7 @@ async def sample_test_iam_permissions(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]): - The request object. Request message for - `TestIamPermissions` method. + The request object. Request message for ``TestIamPermissions`` method. resource (:class:`str`): REQUIRED: The resource for which the policy detail is being requested. See @@ -1739,8 +1736,7 @@ async def sample_list_tasks(): Args: request (Optional[Union[google.cloud.tasks_v2.types.ListTasksRequest, dict]]): - The request object. Request message for listing tasks - using + The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. parent (:class:`str`): Required. The queue name. For example: @@ -1864,8 +1860,7 @@ async def sample_get_task(): Args: request (Optional[Union[google.cloud.tasks_v2.types.GetTaskRequest, dict]]): - The request object. Request message for getting a task - using + The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask]. name (:class:`str`): Required. The task name. For example: @@ -2131,8 +2126,7 @@ async def sample_delete_task(): Args: request (Optional[Union[google.cloud.tasks_v2.types.DeleteTaskRequest, dict]]): - The request object. Request message for deleting a task - using + The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask]. name (:class:`str`): Required. The task name. For example: @@ -2261,8 +2255,7 @@ async def sample_run_task(): Args: request (Optional[Union[google.cloud.tasks_v2.types.RunTaskRequest, dict]]): - The request object. Request message for forcing a task - to run now using + The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask]. name (:class:`str`): Required. The task name. For example: diff --git a/google/cloud/tasks_v2/services/cloud_tasks/client.py b/google/cloud/tasks_v2/services/cloud_tasks/client.py index 7bb450af..ca5ceafa 100644 --- a/google/cloud/tasks_v2/services/cloud_tasks/client.py +++ b/google/cloud/tasks_v2/services/cloud_tasks/client.py @@ -1466,8 +1466,7 @@ def sample_get_iam_policy(): Args: request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]): - The request object. Request message for `GetIamPolicy` - method. + The request object. Request message for ``GetIamPolicy`` method. resource (str): REQUIRED: The resource for which the policy is being requested. See the @@ -1641,8 +1640,7 @@ def sample_set_iam_policy(): Args: request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]): - The request object. Request message for `SetIamPolicy` - method. + The request object. Request message for ``SetIamPolicy`` method. resource (str): REQUIRED: The resource for which the policy is being specified. See the @@ -1814,8 +1812,7 @@ def sample_test_iam_permissions(): Args: request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]): - The request object. Request message for - `TestIamPermissions` method. + The request object. Request message for ``TestIamPermissions`` method. resource (str): REQUIRED: The resource for which the policy detail is being requested. See @@ -1936,8 +1933,7 @@ def sample_list_tasks(): Args: request (Union[google.cloud.tasks_v2.types.ListTasksRequest, dict]): - The request object. Request message for listing tasks - using + The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. parent (str): Required. The queue name. For example: @@ -2051,8 +2047,7 @@ def sample_get_task(): Args: request (Union[google.cloud.tasks_v2.types.GetTaskRequest, dict]): - The request object. Request message for getting a task - using + The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask]. name (str): Required. The task name. For example: @@ -2308,8 +2303,7 @@ def sample_delete_task(): Args: request (Union[google.cloud.tasks_v2.types.DeleteTaskRequest, dict]): - The request object. Request message for deleting a task - using + The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask]. name (str): Required. The task name. For example: @@ -2428,8 +2422,7 @@ def sample_run_task(): Args: request (Union[google.cloud.tasks_v2.types.RunTaskRequest, dict]): - The request object. Request message for forcing a task - to run now using + The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask]. name (str): Required. The task name. For example: diff --git a/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py b/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py index 9594fdd6..5d5bbd22 100644 --- a/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py +++ b/google/cloud/tasks_v2/services/cloud_tasks/transports/rest.py @@ -629,7 +629,6 @@ def __call__( request (~.cloudtasks.CreateQueueRequest): The request object. Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -732,7 +731,6 @@ def __call__( request (~.cloudtasks.CreateTaskRequest): The request object. Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -829,7 +827,6 @@ def __call__( request (~.cloudtasks.DeleteQueueRequest): The request object. Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -905,7 +902,6 @@ def __call__( request (~.cloudtasks.DeleteTaskRequest): The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1151,7 +1147,6 @@ def __call__( request (~.cloudtasks.GetQueueRequest): The request object. Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1245,7 +1240,6 @@ def __call__( request (~.cloudtasks.GetTaskRequest): The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1333,7 +1327,6 @@ def __call__( request (~.cloudtasks.ListQueuesRequest): The request object. Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1423,7 +1416,6 @@ def __call__( request (~.cloudtasks.ListTasksRequest): The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1513,7 +1505,6 @@ def __call__( request (~.cloudtasks.PauseQueueRequest): The request object. Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1616,7 +1607,6 @@ def __call__( request (~.cloudtasks.PurgeQueueRequest): The request object. Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1719,7 +1709,6 @@ def __call__( request (~.cloudtasks.ResumeQueueRequest): The request object. Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1822,7 +1811,6 @@ def __call__( request (~.cloudtasks.RunTaskRequest): The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2186,7 +2174,6 @@ def __call__( request (~.cloudtasks.UpdateQueueRequest): The request object. Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/tasks_v2beta2/services/cloud_tasks/async_client.py b/google/cloud/tasks_v2beta2/services/cloud_tasks/async_client.py index 36b109dd..062064f6 100644 --- a/google/cloud/tasks_v2beta2/services/cloud_tasks/async_client.py +++ b/google/cloud/tasks_v2beta2/services/cloud_tasks/async_client.py @@ -1242,8 +1242,7 @@ async def sample_get_iam_policy(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]): - The request object. Request message for `GetIamPolicy` - method. + The request object. Request message for ``GetIamPolicy`` method. resource (:class:`str`): REQUIRED: The resource for which the policy is being requested. See the @@ -1430,8 +1429,7 @@ async def sample_set_iam_policy(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]): - The request object. Request message for `SetIamPolicy` - method. + The request object. Request message for ``SetIamPolicy`` method. resource (:class:`str`): REQUIRED: The resource for which the policy is being specified. See the @@ -1606,8 +1604,7 @@ async def sample_test_iam_permissions(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]): - The request object. Request message for - `TestIamPermissions` method. + The request object. Request message for ``TestIamPermissions`` method. resource (:class:`str`): REQUIRED: The resource for which the policy detail is being requested. See @@ -1740,8 +1737,7 @@ async def sample_list_tasks(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.ListTasksRequest, dict]]): - The request object. Request message for listing tasks - using + The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. parent (:class:`str`): Required. The queue name. For example: @@ -1865,8 +1861,7 @@ async def sample_get_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.GetTaskRequest, dict]]): - The request object. Request message for getting a task - using + The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask]. name (:class:`str`): Required. The task name. For example: @@ -2136,8 +2131,7 @@ async def sample_delete_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.DeleteTaskRequest, dict]]): - The request object. Request message for deleting a task - using + The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask]. name (:class:`str`): Required. The task name. For example: @@ -2264,8 +2258,7 @@ async def sample_lease_tasks(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.LeaseTasksRequest, dict]]): - The request object. Request message for leasing tasks - using + The request object. Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. parent (:class:`str`): Required. The queue name. For example: @@ -2411,8 +2404,7 @@ async def sample_acknowledge_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.AcknowledgeTaskRequest, dict]]): - The request object. Request message for acknowledging a - task using + The request object. Request message for acknowledging a task using [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]. name (:class:`str`): Required. The task name. For example: @@ -2528,8 +2520,7 @@ async def sample_renew_lease(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.RenewLeaseRequest, dict]]): - The request object. Request message for renewing a lease - using + The request object. Request message for renewing a lease using [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease]. name (:class:`str`): Required. The task name. For example: @@ -2665,8 +2656,7 @@ async def sample_cancel_lease(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.CancelLeaseRequest, dict]]): - The request object. Request message for canceling a - lease using + The request object. Request message for canceling a lease using [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease]. name (:class:`str`): Required. The task name. For example: @@ -2814,8 +2804,7 @@ async def sample_run_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta2.types.RunTaskRequest, dict]]): - The request object. Request message for forcing a task - to run now using + The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask]. name (:class:`str`): Required. The task name. For example: diff --git a/google/cloud/tasks_v2beta2/services/cloud_tasks/client.py b/google/cloud/tasks_v2beta2/services/cloud_tasks/client.py index dbe3113c..a0874859 100644 --- a/google/cloud/tasks_v2beta2/services/cloud_tasks/client.py +++ b/google/cloud/tasks_v2beta2/services/cloud_tasks/client.py @@ -1467,8 +1467,7 @@ def sample_get_iam_policy(): Args: request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]): - The request object. Request message for `GetIamPolicy` - method. + The request object. Request message for ``GetIamPolicy`` method. resource (str): REQUIRED: The resource for which the policy is being requested. See the @@ -1642,8 +1641,7 @@ def sample_set_iam_policy(): Args: request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]): - The request object. Request message for `SetIamPolicy` - method. + The request object. Request message for ``SetIamPolicy`` method. resource (str): REQUIRED: The resource for which the policy is being specified. See the @@ -1815,8 +1813,7 @@ def sample_test_iam_permissions(): Args: request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]): - The request object. Request message for - `TestIamPermissions` method. + The request object. Request message for ``TestIamPermissions`` method. resource (str): REQUIRED: The resource for which the policy detail is being requested. See @@ -1937,8 +1934,7 @@ def sample_list_tasks(): Args: request (Union[google.cloud.tasks_v2beta2.types.ListTasksRequest, dict]): - The request object. Request message for listing tasks - using + The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. parent (str): Required. The queue name. For example: @@ -2052,8 +2048,7 @@ def sample_get_task(): Args: request (Union[google.cloud.tasks_v2beta2.types.GetTaskRequest, dict]): - The request object. Request message for getting a task - using + The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask]. name (str): Required. The task name. For example: @@ -2313,8 +2308,7 @@ def sample_delete_task(): Args: request (Union[google.cloud.tasks_v2beta2.types.DeleteTaskRequest, dict]): - The request object. Request message for deleting a task - using + The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask]. name (str): Required. The task name. For example: @@ -2431,8 +2425,7 @@ def sample_lease_tasks(): Args: request (Union[google.cloud.tasks_v2beta2.types.LeaseTasksRequest, dict]): - The request object. Request message for leasing tasks - using + The request object. Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. parent (str): Required. The queue name. For example: @@ -2578,8 +2571,7 @@ def sample_acknowledge_task(): Args: request (Union[google.cloud.tasks_v2beta2.types.AcknowledgeTaskRequest, dict]): - The request object. Request message for acknowledging a - task using + The request object. Request message for acknowledging a task using [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]. name (str): Required. The task name. For example: @@ -2695,8 +2687,7 @@ def sample_renew_lease(): Args: request (Union[google.cloud.tasks_v2beta2.types.RenewLeaseRequest, dict]): - The request object. Request message for renewing a lease - using + The request object. Request message for renewing a lease using [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease]. name (str): Required. The task name. For example: @@ -2832,8 +2823,7 @@ def sample_cancel_lease(): Args: request (Union[google.cloud.tasks_v2beta2.types.CancelLeaseRequest, dict]): - The request object. Request message for canceling a - lease using + The request object. Request message for canceling a lease using [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease]. name (str): Required. The task name. For example: @@ -2981,8 +2971,7 @@ def sample_run_task(): Args: request (Union[google.cloud.tasks_v2beta2.types.RunTaskRequest, dict]): - The request object. Request message for forcing a task - to run now using + The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask]. name (str): Required. The task name. For example: diff --git a/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py b/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py index 69d5a15e..ef442845 100644 --- a/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py +++ b/google/cloud/tasks_v2beta2/services/cloud_tasks/transports/rest.py @@ -730,7 +730,6 @@ def __call__( request (~.cloudtasks.AcknowledgeTaskRequest): The request object. Request message for acknowledging a task using [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -817,7 +816,6 @@ def __call__( request (~.cloudtasks.CancelLeaseRequest): The request object. Request message for canceling a lease using [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -914,7 +912,6 @@ def __call__( request (~.cloudtasks.CreateQueueRequest): The request object. Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1017,7 +1014,6 @@ def __call__( request (~.cloudtasks.CreateTaskRequest): The request object. Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1114,7 +1110,6 @@ def __call__( request (~.cloudtasks.DeleteQueueRequest): The request object. Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1190,7 +1185,6 @@ def __call__( request (~.cloudtasks.DeleteTaskRequest): The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1436,7 +1430,6 @@ def __call__( request (~.cloudtasks.GetQueueRequest): The request object. Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1530,7 +1523,6 @@ def __call__( request (~.cloudtasks.GetTaskRequest): The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1618,7 +1610,6 @@ def __call__( request (~.cloudtasks.LeaseTasksRequest): The request object. Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1717,7 +1708,6 @@ def __call__( request (~.cloudtasks.ListQueuesRequest): The request object. Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1807,7 +1797,6 @@ def __call__( request (~.cloudtasks.ListTasksRequest): The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1897,7 +1886,6 @@ def __call__( request (~.cloudtasks.PauseQueueRequest): The request object. Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2000,7 +1988,6 @@ def __call__( request (~.cloudtasks.PurgeQueueRequest): The request object. Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2103,7 +2090,6 @@ def __call__( request (~.cloudtasks.RenewLeaseRequest): The request object. Request message for renewing a lease using [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2200,7 +2186,6 @@ def __call__( request (~.cloudtasks.ResumeQueueRequest): The request object. Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2303,7 +2288,6 @@ def __call__( request (~.cloudtasks.RunTaskRequest): The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2667,7 +2651,6 @@ def __call__( request (~.cloudtasks.UpdateQueueRequest): The request object. Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/tasks_v2beta3/services/cloud_tasks/async_client.py b/google/cloud/tasks_v2beta3/services/cloud_tasks/async_client.py index a1a29949..db78e633 100644 --- a/google/cloud/tasks_v2beta3/services/cloud_tasks/async_client.py +++ b/google/cloud/tasks_v2beta3/services/cloud_tasks/async_client.py @@ -1242,8 +1242,7 @@ async def sample_get_iam_policy(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]): - The request object. Request message for `GetIamPolicy` - method. + The request object. Request message for ``GetIamPolicy`` method. resource (:class:`str`): REQUIRED: The resource for which the policy is being requested. See the @@ -1430,8 +1429,7 @@ async def sample_set_iam_policy(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]): - The request object. Request message for `SetIamPolicy` - method. + The request object. Request message for ``SetIamPolicy`` method. resource (:class:`str`): REQUIRED: The resource for which the policy is being specified. See the @@ -1606,8 +1604,7 @@ async def sample_test_iam_permissions(): Args: request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]): - The request object. Request message for - `TestIamPermissions` method. + The request object. Request message for ``TestIamPermissions`` method. resource (:class:`str`): REQUIRED: The resource for which the policy detail is being requested. See @@ -1740,8 +1737,7 @@ async def sample_list_tasks(): Args: request (Optional[Union[google.cloud.tasks_v2beta3.types.ListTasksRequest, dict]]): - The request object. Request message for listing tasks - using + The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. parent (:class:`str`): Required. The queue name. For example: @@ -1865,8 +1861,7 @@ async def sample_get_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta3.types.GetTaskRequest, dict]]): - The request object. Request message for getting a task - using + The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. name (:class:`str`): Required. The task name. For example: @@ -2132,8 +2127,7 @@ async def sample_delete_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta3.types.DeleteTaskRequest, dict]]): - The request object. Request message for deleting a task - using + The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask]. name (:class:`str`): Required. The task name. For example: @@ -2263,8 +2257,7 @@ async def sample_run_task(): Args: request (Optional[Union[google.cloud.tasks_v2beta3.types.RunTaskRequest, dict]]): - The request object. Request message for forcing a task - to run now using + The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask]. name (:class:`str`): Required. The task name. For example: diff --git a/google/cloud/tasks_v2beta3/services/cloud_tasks/client.py b/google/cloud/tasks_v2beta3/services/cloud_tasks/client.py index 924cec34..c44723cd 100644 --- a/google/cloud/tasks_v2beta3/services/cloud_tasks/client.py +++ b/google/cloud/tasks_v2beta3/services/cloud_tasks/client.py @@ -1467,8 +1467,7 @@ def sample_get_iam_policy(): Args: request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]): - The request object. Request message for `GetIamPolicy` - method. + The request object. Request message for ``GetIamPolicy`` method. resource (str): REQUIRED: The resource for which the policy is being requested. See the @@ -1642,8 +1641,7 @@ def sample_set_iam_policy(): Args: request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]): - The request object. Request message for `SetIamPolicy` - method. + The request object. Request message for ``SetIamPolicy`` method. resource (str): REQUIRED: The resource for which the policy is being specified. See the @@ -1815,8 +1813,7 @@ def sample_test_iam_permissions(): Args: request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]): - The request object. Request message for - `TestIamPermissions` method. + The request object. Request message for ``TestIamPermissions`` method. resource (str): REQUIRED: The resource for which the policy detail is being requested. See @@ -1937,8 +1934,7 @@ def sample_list_tasks(): Args: request (Union[google.cloud.tasks_v2beta3.types.ListTasksRequest, dict]): - The request object. Request message for listing tasks - using + The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. parent (str): Required. The queue name. For example: @@ -2052,8 +2048,7 @@ def sample_get_task(): Args: request (Union[google.cloud.tasks_v2beta3.types.GetTaskRequest, dict]): - The request object. Request message for getting a task - using + The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. name (str): Required. The task name. For example: @@ -2309,8 +2304,7 @@ def sample_delete_task(): Args: request (Union[google.cloud.tasks_v2beta3.types.DeleteTaskRequest, dict]): - The request object. Request message for deleting a task - using + The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask]. name (str): Required. The task name. For example: @@ -2430,8 +2424,7 @@ def sample_run_task(): Args: request (Union[google.cloud.tasks_v2beta3.types.RunTaskRequest, dict]): - The request object. Request message for forcing a task - to run now using + The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask]. name (str): Required. The task name. For example: diff --git a/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py b/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py index adfc8d51..869b6d47 100644 --- a/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py +++ b/google/cloud/tasks_v2beta3/services/cloud_tasks/transports/rest.py @@ -629,7 +629,6 @@ def __call__( request (~.cloudtasks.CreateQueueRequest): The request object. Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -732,7 +731,6 @@ def __call__( request (~.cloudtasks.CreateTaskRequest): The request object. Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -829,7 +827,6 @@ def __call__( request (~.cloudtasks.DeleteQueueRequest): The request object. Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -905,7 +902,6 @@ def __call__( request (~.cloudtasks.DeleteTaskRequest): The request object. Request message for deleting a task using [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1151,7 +1147,6 @@ def __call__( request (~.cloudtasks.GetQueueRequest): The request object. Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1245,7 +1240,6 @@ def __call__( request (~.cloudtasks.GetTaskRequest): The request object. Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1333,7 +1327,6 @@ def __call__( request (~.cloudtasks.ListQueuesRequest): The request object. Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1423,7 +1416,6 @@ def __call__( request (~.cloudtasks.ListTasksRequest): The request object. Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1513,7 +1505,6 @@ def __call__( request (~.cloudtasks.PauseQueueRequest): The request object. Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1616,7 +1607,6 @@ def __call__( request (~.cloudtasks.PurgeQueueRequest): The request object. Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1719,7 +1709,6 @@ def __call__( request (~.cloudtasks.ResumeQueueRequest): The request object. Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1822,7 +1811,6 @@ def __call__( request (~.cloudtasks.RunTaskRequest): The request object. Request message for forcing a task to run now using [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2186,7 +2174,6 @@ def __call__( request (~.cloudtasks.UpdateQueueRequest): The request object. Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. From 0616d011ea4140ae284b7704a455dd207b613b1c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 27 Mar 2023 10:42:27 -0400 Subject: [PATCH 5/5] chore(main): release 2.13.1 (#343) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ google/cloud/tasks/gapic_version.py | 2 +- google/cloud/tasks_v2/gapic_version.py | 2 +- google/cloud/tasks_v2beta2/gapic_version.py | 2 +- google/cloud/tasks_v2beta3/gapic_version.py | 2 +- .../snippet_metadata_google.cloud.tasks.v2.json | 2 +- .../snippet_metadata_google.cloud.tasks.v2beta2.json | 2 +- .../snippet_metadata_google.cloud.tasks.v2beta3.json | 2 +- 9 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d18e9443..559e0867 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.13.0" + ".": "2.13.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 63208d91..06e7f33b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-cloud-tasks/#history +## [2.13.1](https://github.com/googleapis/python-tasks/compare/v2.13.0...v2.13.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#342](https://github.com/googleapis/python-tasks/issues/342)) ([85141f8](https://github.com/googleapis/python-tasks/commit/85141f82f6dabf02b39e34420a3bbcc754227040)) + ## [2.13.0](https://github.com/googleapis/python-tasks/compare/v2.12.1...v2.13.0) (2023-02-28) diff --git a/google/cloud/tasks/gapic_version.py b/google/cloud/tasks/gapic_version.py index a3c92559..4c0211a9 100644 --- a/google/cloud/tasks/gapic_version.py +++ b/google/cloud/tasks/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.13.0" # {x-release-please-version} +__version__ = "2.13.1" # {x-release-please-version} diff --git a/google/cloud/tasks_v2/gapic_version.py b/google/cloud/tasks_v2/gapic_version.py index a3c92559..4c0211a9 100644 --- a/google/cloud/tasks_v2/gapic_version.py +++ b/google/cloud/tasks_v2/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.13.0" # {x-release-please-version} +__version__ = "2.13.1" # {x-release-please-version} diff --git a/google/cloud/tasks_v2beta2/gapic_version.py b/google/cloud/tasks_v2beta2/gapic_version.py index a3c92559..4c0211a9 100644 --- a/google/cloud/tasks_v2beta2/gapic_version.py +++ b/google/cloud/tasks_v2beta2/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.13.0" # {x-release-please-version} +__version__ = "2.13.1" # {x-release-please-version} diff --git a/google/cloud/tasks_v2beta3/gapic_version.py b/google/cloud/tasks_v2beta3/gapic_version.py index a3c92559..4c0211a9 100644 --- a/google/cloud/tasks_v2beta3/gapic_version.py +++ b/google/cloud/tasks_v2beta3/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.13.0" # {x-release-please-version} +__version__ = "2.13.1" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json index 164c51d1..53a0de93 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-tasks", - "version": "0.1.0" + "version": "2.13.1" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json index 006a84eb..2c90b455 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta2.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-tasks", - "version": "0.1.0" + "version": "2.13.1" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json index 788516ef..07aa5cf4 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.tasks.v2beta3.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-tasks", - "version": "0.1.0" + "version": "2.13.1" }, "snippets": [ {