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

Commit f68536d

Browse files
fix(tasks): change default timeout values; bump copyright year to 2020; change line breaks in docstrings (via synth) (#10271)
1 parent 5577817 commit f68536d

34 files changed

+389
-101
lines changed

google/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2/gapic/cloud_tasks_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2/gapic/cloud_tasks_client_config.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,77 +23,77 @@
2323
"retry_params_name": "default",
2424
},
2525
"GetQueue": {
26-
"timeout_millis": 60000,
26+
"timeout_millis": 10000,
2727
"retry_codes_name": "idempotent",
2828
"retry_params_name": "default",
2929
},
3030
"CreateQueue": {
31-
"timeout_millis": 60000,
31+
"timeout_millis": 10000,
3232
"retry_codes_name": "non_idempotent",
3333
"retry_params_name": "default",
3434
},
3535
"UpdateQueue": {
36-
"timeout_millis": 60000,
36+
"timeout_millis": 10000,
3737
"retry_codes_name": "non_idempotent",
3838
"retry_params_name": "default",
3939
},
4040
"DeleteQueue": {
41-
"timeout_millis": 60000,
42-
"retry_codes_name": "non_idempotent",
41+
"timeout_millis": 10000,
42+
"retry_codes_name": "idempotent",
4343
"retry_params_name": "default",
4444
},
4545
"PurgeQueue": {
46-
"timeout_millis": 60000,
46+
"timeout_millis": 10000,
4747
"retry_codes_name": "non_idempotent",
4848
"retry_params_name": "default",
4949
},
5050
"PauseQueue": {
51-
"timeout_millis": 60000,
51+
"timeout_millis": 10000,
5252
"retry_codes_name": "non_idempotent",
5353
"retry_params_name": "default",
5454
},
5555
"ResumeQueue": {
56-
"timeout_millis": 60000,
56+
"timeout_millis": 10000,
5757
"retry_codes_name": "non_idempotent",
5858
"retry_params_name": "default",
5959
},
6060
"GetIamPolicy": {
61-
"timeout_millis": 60000,
61+
"timeout_millis": 10000,
6262
"retry_codes_name": "non_idempotent",
6363
"retry_params_name": "default",
6464
},
6565
"SetIamPolicy": {
66-
"timeout_millis": 60000,
66+
"timeout_millis": 10000,
6767
"retry_codes_name": "non_idempotent",
6868
"retry_params_name": "default",
6969
},
7070
"TestIamPermissions": {
71-
"timeout_millis": 60000,
71+
"timeout_millis": 10000,
7272
"retry_codes_name": "non_idempotent",
7373
"retry_params_name": "default",
7474
},
7575
"ListTasks": {
76-
"timeout_millis": 60000,
76+
"timeout_millis": 10000,
7777
"retry_codes_name": "idempotent",
7878
"retry_params_name": "default",
7979
},
8080
"GetTask": {
81-
"timeout_millis": 60000,
81+
"timeout_millis": 10000,
8282
"retry_codes_name": "idempotent",
8383
"retry_params_name": "default",
8484
},
8585
"CreateTask": {
86-
"timeout_millis": 60000,
86+
"timeout_millis": 10000,
8787
"retry_codes_name": "non_idempotent",
8888
"retry_params_name": "default",
8989
},
9090
"DeleteTask": {
91-
"timeout_millis": 60000,
91+
"timeout_millis": 10000,
9292
"retry_codes_name": "non_idempotent",
9393
"retry_params_name": "default",
9494
},
9595
"RunTask": {
96-
"timeout_millis": 60000,
96+
"timeout_millis": 10000,
9797
"retry_codes_name": "non_idempotent",
9898
"retry_params_name": "default",
9999
},

