Skip to content

Commit 3d50414

Browse files
Google APIscopybara-github
authored andcommitted
fix!: An existing method UpdateVehicleLocation is removed from service VehicleService
fix!: An existing method `SearchFuzzedVehicles` is removed from service `VehicleService` fix!: An existing message `UpdateVehicleLocationRequest` is removed PiperOrigin-RevId: 631557549
1 parent 3597f7d commit 3d50414

File tree

2 files changed

+0
-124
lines changed

2 files changed

+0
-124
lines changed

google/maps/fleetengine/delivery/v1/delivery_api.proto

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
497429
message UpdateTaskRequest {
498430
// Optional. The standard Delivery API request header.

google/maps/fleetengine/v1/vehicle_api.proto

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,6 @@ service VehicleService {
129129
};
130130
}
131131

132-
// Deprecated: Use the `UpdateVehicle` method instead.
133-
// UpdateVehicleLocation updates the location of the vehicle.
134-
rpc UpdateVehicleLocation(UpdateVehicleLocationRequest)
135-
returns (VehicleLocation) {
136-
option deprecated = true;
137-
option (google.api.http) = {
138-
put: "/v1/{name=providers/*/vehicles/*}:updateLocation"
139-
body: "*"
140-
};
141-
option (google.api.routing) = {
142-
routing_parameters {
143-
field: "name"
144-
path_template: "{provider_id=providers/*}"
145-
}
146-
};
147-
}
148-
149132
// Partially updates a vehicle's attributes.
150133
// Only the attributes mentioned in the request will be updated, other
151134
// attributes will NOT be altered. Note: this is different in `UpdateVehicle`,
@@ -192,22 +175,6 @@ service VehicleService {
192175
}
193176
};
194177
}
195-
196-
// Deprecated: Use `SearchVehicles` instead.
197-
rpc SearchFuzzedVehicles(SearchVehiclesRequest)
198-
returns (SearchVehiclesResponse) {
199-
option deprecated = true;
200-
option (google.api.http) = {
201-
post: "/v1/{parent=providers/*}/vehicles:searchFuzzed"
202-
body: "*"
203-
};
204-
option (google.api.routing) = {
205-
routing_parameters {
206-
field: "parent"
207-
path_template: "{provider_id=providers/*}"
208-
}
209-
};
210-
}
211178
}
212179

213180
// `CreateVehicle` request message.
@@ -328,29 +295,6 @@ message UpdateVehicleRequest {
328295
[(google.api.field_behavior) = REQUIRED];
329296
}
330297

331-
// `UpdateVehicleLocation` request message.
332-
message UpdateVehicleLocationRequest {
333-
option deprecated = true;
334-
335-
// The standard Fleet Engine request header.
336-
RequestHeader header = 1;
337-
338-
// Required. Must be in the format
339-
// `providers/{provider}/vehicles/{vehicle}`.
340-
// The {provider} must be the Project ID (for example, `sample-cloud-project`)
341-
// of the Google Cloud Project of which the service account making
342-
// this call is a member.
343-
string name = 3 [(google.api.field_behavior) = REQUIRED];
344-
345-
// Required. The vehicle's most recent location. The `location` and
346-
// `update_time` subfields are required.
347-
VehicleLocation current_location = 4 [(google.api.field_behavior) = REQUIRED];
348-
349-
// Set the vehicle's state to either `ONLINE` or `OFFLINE`.
350-
// If set to `UNKNOWN_VEHICLE_STATE`, the vehicle's state will not be altered.
351-
VehicleState current_state = 5;
352-
}
353-
354298
// `UpdateVehicleAttributes` request message.
355299
message UpdateVehicleAttributesRequest {
356300
// The standard Fleet Engine request header.

0 commit comments

Comments
 (0)