@@ -19,7 +19,6 @@ package google.cloud.tasks.v2beta3;
1919import "google/api/annotations.proto" ;
2020import "google/api/client.proto" ;
2121import "google/api/field_behavior.proto" ;
22- import "google/api/httpbody.proto" ;
2322import "google/api/resource.proto" ;
2423import "google/cloud/tasks/v2beta3/queue.proto" ;
2524import "google/cloud/tasks/v2beta3/task.proto" ;
@@ -313,25 +312,6 @@ service CloudTasks {
313312 };
314313 option (google.api.method_signature ) = "name" ;
315314 }
316-
317- // Creates and buffers a new task without the need to explicitly define a Task
318- // message. The queue must have [HTTP
319- // target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a
320- // custom ID, use the following format and set TASK_ID to your desired ID:
321- // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
322- // To create the task with an automatically generated ID, use the following
323- // format:
324- // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
325- // Note: This feature is in its experimental stage. You must request access to
326- // the API through the [Cloud Tasks BufferTask Experiment Signup
327- // form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
328- rpc BufferTask (BufferTaskRequest ) returns (BufferTaskResponse ) {
329- option (google.api.http ) = {
330- post : "/v2beta3/{queue=projects/*/locations/*/queues/*}/tasks/{task_id}:buffer"
331- body : "*"
332- };
333- option (google.api.method_signature ) = "queue,task_id,body" ;
334- }
335315}
336316
337317// Request message for
@@ -714,35 +694,3 @@ message RunTaskRequest {
714694 // [Task][google.cloud.tasks.v2beta3.Task] resource.
715695 Task.View response_view = 2 ;
716696}
717-
718- // Request message for
719- // [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask].
720- message BufferTaskRequest {
721- // Required. The parent queue name. For example:
722- // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
723- //
724- // The queue must already exist.
725- string queue = 1 [
726- (google.api.field_behavior ) = REQUIRED ,
727- (google.api.resource_reference ) = {
728- child_type : "cloudtasks.googleapis.com/Task"
729- }
730- ];
731-
732- // Optional. Task ID for the task being created. If not provided, a random
733- // task ID is assigned to the task.
734- string task_id = 2 [(google.api.field_behavior ) = OPTIONAL ];
735-
736- // Optional. Body of the HTTP request.
737- //
738- // The body can take any generic value. The value is written to the
739- // [HttpRequest][payload] of the [Task].
740- google.api.HttpBody body = 3 [(google.api.field_behavior ) = OPTIONAL ];
741- }
742-
743- // Response message for
744- // [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask].
745- message BufferTaskResponse {
746- // The created task.
747- Task task = 1 ;
748- }
0 commit comments