Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 0b6ba36

Browse files
chore: use gapic-generator-python 0.63.4 (#224)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca893ff8af25fc7fe001de1405a517d80446ecca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
1 parent cbceff7 commit 0b6ba36

File tree

113 files changed

+520
-572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+520
-572
lines changed

google/cloud/tasks_v2/services/cloud_tasks/async_client.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async def list_queues(
223223
Queues are returned in lexicographical order.
224224
225225
226-
.. code-block::
226+
.. code-block:: python
227227
228228
from google.cloud import tasks_v2
229229
@@ -333,7 +333,7 @@ async def get_queue(
333333
) -> queue.Queue:
334334
r"""Gets a queue.
335335
336-
.. code-block::
336+
.. code-block:: python
337337
338338
from google.cloud import tasks_v2
339339
@@ -449,7 +449,7 @@ async def create_queue(
449449
before using this method.
450450
451451
452-
.. code-block::
452+
.. code-block:: python
453453
454454
from google.cloud import tasks_v2
455455
@@ -574,7 +574,7 @@ async def update_queue(
574574
before using this method.
575575
576576
577-
.. code-block::
577+
.. code-block:: python
578578
579579
from google.cloud import tasks_v2
580580
@@ -700,7 +700,7 @@ async def delete_queue(
700700
before using this method.
701701
702702
703-
.. code-block::
703+
.. code-block:: python
704704
705705
from google.cloud import tasks_v2
706706
@@ -796,7 +796,7 @@ async def purge_queue(
796796
effect. A purge is irreversible.
797797
798798
799-
.. code-block::
799+
.. code-block:: python
800800
801801
from google.cloud import tasks_v2
802802
@@ -898,7 +898,7 @@ async def pause_queue(
898898
[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
899899
900900
901-
.. code-block::
901+
.. code-block:: python
902902
903903
from google.cloud import tasks_v2
904904
@@ -1007,7 +1007,7 @@ async def resume_queue(
10071007
Risks <https://cloud.google.com/tasks/docs/manage-cloud-task-scaling>`__.
10081008
10091009
1010-
.. code-block::
1010+
.. code-block:: python
10111011
10121012
from google.cloud import tasks_v2
10131013
@@ -1110,7 +1110,7 @@ async def get_iam_policy(
11101110
- ``cloudtasks.queues.getIamPolicy``
11111111
11121112
1113-
.. code-block::
1113+
.. code-block:: python
11141114
11151115
from google.cloud import tasks_v2
11161116
@@ -1278,7 +1278,7 @@ async def set_iam_policy(
12781278
- ``cloudtasks.queues.setIamPolicy``
12791279
12801280
1281-
.. code-block::
1281+
.. code-block:: python
12821282
12831283
from google.cloud import tasks_v2
12841284
@@ -1433,7 +1433,7 @@ async def test_iam_permissions(
14331433
warning.
14341434
14351435
1436-
.. code-block::
1436+
.. code-block:: python
14371437
14381438
from google.cloud import tasks_v2
14391439
@@ -1555,7 +1555,7 @@ async def list_tasks(
15551555
at any time.
15561556
15571557
1558-
.. code-block::
1558+
.. code-block:: python
15591559
15601560
from google.cloud import tasks_v2
15611561
@@ -1666,7 +1666,7 @@ async def get_task(
16661666
) -> task.Task:
16671667
r"""Gets a task.
16681668
1669-
.. code-block::
1669+
.. code-block:: python
16701670
16711671
from google.cloud import tasks_v2
16721672
@@ -1772,7 +1772,7 @@ async def create_task(
17721772
- The maximum task size is 100KB.
17731773
17741774
1775-
.. code-block::
1775+
.. code-block:: python
17761776
17771777
from google.cloud import tasks_v2
17781778
@@ -1914,7 +1914,7 @@ async def delete_task(
19141914
or permanently failed.
19151915
19161916
1917-
.. code-block::
1917+
.. code-block:: python
19181918
19191919
from google.cloud import tasks_v2
19201920
@@ -2032,7 +2032,7 @@ async def run_task(
20322032
task that has already succeeded or permanently failed.
20332033
20342034
2035-
.. code-block::
2035+
.. code-block:: python
20362036
20372037
from google.cloud import tasks_v2
20382038

google/cloud/tasks_v2/services/cloud_tasks/client.py

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,7 @@ def list_queues(
438438
Queues are returned in lexicographical order.
439439
440440
441-
442-
.. code-block::
441+
.. code-block:: python
443442
444443
from google.cloud import tasks_v2
445444
@@ -539,8 +538,7 @@ def get_queue(
539538
) -> queue.Queue:
540539
r"""Gets a queue.
541540
542-
543-
.. code-block::
541+
.. code-block:: python
544542
545543
from google.cloud import tasks_v2
546544
@@ -646,8 +644,7 @@ def create_queue(
646644
before using this method.
647645
648646
649-
650-
.. code-block::
647+
.. code-block:: python
651648
652649
from google.cloud import tasks_v2
653650
@@ -772,8 +769,7 @@ def update_queue(
772769
before using this method.
773770
774771
775-
776-
.. code-block::
772+
.. code-block:: python
777773
778774
from google.cloud import tasks_v2
779775
@@ -899,8 +895,7 @@ def delete_queue(
899895
before using this method.
900896
901897
902-
903-
.. code-block::
898+
.. code-block:: python
904899
905900
from google.cloud import tasks_v2
906901
@@ -986,8 +981,7 @@ def purge_queue(
986981
effect. A purge is irreversible.
987982
988983
989-
990-
.. code-block::
984+
.. code-block:: python
991985
992986
from google.cloud import tasks_v2
993987
@@ -1089,8 +1083,7 @@ def pause_queue(
10891083
[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
10901084
10911085
1092-
1093-
.. code-block::
1086+
.. code-block:: python
10941087
10951088
from google.cloud import tasks_v2
10961089
@@ -1199,8 +1192,7 @@ def resume_queue(
11991192
Risks <https://cloud.google.com/tasks/docs/manage-cloud-task-scaling>`__.
12001193
12011194
1202-
1203-
.. code-block::
1195+
.. code-block:: python
12041196
12051197
from google.cloud import tasks_v2
12061198
@@ -1303,8 +1295,7 @@ def get_iam_policy(
13031295
- ``cloudtasks.queues.getIamPolicy``
13041296
13051297
1306-
1307-
.. code-block::
1298+
.. code-block:: python
13081299
13091300
from google.cloud import tasks_v2
13101301
@@ -1461,8 +1452,7 @@ def set_iam_policy(
14611452
- ``cloudtasks.queues.setIamPolicy``
14621453
14631454
1464-
1465-
.. code-block::
1455+
.. code-block:: python
14661456
14671457
from google.cloud import tasks_v2
14681458
@@ -1616,8 +1606,7 @@ def test_iam_permissions(
16161606
warning.
16171607
16181608
1619-
1620-
.. code-block::
1609+
.. code-block:: python
16211610
16221611
from google.cloud import tasks_v2
16231612
@@ -1728,8 +1717,7 @@ def list_tasks(
17281717
at any time.
17291718
17301719
1731-
1732-
.. code-block::
1720+
.. code-block:: python
17331721
17341722
from google.cloud import tasks_v2
17351723
@@ -1830,8 +1818,7 @@ def get_task(
18301818
) -> task.Task:
18311819
r"""Gets a task.
18321820
1833-
1834-
.. code-block::
1821+
.. code-block:: python
18351822
18361823
from google.cloud import tasks_v2
18371824
@@ -1927,8 +1914,7 @@ def create_task(
19271914
- The maximum task size is 100KB.
19281915
19291916
1930-
1931-
.. code-block::
1917+
.. code-block:: python
19321918
19331919
from google.cloud import tasks_v2
19341920
@@ -2070,8 +2056,7 @@ def delete_task(
20702056
or permanently failed.
20712057
20722058
2073-
2074-
.. code-block::
2059+
.. code-block:: python
20752060
20762061
from google.cloud import tasks_v2
20772062
@@ -2179,8 +2164,7 @@ def run_task(
21792164
task that has already succeeded or permanently failed.
21802165
21812166
2182-
2183-
.. code-block::
2167+
.. code-block:: python
21842168
21852169
from google.cloud import tasks_v2
21862170

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy