@googlemaps/fleetengine 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -7674,39 +7674,6 @@
7674
7674
  * @variation 2
7675
7675
  */
7676
7676
 
7677
- /**
7678
- * Callback as used by {@link maps.fleetengine.v1.VehicleService|updateVehicleLocation}.
7679
- * @memberof maps.fleetengine.v1.VehicleService
7680
- * @typedef UpdateVehicleLocationCallback
7681
- * @type {function}
7682
- * @param {Error|null} error Error, if any
7683
- * @param {maps.fleetengine.v1.VehicleLocation} [response] VehicleLocation
7684
- */
7685
-
7686
- /**
7687
- * Calls UpdateVehicleLocation.
7688
- * @function updateVehicleLocation
7689
- * @memberof maps.fleetengine.v1.VehicleService
7690
- * @instance
7691
- * @param {maps.fleetengine.v1.IUpdateVehicleLocationRequest} request UpdateVehicleLocationRequest message or plain object
7692
- * @param {maps.fleetengine.v1.VehicleService.UpdateVehicleLocationCallback} callback Node-style callback called with the error, if any, and VehicleLocation
7693
- * @returns {undefined}
7694
- * @variation 1
7695
- */
7696
- Object.defineProperty(VehicleService.prototype.updateVehicleLocation = function updateVehicleLocation(request, callback) {
7697
- return this.rpcCall(updateVehicleLocation, $root.maps.fleetengine.v1.UpdateVehicleLocationRequest, $root.maps.fleetengine.v1.VehicleLocation, request, callback);
7698
- }, "name", { value: "UpdateVehicleLocation" });
7699
-
7700
- /**
7701
- * Calls UpdateVehicleLocation.
7702
- * @function updateVehicleLocation
7703
- * @memberof maps.fleetengine.v1.VehicleService
7704
- * @instance
7705
- * @param {maps.fleetengine.v1.IUpdateVehicleLocationRequest} request UpdateVehicleLocationRequest message or plain object
7706
- * @returns {Promise<maps.fleetengine.v1.VehicleLocation>} Promise
7707
- * @variation 2
7708
- */
7709
-
7710
7677
  /**
7711
7678
  * Callback as used by {@link maps.fleetengine.v1.VehicleService|updateVehicleAttributes}.
7712
7679
  * @memberof maps.fleetengine.v1.VehicleService
@@ -7806,39 +7773,6 @@
7806
7773
  * @variation 2
7807
7774
  */
7808
7775
 
7809
- /**
7810
- * Callback as used by {@link maps.fleetengine.v1.VehicleService|searchFuzzedVehicles}.
7811
- * @memberof maps.fleetengine.v1.VehicleService
7812
- * @typedef SearchFuzzedVehiclesCallback
7813
- * @type {function}
7814
- * @param {Error|null} error Error, if any
7815
- * @param {maps.fleetengine.v1.SearchVehiclesResponse} [response] SearchVehiclesResponse
7816
- */
7817
-
7818
- /**
7819
- * Calls SearchFuzzedVehicles.
7820
- * @function searchFuzzedVehicles
7821
- * @memberof maps.fleetengine.v1.VehicleService
7822
- * @instance
7823
- * @param {maps.fleetengine.v1.ISearchVehiclesRequest} request SearchVehiclesRequest message or plain object
7824
- * @param {maps.fleetengine.v1.VehicleService.SearchFuzzedVehiclesCallback} callback Node-style callback called with the error, if any, and SearchVehiclesResponse
7825
- * @returns {undefined}
7826
- * @variation 1
7827
- */
7828
- Object.defineProperty(VehicleService.prototype.searchFuzzedVehicles = function searchFuzzedVehicles(request, callback) {
7829
- return this.rpcCall(searchFuzzedVehicles, $root.maps.fleetengine.v1.SearchVehiclesRequest, $root.maps.fleetengine.v1.SearchVehiclesResponse, request, callback);
7830
- }, "name", { value: "SearchFuzzedVehicles" });
7831
-
7832
- /**
7833
- * Calls SearchFuzzedVehicles.
7834
- * @function searchFuzzedVehicles
7835
- * @memberof maps.fleetengine.v1.VehicleService
7836
- * @instance
7837
- * @param {maps.fleetengine.v1.ISearchVehiclesRequest} request SearchVehiclesRequest message or plain object
7838
- * @returns {Promise<maps.fleetengine.v1.SearchVehiclesResponse>} Promise
7839
- * @variation 2
7840
- */
7841
-
7842
7776
  return VehicleService;
