This repository was archived by the owner on Feb 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +135
-18
lines changed Expand file tree Collapse file tree 5 files changed +135
-18
lines changed Original file line number Diff line number Diff line change 59
59
},
60
60
"GetIamPolicy" : {
61
61
"timeout_millis" : 10000 ,
62
- "retry_codes_name" : "non_idempotent " ,
62
+ "retry_codes_name" : "idempotent " ,
63
63
"retry_params_name" : "default" ,
64
64
},
65
65
"SetIamPolicy" : {
69
69
},
70
70
"TestIamPermissions" : {
71
71
"timeout_millis" : 10000 ,
72
- "retry_codes_name" : "non_idempotent " ,
72
+ "retry_codes_name" : "idempotent " ,
73
73
"retry_params_name" : "default" ,
74
74
},
75
75
"ListTasks" : {
89
89
},
90
90
"DeleteTask" : {
91
91
"timeout_millis" : 10000 ,
92
- "retry_codes_name" : "non_idempotent " ,
92
+ "retry_codes_name" : "idempotent " ,
93
93
"retry_params_name" : "default" ,
94
94
},
95
95
"RunTask" : {
Original file line number Diff line number Diff line change @@ -166,6 +166,11 @@ message Queue {
166
166
// Purge time will be truncated to the nearest microsecond. Purge
167
167
// time will be unset if the queue has never been purged.
168
168
google.protobuf.Timestamp purge_time = 6 ;
169
+
170
+ // Configuration options for writing logs to
171
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
172
+ // field is unset, then no logs are written.
173
+ StackdriverLoggingConfig stackdriver_logging_config = 9 ;
169
174
}
170
175
171
176
// Rate limits.
@@ -344,3 +349,13 @@ message RetryConfig {
344
349
// queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
345
350
int32 max_doublings = 5 ;
346
351
}
352
+
353
+ // Configuration options for writing logs to
354
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/).
355
+ message StackdriverLoggingConfig {
356
+ // Specifies the fraction of operations to write to
357
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/).
358
+ // This field may contain any value between 0.0 and 1.0, inclusive.
359
+ // 0.0 is the default and means that no operations are logged.
360
+ double sampling_ratio = 1 ;
361
+ }
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ def default(session):
72
72
session .run (
73
73
"py.test" ,
74
74
"--quiet" ,
75
+ "--cov=google.cloud.cloudtasks" ,
75
76
"--cov=google.cloud" ,
76
77
"--cov=tests.unit" ,
77
78
"--cov-append" ,
You can’t perform that action at this time.
0 commit comments