@@ -52,11 +52,10 @@ option java_package = "com.google.cloud.tasks.v2";
52
52
// The [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] used to construct the URL that the task is
53
53
// delivered to can be set at the queue-level or task-level:
54
54
//
55
- // * If set,
56
- // [app_engine_routing_override][google.cloud.tasks.v2.AppEngineHttpQueue.app_engine_routing_override]
57
- // is used for all tasks in the queue, no matter what the setting
58
- // is for the
59
- // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
55
+ // * If [app_engine_routing_override is set on the
56
+ // queue][Queue.app_engine_routing_override], this value is used for all
57
+ // tasks in the queue, no matter what the setting is for the [task-level
58
+ // app_engine_routing][AppEngineHttpRequest.app_engine_routing].
60
59
//
61
60
//
62
61
// The `url` that the task will be sent to is:
@@ -79,7 +78,7 @@ option java_package = "com.google.cloud.tasks.v2";
79
78
// the app's handler returns a non-2xx response code or Cloud Tasks does
80
79
// not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed
81
80
// tasks will be retried according to the
82
- // [retry configuration][Queue.RetryConfig ]. `503` (Service Unavailable) is
81
+ // [retry configuration][google.cloud.tasks.v2. Queue.retry_config ]. `503` (Service Unavailable) is
83
82
// considered an App Engine system error instead of an application error and
84
83
// will cause Cloud Tasks' traffic congestion control to temporarily throttle
85
84
// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
@@ -101,10 +100,10 @@ message AppEngineHttpRequest {
101
100
102
101
// Task-level setting for App Engine routing.
103
102
//
104
- // If set,
105
- // [app_engine_routing_override][google.cloud.tasks.v2.AppEngineHttpQueue. app_engine_routing_override]
106
- // is used for all tasks in the queue, no matter what the setting is for the
107
- // [task-level app_engine_routing][google.cloud.tasks.v2. AppEngineHttpRequest.app_engine_routing].
103
+ // * If [app_engine_routing_override is set on the
104
+ // queue][Queue. app_engine_routing_override], this value is used for all
105
+ // tasks in the queue, no matter what the setting is for the [task-level
106
+ // app_engine_routing][AppEngineHttpRequest.app_engine_routing].
108
107
AppEngineRouting app_engine_routing = 2 ;
109
108
110
109
// The relative URI.
@@ -180,6 +179,13 @@ message AppEngineHttpRequest {
180
179
// routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
181
180
// and [App Engine Flex request
182
181
// routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
182
+ //
183
+ // Using [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] requires
184
+ // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
185
+ // Google IAM permission for the project
186
+ // and the following scope:
187
+ //
188
+ // `https://www.googleapis.com/auth/cloud-platform`
183
189
message AppEngineRouting {
184
190
// App service.
185
191
//
0 commit comments