7843
7777
  })();
7844
7778
 
@@ -8701,313 +8635,6 @@
8701
8635
  return UpdateVehicleRequest;
8702
8636
  })();
8703
8637
 
8704
- v1.UpdateVehicleLocationRequest = (function() {
8705
-
8706
- /**
8707
- * Properties of an UpdateVehicleLocationRequest.
8708
- * @memberof maps.fleetengine.v1
8709
- * @interface IUpdateVehicleLocationRequest
8710
- * @property {maps.fleetengine.v1.IRequestHeader|null} [header] UpdateVehicleLocationRequest header
8711
- * @property {string|null} [name] UpdateVehicleLocationRequest name
8712
- * @property {maps.fleetengine.v1.IVehicleLocation|null} [currentLocation] UpdateVehicleLocationRequest currentLocation
8713
- * @property {maps.fleetengine.v1.VehicleState|null} [currentState] UpdateVehicleLocationRequest currentState
8714
- */
8715
-
8716
- /**
8717
- * Constructs a new UpdateVehicleLocationRequest.
8718
- * @memberof maps.fleetengine.v1
8719
- * @classdesc Represents an UpdateVehicleLocationRequest.
8720
- * @implements IUpdateVehicleLocationRequest
8721
- * @constructor
8722
- * @param {maps.fleetengine.v1.IUpdateVehicleLocationRequest=} [properties] Properties to set
8723
- */
8724
- function UpdateVehicleLocationRequest(properties) {
8725
- if (properties)
8726
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
8727
- if (properties[keys[i]] != null)
8728
- this[keys[i]] = properties[keys[i]];
8729
- }
8730
-
8731
- /**
8732
- * UpdateVehicleLocationRequest header.
8733
- * @member {maps.fleetengine.v1.IRequestHeader|null|undefined} header
8734
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8735
- * @instance
8736
- */
8737
- UpdateVehicleLocationRequest.prototype.header = null;
8738
-
8739
- /**
8740
- * UpdateVehicleLocationRequest name.
8741
- * @member {string} name
8742
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8743
- * @instance
8744
- */
8745
- UpdateVehicleLocationRequest.prototype.name = "";
8746
-
8747
- /**
8748
- * UpdateVehicleLocationRequest currentLocation.
8749
- * @member {maps.fleetengine.v1.IVehicleLocation|null|undefined} currentLocation
8750
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8751
- * @instance
8752
- */
8753
- UpdateVehicleLocationRequest.prototype.currentLocation = null;
8754
-
8755
- /**
8756
- * UpdateVehicleLocationRequest currentState.
8757
- * @member {maps.fleetengine.v1.VehicleState} currentState
8758
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8759
- * @instance
8760
- */
8761
- UpdateVehicleLocationRequest.prototype.currentState = 0;
8762
-
8763
- /**
8764
- * Creates a new UpdateVehicleLocationRequest instance using the specified properties.
8765
- * @function create
8766
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8767
- * @static
8768
- * @param {maps.fleetengine.v1.IUpdateVehicleLocationRequest=} [properties] Properties to set
8769
- * @returns {maps.fleetengine.v1.UpdateVehicleLocationRequest} UpdateVehicleLocationRequest instance
8770
- */
8771
- UpdateVehicleLocationRequest.create = function create(properties) {
8772
- return new UpdateVehicleLocationRequest(properties);
8773
- };
8774
-
8775
- /**
8776
- * Encodes the specified UpdateVehicleLocationRequest message. Does not implicitly {@link maps.fleetengine.v1.UpdateVehicleLocationRequest.verify|verify} messages.
8777
- * @function encode
8778
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8779
- * @static
8780
- * @param {maps.fleetengine.v1.IUpdateVehicleLocationRequest} message UpdateVehicleLocationRequest message or plain object to encode
8781
- * @param {$protobuf.Writer} [writer] Writer to encode to
8782
- * @returns {$protobuf.Writer} Writer
8783
- */
8784
- UpdateVehicleLocationRequest.encode = function encode(message, writer) {
8785
- if (!writer)
8786
- writer = $Writer.create();
8787
- if (message.header != null && Object.hasOwnProperty.call(message, "header"))
8788
- $root.maps.fleetengine.v1.RequestHeader.encode(message.header, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
8789
- if (message.name != null && Object.hasOwnProperty.call(message, "name"))
8790
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.name);
8791
- if (message.currentLocation != null && Object.hasOwnProperty.call(message, "currentLocation"))
8792
- $root.maps.fleetengine.v1.VehicleLocation.encode(message.currentLocation, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
8793
- if (message.currentState != null && Object.hasOwnProperty.call(message, "currentState"))
8794
- writer.uint32(/* id 5, wireType 0 =*/40).int32(message.currentState);
8795
- return writer;
8796
- };
8797
-
8798
- /**
8799
- * Encodes the specified UpdateVehicleLocationRequest message, length delimited. Does not implicitly {@link maps.fleetengine.v1.UpdateVehicleLocationRequest.verify|verify} messages.
8800
- * @function encodeDelimited
8801
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8802
- * @static
8803
- * @param {maps.fleetengine.v1.IUpdateVehicleLocationRequest} message UpdateVehicleLocationRequest message or plain object to encode
8804
- * @param {$protobuf.Writer} [writer] Writer to encode to
8805
- * @returns {$protobuf.Writer} Writer
8806
- */
8807
- UpdateVehicleLocationRequest.encodeDelimited = function encodeDelimited(message, writer) {
8808
- return this.encode(message, writer).ldelim();
8809
- };
8810
-
8811
- /**
8812
- * Decodes an UpdateVehicleLocationRequest message from the specified reader or buffer.
8813
- * @function decode
8814
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8815
- * @static
8816
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
8817
- * @param {number} [length] Message length if known beforehand
8818
- * @returns {maps.fleetengine.v1.UpdateVehicleLocationRequest} UpdateVehicleLocationRequest
8819
- * @throws {Error} If the payload is not a reader or valid buffer
8820
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
8821
- */
8822
- UpdateVehicleLocationRequest.decode = function decode(reader, length) {
8823
- if (!(reader instanceof $Reader))
8824
- reader = $Reader.create(reader);
8825
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.maps.fleetengine.v1.UpdateVehicleLocationRequest();
8826
- while (reader.pos < end) {
8827
- var tag = reader.uint32();
8828
- switch (tag >>> 3) {
8829
- case 1: {
8830
- message.header = $root.maps.fleetengine.v1.RequestHeader.decode(reader, reader.uint32());
8831
- break;
8832
- }
8833
- case 3: {
8834
- message.name = reader.string();
8835
- break;
8836
- }
8837
- case 4: {
8838
- message.currentLocation = $root.maps.fleetengine.v1.VehicleLocation.decode(reader, reader.uint32());
8839
- break;
8840
- }
8841
- case 5: {
8842
- message.currentState = reader.int32();
8843
- break;
8844
- }
8845
- default:
8846
- reader.skipType(tag & 7);
8847
- break;
8848
- }
8849
- }
8850
- return message;
8851
- };
8852
-
8853
- /**
8854
- * Decodes an UpdateVehicleLocationRequest message from the specified reader or buffer, length delimited.
8855
- * @function decodeDelimited
8856
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8857
- * @static
8858
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
8859
- * @returns {maps.fleetengine.v1.UpdateVehicleLocationRequest} UpdateVehicleLocationRequest
8860
- * @throws {Error} If the payload is not a reader or valid buffer
8861
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
8862
- */
8863
- UpdateVehicleLocationRequest.decodeDelimited = function decodeDelimited(reader) {
8864
- if (!(reader instanceof $Reader))
8865
- reader = new $Reader(reader);
8866
- return this.decode(reader, reader.uint32());
8867
- };
8868
-
8869
- /**
8870
- * Verifies an UpdateVehicleLocationRequest message.
8871
- * @function verify
8872
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8873
- * @static
8874
- * @param {Object.<string,*>} message Plain object to verify
8875
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
8876
- */
8877
- UpdateVehicleLocationRequest.verify = function verify(message) {
8878
- if (typeof message !== "object" || message === null)
8879
- return "object expected";
8880
- if (message.header != null && message.hasOwnProperty("header")) {
8881
- var error = $root.maps.fleetengine.v1.RequestHeader.verify(message.header);
8882
- if (error)
8883
- return "header." + error;
8884
- }
8885
- if (message.name != null && message.hasOwnProperty("name"))
8886
- if (!$util.isString(message.name))
8887
- return "name: string expected";
8888
- if (message.currentLocation != null && message.hasOwnProperty("currentLocation")) {
8889
- var error = $root.maps.fleetengine.v1.VehicleLocation.verify(message.currentLocation);
8890
- if (error)
8891
- return "currentLocation." + error;
8892
- }
8893
- if (message.currentState != null && message.hasOwnProperty("currentState"))
8894
- switch (message.currentState) {
8895
- default:
8896
- return "currentState: enum value expected";
8897
- case 0:
8898
- case 1:
8899
- case 2:
8900
- break;
8901
- }
8902
- return null;
8903
- };
8904
-
8905
- /**
8906
- * Creates an UpdateVehicleLocationRequest message from a plain object. Also converts values to their respective internal types.
8907
- * @function fromObject
8908
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8909
- * @static
8910
- * @param {Object.<string,*>} object Plain object
8911
- * @returns {maps.fleetengine.v1.UpdateVehicleLocationRequest} UpdateVehicleLocationRequest
8912
- */
8913
- UpdateVehicleLocationRequest.fromObject = function fromObject(object) {
8914
- if (object instanceof $root.maps.fleetengine.v1.UpdateVehicleLocationRequest)
8915
- return object;
8916
- var message = new $root.maps.fleetengine.v1.UpdateVehicleLocationRequest();
8917
- if (object.header != null) {
8918
- if (typeof object.header !== "object")
8919
- throw TypeError(".maps.fleetengine.v1.UpdateVehicleLocationRequest.header: object expected");
8920
- message.header = $root.maps.fleetengine.v1.RequestHeader.fromObject(object.header);
8921
- }
8922
- if (object.name != null)
8923
- message.name = String(object.name);
8924
- if (object.currentLocation != null) {
8925
- if (typeof object.currentLocation !== "object")
8926
- throw TypeError(".maps.fleetengine.v1.UpdateVehicleLocationRequest.currentLocation: object expected");
8927
- message.currentLocation = $root.maps.fleetengine.v1.VehicleLocation.fromObject(object.currentLocation);
8928
- }
8929
- switch (object.currentState) {
8930
- default:
8931
- if (typeof object.currentState === "number") {
8932
- message.currentState = object.currentState;
8933
- break;
8934
- }
8935
- break;
8936
- case "UNKNOWN_VEHICLE_STATE":
8937
- case 0:
8938
- message.currentState = 0;
8939
- break;
8940
- case "OFFLINE":
8941
- case 1:
8942
- message.currentState = 1;
8943
- break;
8944
- case "ONLINE":
8945
- case 2:
8946
- message.currentState = 2;
8947
- break;
8948
- }
8949
- return message;
8950
- };
8951
-
8952
- /**
8953
- * Creates a plain object from an UpdateVehicleLocationRequest message. Also converts values to other types if specified.
8954
- * @function toObject
8955
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8956
- * @static
8957
- * @param {maps.fleetengine.v1.UpdateVehicleLocationRequest} message UpdateVehicleLocationRequest
8958
- * @param {$protobuf.IConversionOptions} [options] Conversion options
8959
- * @returns {Object.<string,*>} Plain object
8960
- */
8961
- UpdateVehicleLocationRequest.toObject = function toObject(message, options) {
8962
- if (!options)
8963
- options = {};
8964
- var object = {};
8965
- if (options.defaults) {
8966
- object.header = null;
8967
- object.name = "";
8968
- object.currentLocation = null;
8969
- object.currentState = options.enums === String ? "UNKNOWN_VEHICLE_STATE" : 0;
8970
- }
8971
- if (message.header != null && message.hasOwnProperty("header"))
8972
- object.header = $root.maps.fleetengine.v1.RequestHeader.toObject(message.header, options);
8973
- if (message.name != null && message.hasOwnProperty("name"))
8974
- object.name = message.name;
8975
- if (message.currentLocation != null && message.hasOwnProperty("currentLocation"))
8976
- object.currentLocation = $root.maps.fleetengine.v1.VehicleLocation.toObject(message.currentLocation, options);
8977
- if (message.currentState != null && message.hasOwnProperty("currentState"))
8978
- object.currentState = options.enums === String ? $root.maps.fleetengine.v1.VehicleState[message.currentState] === undefined ? message.currentState : $root.maps.fleetengine.v1.VehicleState[message.currentState] : message.currentState;
8979
- return object;
8980
- };
8981
-
8982
- /**
8983
- * Converts this UpdateVehicleLocationRequest to JSON.
8984
- * @function toJSON
8985
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8986
- * @instance
8987
- * @returns {Object.<string,*>} JSON object
8988
- */
8989
- UpdateVehicleLocationRequest.prototype.toJSON = function toJSON() {
8990
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
8991
- };
8992
-
8993
- /**
8994
- * Gets the default type url for UpdateVehicleLocationRequest
8995
- * @function getTypeUrl
8996
- * @memberof maps.fleetengine.v1.UpdateVehicleLocationRequest
8997
- * @static
8998
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8999
- * @returns {string} The default type url
9000
- */
9001
- UpdateVehicleLocationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9002
- if (typeUrlPrefix === undefined) {
9003
- typeUrlPrefix = "type.googleapis.com";
9004
- }
9005
- return typeUrlPrefix + "/maps.fleetengine.v1.UpdateVehicleLocationRequest";
9006
- };
9007
-
9008
- return UpdateVehicleLocationRequest;
9009
- })();
9010
-
9011
8638
  v1.UpdateVehicleAttributesRequest = (function() {
9012
8639
 
9013
8640
  /**
@@ -1,4 +1,7 @@
1
1
  {
2
+ "options": {
3
+ "syntax": "proto3"
4
+ },
2
5
  "nested": {
3
6
  "maps": {
4
7
  "nested": {
@@ -10,11 +13,16 @@
10
13
  "go_package": "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb",
11
14
  "java_multiple_files": true,
12
15
  "java_outer_classname": "Vehicles",
13
- "java_package": "google.maps.fleetengine.v1",
14
- "objc_class_prefix": "CFE"
16
+ "java_package": "com.google.maps.fleetengine.v1",
17
+ "objc_class_prefix": "CFE",
18
+ "php_namespace": "Google\\Maps\\FleetEngine\\V1",
19
+ "ruby_package": "Google::Maps::FleetEngine::V1"
15
20
  },
16
21
  "nested": {
17
22
  "TerminalPointId": {
23
+ "options": {
24
+ "deprecated": true
25
+ },
18
26
  "oneofs": {
19
27
  "Id": {
20
28
  "oneof": [
@@ -40,7 +48,10 @@
40
48
  },
41
49
  "value": {
42
50
  "type": "string",
43
- "id": 4
51
+ "id": 4,
52
+ "options": {
53
+ "deprecated": true
54
+ }
44
55
  }
45
56
  }
46
57
  },
@@ -55,7 +66,10 @@
55
66
  },
56
67
  "terminalPointId": {
57
68
  "type": "TerminalPointId",
58
- "id": 2
69
+ "id": 2,
70
+ "options": {
71
+ "deprecated": true
72
+ }
59
73
  },
60
74
  "accessPointId": {
61
75
  "type": "string",
@@ -1126,36 +1140,6 @@
1126
1140
  }
1127
1141
  ]
1128
1142
  },
1129
- "UpdateVehicleLocation": {
1130
- "requestType": "UpdateVehicleLocationRequest",
1131
- "responseType": "VehicleLocation",
1132
- "options": {
1133
- "deprecated": true,
1134
- "(google.api.http).put": "/v1/{name=providers/*/vehicles/*}:updateLocation",
1135
- "(google.api.http).body": "*",
1136
- "(google.api.routing).routing_parameters.field": "name",
1137
- "(google.api.routing).routing_parameters.path_template": "{provider_id=providers/*}"
1138
- },
1139
- "parsedOptions": [
1140
- {
1141
- "deprecated": true
1142
- },
1143
- {
1144
- "(google.api.http)": {
1145
- "put": "/v1/{name=providers/*/vehicles/*}:updateLocation",
1146
- "body": "*"
1147
- }
1148
- },
1149
- {
1150
- "(google.api.routing)": {
1151
- "routing_parameters": {
1152
- "field": "name",
1153
- "path_template": "{provider_id=providers/*}"
1154
- }
1155
- }
1156
- }
1157
- ]
1158
- },
1159
1143
  "UpdateVehicleAttributes": {
1160
1144
  "requestType": "UpdateVehicleAttributesRequest",
1161
1145
  "responseType": "UpdateVehicleAttributesResponse",
@@ -1231,36 +1215,6 @@
1231
1215
  }
1232
1216
  }
1233
1217
  ]
1234
- },
1235
- "SearchFuzzedVehicles": {
1236
- "requestType": "SearchVehiclesRequest",
1237
- "responseType": "SearchVehiclesResponse",
1238
- "options": {
1239
- "deprecated": true,
1240
- "(google.api.http).post": "/v1/{parent=providers/*}/vehicles:searchFuzzed",
1241
- "(google.api.http).body": "*",
1242
- "(google.api.routing).routing_parameters.field": "parent",
1243
- "(google.api.routing).routing_parameters.path_template": "{provider_id=providers/*}"
1244
- },
1245
- "parsedOptions": [
1246
- {
1247
- "deprecated": true
1248
- },
1249
- {
1250
- "(google.api.http)": {
1251
- "post": "/v1/{parent=providers/*}/vehicles:searchFuzzed",
1252
- "body": "*"
1253
- }
1254
- },
1255
- {
1256
- "(google.api.routing)": {
1257
- "routing_parameters": {
1258
- "field": "parent",
1259
- "path_template": "{provider_id=providers/*}"
1260
- }
1261
- }
1262
- }
1263
- ]
1264
1218
  }
1265
1219
  }
1266
1220
  },
@@ -1346,35 +1300,6 @@
1346
1300
  }
1347
1301
  }
1348
1302
  },
1349
- "UpdateVehicleLocationRequest": {
1350
- "options": {
1351
- "deprecated": true
1352
- },
1353
- "fields": {
1354
- "header": {
1355
- "type": "RequestHeader",
1356
- "id": 1
1357
- },
1358
- "name": {
1359
- "type": "string",
1360
- "id": 3,
1361
- "options": {
1362
- "(google.api.field_behavior)": "REQUIRED"
1363
- }
1364
- },
1365
- "currentLocation": {
1366
- "type": "VehicleLocation",
1367
- "id": 4,
1368
- "options": {
1369
- "(google.api.field_behavior)": "REQUIRED"
1370
- }
1371
- },
1372
- "currentState": {
1373
- "type": "VehicleState",
1374
- "id": 5
1375
- }
1376
- }
1377
- },
1378
1303
  "UpdateVehicleAttributesRequest": {
1379
1304
  "fields": {
1380
1305
  "header": {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2024 Google LLC
2
+ // Copyright 2025 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
4
3
  import { Transform } from 'stream';