@@ -143,21 +143,6 @@ service DeliveryService {
143143 option (google.api.method_signature ) = "name" ;
144144 }
145145
146- // Deprecated: Use `GetTaskTrackingInfo` instead.
147- rpc SearchTasks (SearchTasksRequest ) returns (SearchTasksResponse ) {
148- option deprecated = true ;
149- option (google.api.http ) = {
150- get : "/v1/{parent=providers/*}/tasks:search"
151- };
152- option (google.api.routing ) = {
153- routing_parameters {
154- field : "parent"
155- path_template : "{provider_id=providers/*}"
156- }
157- };
158- option (google.api.method_signature ) = "parent" ;
159- }
160-
161146 // Updates `Task` data.
162147 rpc UpdateTask (UpdateTaskRequest ) returns (Task ) {
163148 option (google.api.http ) = {
@@ -440,59 +425,6 @@ message GetTaskRequest {
440425 ];
441426}
442427
443- // Deprecated: Issue `GetTaskTrackingInfoRequest`s to `GetTaskTrackingInfo`
444- // instead.
445- message SearchTasksRequest {
446- option deprecated = true ;
447-
448- // Optional. The standard Delivery API request header.
449- DeliveryRequestHeader header = 1 [(google.api.field_behavior ) = OPTIONAL ];
450-
451- // Required. Must be in the format `providers/{provider}`.
452- // The provider must be the Google Cloud Project ID. For example,
453- // `sample-cloud-project`.
454- string parent = 3 [(google.api.field_behavior ) = REQUIRED ];
455-
456- // Required. The identifier of the set of related Tasks being requested.
457- // Tracking IDs are subject to the following restrictions:
458- //
459- // * Must be a valid Unicode string.
460- // * Limited to a maximum length of 64 characters.
461- // * Normalized according to [Unicode Normalization Form C]
462- // (http://www.unicode.org/reports/tr15/).
463- // * May not contain any of the following ASCII characters: '/', ':', '?',
464- // ',', or '#'.
465- string tracking_id = 4 [(google.api.field_behavior ) = REQUIRED ];
466-
467- // Optional. The maximum number of Tasks to return. The service may return
468- // fewer than this value. If you don't specify this value, then the server
469- // determines the number of results to return.
470- int32 page_size = 5 [(google.api.field_behavior ) = OPTIONAL ];
471-
472- // Optional. A page token, received from a previous `SearchTasks` call. You
473- // must provide this value to retrieve the subsequent page.
474- //
475- // When paginating, all other parameters provided to `SearchTasks` must match
476- // the call that provided the page token.
477- string page_token = 6 [(google.api.field_behavior ) = OPTIONAL ];
478- }
479-
480- // The `SearchTasks` response. It contains the set of Tasks that meet the search
481- // criteria in the `SearchTasksRequest`.
482- message SearchTasksResponse {
483- option deprecated = true ;
484-
485- // The set of Tasks for the requested `tracking_id`. A successful response can
486- // also be empty. An empty response indicates that no Tasks are associated
487- // with the supplied `tracking_id`.
488- repeated Task tasks = 1 ;
489-
490- // Pass this token in the `SearchTasksRequest` to continue to
491- // list results. If all results have been returned, then this field is either
492- // an empty string, or it doesn't appear in the response.
493- string next_page_token = 2 ;
494- }
495-
496428// The `UpdateTask` request message.
497429message UpdateTaskRequest {
498430 // Optional. The standard Delivery API request header.
0 commit comments