@@ -19,12 +19,12 @@ package google.cloud.tasks.v2beta3; |
19 | 19 |
|
20 | 20 | import "google/api/annotations.proto"; |
21 | 21 | import "google/api/resource.proto"; |
22 | | -import "google/protobuf/empty.proto"; |
23 | | -import "google/protobuf/field_mask.proto"; |
24 | | -import "google/cloud/tasks/v2beta3/task.proto"; |
25 | 22 | import "google/cloud/tasks/v2beta3/queue.proto"; |
| 23 | +import "google/cloud/tasks/v2beta3/task.proto"; |
26 | 24 | import "google/iam/v1/iam_policy.proto"; |
27 | 25 | import "google/iam/v1/policy.proto"; |
| 26 | +import "google/protobuf/empty.proto"; |
| 27 | +import "google/protobuf/field_mask.proto"; |
28 | 28 | import "google/rpc/code.proto"; |
29 | 29 |
|
30 | 30 | option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; |
@@ -61,8 +61,9 @@ service CloudTasks { |
61 | 61 | // WARNING: Using this method may have unintended side effects if you are |
62 | 62 | // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. |
63 | 63 | // Read |
64 | | - // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) |
65 | | - // before using this method. |
| 64 | + // [Overview of Queue Management and |
| 65 | + // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using |
| 66 | + // this method. |
66 | 67 | rpc CreateQueue(CreateQueueRequest) returns (Queue) { |
67 | 68 | option (google.api.http) = { |
68 | 69 | post: "/v2beta3/{parent=projects/*/locations/*}/queues" |
@@ -82,8 +83,9 @@ service CloudTasks { |
82 | 83 | // WARNING: Using this method may have unintended side effects if you are |
83 | 84 | // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. |
84 | 85 | // Read |
85 | | - // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) |
86 | | - // before using this method. |
| 86 | + // [Overview of Queue Management and |
| 87 | + // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using |
| 88 | + // this method. |
87 | 89 | rpc UpdateQueue(UpdateQueueRequest) returns (Queue) { |
88 | 90 | option (google.api.http) = { |
89 | 91 | patch: "/v2beta3/{queue.name=projects/*/locations/*/queues/*}" |
@@ -101,8 +103,9 @@ service CloudTasks { |
101 | 103 | // WARNING: Using this method may have unintended side effects if you are |
102 | 104 | // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. |
103 | 105 | // Read |
104 | | - // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) |
105 | | - // before using this method. |
| 106 | + // [Overview of Queue Management and |
| 107 | + // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using |
| 108 | + // this method. |
106 | 109 | rpc DeleteQueue(DeleteQueueRequest) returns (google.protobuf.Empty) { |
107 | 110 | option (google.api.http) = { |
108 | 111 | delete: "/v2beta3/{name=projects/*/locations/*/queues/*}" |
@@ -147,7 +150,8 @@ service CloudTasks { |
147 | 150 | // WARNING: Resuming many high-QPS queues at the same time can |
148 | 151 | // lead to target overloading. If you are resuming high-QPS |
149 | 152 | // queues, follow the 500/50/5 pattern described in |
150 | | - // [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). |
| 153 | + // [Managing Cloud Tasks Scaling |
| 154 | + // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). |
151 | 155 | rpc ResumeQueue(ResumeQueueRequest) returns (Queue) { |
152 | 156 | option (google.api.http) = { |
153 | 157 | post: "/v2beta3/{name=projects/*/locations/*/queues/*}:resume" |
@@ -293,7 +297,8 @@ message ListQueuesRequest { |
293 | 297 | // field can be used as a filter and several operators as supported. |
294 | 298 | // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as |
295 | 299 | // described in |
296 | | - // [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). |
| 300 | + // [Stackdriver's Advanced Logs |
| 301 | + // Filters](https://cloud.google.com/logging/docs/view/advanced_filters). |
297 | 302 | // |
298 | 303 | // Sample filter "state: PAUSED". |
299 | 304 | // |
@@ -444,13 +449,14 @@ message ListTasksRequest { |
444 | 449 | // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. |
445 | 450 | Task.View response_view = 2; |
446 | 451 |
|
447 | | - // Requested page size. Fewer tasks than requested might be returned. |
| 452 | + // Maximum page size. |
| 453 | + // |
| 454 | + // Fewer tasks than requested might be returned, even if more tasks exist; use |
| 455 | + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the response to |
| 456 | + // determine if more tasks exist. |
448 | 457 | // |
449 | | - // The maximum page size is 1000. If unspecified, the page size will |
450 | | - // be the maximum. Fewer tasks than requested might be returned, |
451 | | - // even if more tasks exist; use |
452 | | - // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the |
453 | | - // response to determine if more tasks exist. |
| 458 | + // The maximum page size is 1000. If unspecified, the page size will be the |
| 459 | + // maximum. |
454 | 460 | int32 page_size = 3; |
455 | 461 |
|
456 | 462 | // A token identifying the page of results to return. |
|