google/cloud/tasks_v2/gapic/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2/gapic/transports/cloud_tasks_grpc_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2/proto/cloudtasks_pb2.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google/cloud/tasks_v2/proto/queue_pb2.py

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google/cloud/tasks_v2/proto/target_pb2.py

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google/cloud/tasks_v2/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2beta2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2beta2/gapic/cloud_tasks_client_config.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,97 +23,97 @@
2323
"retry_params_name": "default",
2424
},
2525
"GetQueue": {
26-
"timeout_millis": 60000,
26+
"timeout_millis": 10000,
2727
"retry_codes_name": "idempotent",
2828
"retry_params_name": "default",
2929
},
3030
"CreateQueue": {
31-
"timeout_millis": 60000,
31+
"timeout_millis": 10000,
3232
"retry_codes_name": "non_idempotent",
3333
"retry_params_name": "default",
3434
},
3535
"UpdateQueue": {
36-
"timeout_millis": 60000,
36+
"timeout_millis": 10000,
3737
"retry_codes_name": "non_idempotent",
3838
"retry_params_name": "default",
3939
},
4040
"DeleteQueue": {
41-
"timeout_millis": 60000,
42-
"retry_codes_name": "non_idempotent",
41+
"timeout_millis": 10000,
42+
"retry_codes_name": "idempotent",
4343
"retry_params_name": "default",
4444
},
4545
"PurgeQueue": {
46-
"timeout_millis": 60000,
46+
"timeout_millis": 10000,
4747
"retry_codes_name": "non_idempotent",
4848
"retry_params_name": "default",
4949
},
5050
"PauseQueue": {
51-
"timeout_millis": 60000,
51+
"timeout_millis": 10000,
5252
"retry_codes_name": "non_idempotent",
5353
"retry_params_name": "default",
5454
},
5555
"ResumeQueue": {
56-
"timeout_millis": 60000,
56+
"timeout_millis": 10000,
5757
"retry_codes_name": "non_idempotent",
5858
"retry_params_name": "default",
5959
},
6060
"GetIamPolicy": {
61-
"timeout_millis": 60000,
61+
"timeout_millis": 10000,
6262
"retry_codes_name": "non_idempotent",
6363
"retry_params_name": "default",
6464
},
6565
"SetIamPolicy": {
66-
"timeout_millis": 60000,
66+
"timeout_millis": 10000,
6767
"retry_codes_name": "non_idempotent",
6868
"retry_params_name": "default",
6969
},
7070
"TestIamPermissions": {
71-
"timeout_millis": 60000,
71+
"timeout_millis": 10000,
7272
"retry_codes_name": "non_idempotent",
7373
"retry_params_name": "default",
7474
},
7575
"ListTasks": {
76-
"timeout_millis": 60000,
76+
"timeout_millis": 10000,
7777
"retry_codes_name": "idempotent",
7878
"retry_params_name": "default",
7979
},
8080
"GetTask": {
81-
"timeout_millis": 60000,
81+
"timeout_millis": 10000,
8282
"retry_codes_name": "idempotent",
8383
"retry_params_name": "default",
8484
},
8585
"CreateTask": {
86-
"timeout_millis": 60000,
86+
"timeout_millis": 10000,
8787
"retry_codes_name": "non_idempotent",
8888
"retry_params_name": "default",
8989
},
9090
"DeleteTask": {
91-
"timeout_millis": 60000,
91+
"timeout_millis": 10000,
9292
"retry_codes_name": "non_idempotent",
9393
"retry_params_name": "default",
9494
},
9595
"LeaseTasks": {
96-
"timeout_millis": 60000,
96+
"timeout_millis": 10000,
9797
"retry_codes_name": "non_idempotent",
9898
"retry_params_name": "default",
9999
},
100100
"AcknowledgeTask": {
101-
"timeout_millis": 60000,
101+
"timeout_millis": 10000,
102102
"retry_codes_name": "non_idempotent",
103103
"retry_params_name": "default",
104104
},
105105
"RenewLease": {
106-
"timeout_millis": 60000,
106+
"timeout_millis": 10000,
107107
"retry_codes_name": "non_idempotent",
108108
"retry_params_name": "default",
109109
},
110110
"CancelLease": {
111-
"timeout_millis": 60000,
111+
"timeout_millis": 10000,
112112
"retry_codes_name": "non_idempotent",
113113
"retry_params_name": "default",
114114
},
115115
"RunTask": {
116-
"timeout_millis": 60000,
116+
"timeout_millis": 10000,
117117
"retry_codes_name": "non_idempotent",
118118
"retry_params_name": "default",
119119
},

google/cloud/tasks_v2beta2/gapic/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2beta2/gapic/transports/cloud_tasks_grpc_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright 2019 Google LLC
3+
# Copyright 2020 Google LLC
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

google/cloud/tasks_v2beta2/proto/cloudtasks_pb2.py

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google/cloud/tasks_v2beta2/proto/queue_pb2.py

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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