google-maps-fleet_engine-delivery-v1 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/client.rb +29 -11
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/rest/client.rb +29 -11
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/rest/service_stub.rb +94 -62
- data/lib/google/maps/fleet_engine/delivery/v1/version.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/common_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/delivery_api_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/delivery_vehicles_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/header_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/task_tracking_info_pb.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/tasks_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445ee0892d25ca589960dda16b11718ef3d24094fbc52bbdbfb8d0474e4460a7
|
4
|
+
data.tar.gz: fe96d593a3c3b7b79d9be4f29d6d67506a74334c2b5f5243c953d8a345771a68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5bad960d07dba88e85ee86b2c55e1d019add8559d15df91da3687906602b3a0699b387ee6cb5eb0b45579b4c81c1514c56fb75efaee69ae83a0060681684168
|
7
|
+
data.tar.gz: 35b03da17ed3deebce83521a3f8a257524dcbdc166d8a31b743bd920c1fe0bc091f804b1e5bb2ab7f61fd24805a279a41586e4826a4cdc7c84c1d36a5ea781cf
|
data/README.md
CHANGED
@@ -43,33 +43,43 @@ for class and method documentation.
|
|
43
43
|
See also the [Product Documentation](https://developers.google.com/maps/documentation/transportation-logistics/mobility)
|
44
44
|
for general usage information.
|
45
45
|
|
46
|
-
##
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
## Debug Logging
|
47
|
+
|
48
|
+
This library comes with opt-in Debug Logging that can help you troubleshoot
|
49
|
+
your application's integration with the API. When logging is activated, key
|
50
|
+
events such as requests and responses, along with data payloads and metadata
|
51
|
+
such as headers and client configuration, are logged to the standard error
|
52
|
+
stream.
|
53
|
+
|
54
|
+
**WARNING:** Client Library Debug Logging includes your data payloads in
|
55
|
+
plaintext, which could include sensitive data such as PII for yourself or your
|
56
|
+
customers, private keys, or other security data that could be compromising if
|
57
|
+
leaked. Always practice good data hygiene with your application logs, and follow
|
58
|
+
the principle of least access. Google also recommends that Client Library Debug
|
59
|
+
Logging be enabled only temporarily during active debugging, and not used
|
60
|
+
permanently in production.
|
61
|
+
|
62
|
+
To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
|
63
|
+
to the value `all`. Alternatively, you can set the value to a comma-delimited
|
64
|
+
list of client library gem names. This will select the default logging behavior,
|
65
|
+
which writes logs to the standard error stream. On a local workstation, this may
|
66
|
+
result in logs appearing on the console. When running on a Google Cloud hosting
|
67
|
+
service such as [Google Cloud Run](https://cloud.google.com/run), this generally
|
68
|
+
results in logs appearing alongside your application logs in the
|
69
|
+
[Google Cloud Logging](https://cloud.google.com/logging/) service.
|
70
|
+
|
71
|
+
You can customize logging by modifying the `logger` configuration when
|
72
|
+
constructing a client object. For example:
|
55
73
|
|
56
74
|
```ruby
|
75
|
+
require "google/maps/fleet_engine/delivery/v1"
|
57
76
|
require "logger"
|
58
77
|
|
59
|
-
|
60
|
-
|
61
|
-
def logger
|
62
|
-
LOGGER
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
67
|
-
module GRPC
|
68
|
-
extend MyLogger
|
78
|
+
client = ::Google::Maps::FleetEngine::Delivery::V1::DeliveryService::Client.new do |config|
|
79
|
+
config.logger = Logger.new "my-app.log"
|
69
80
|
end
|
70
81
|
```
|
71
82
|
|
72
|
-
|
73
83
|
## Google Cloud Samples
|
74
84
|
|
75
85
|
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
@@ -208,8 +208,28 @@ module Google
|
|
208
208
|
universe_domain: @config.universe_domain,
|
209
209
|
channel_args: @config.channel_args,
|
210
210
|
interceptors: @config.interceptors,
|
211
|
-
channel_pool_config: @config.channel_pool
|
211
|
+
channel_pool_config: @config.channel_pool,
|
212
|
+
logger: @config.logger
|
212
213
|
)
|
214
|
+
|
215
|
+
@delivery_service_stub.stub_logger&.info do |entry|
|
216
|
+
entry.set_system_name
|
217
|
+
entry.set_service
|
218
|
+
entry.message = "Created client for #{entry.service}"
|
219
|
+
entry.set_credentials_fields credentials
|
220
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
221
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
222
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
##
|
227
|
+
# The logger used for request/response debug logging.
|
228
|
+
#
|
229
|
+
# @return [Logger]
|
230
|
+
#
|
231
|
+
def logger
|
232
|
+
@delivery_service_stub.logger
|
213
233
|
end
|
214
234
|
|
215
235
|
# Service calls
|
@@ -318,7 +338,6 @@ module Google
|
|
318
338
|
|
319
339
|
@delivery_service_stub.call_rpc :create_delivery_vehicle, request, options: options do |response, operation|
|
320
340
|
yield response, operation if block_given?
|
321
|
-
return response
|
322
341
|
end
|
323
342
|
rescue ::GRPC::BadStatus => e
|
324
343
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -410,7 +429,6 @@ module Google
|
|
410
429
|
|
411
430
|
@delivery_service_stub.call_rpc :get_delivery_vehicle, request, options: options do |response, operation|
|
412
431
|
yield response, operation if block_given?
|
413
|
-
return response
|
414
432
|
end
|
415
433
|
rescue ::GRPC::BadStatus => e
|
416
434
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -512,7 +530,6 @@ module Google
|
|
512
530
|
|
513
531
|
@delivery_service_stub.call_rpc :update_delivery_vehicle, request, options: options do |response, operation|
|
514
532
|
yield response, operation if block_given?
|
515
|
-
return response
|
516
533
|
end
|
517
534
|
rescue ::GRPC::BadStatus => e
|
518
535
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -611,7 +628,6 @@ module Google
|
|
611
628
|
|
612
629
|
@delivery_service_stub.call_rpc :batch_create_tasks, request, options: options do |response, operation|
|
613
630
|
yield response, operation if block_given?
|
614
|
-
return response
|
615
631
|
end
|
616
632
|
rescue ::GRPC::BadStatus => e
|
617
633
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -726,7 +742,6 @@ module Google
|
|
726
742
|
|
727
743
|
@delivery_service_stub.call_rpc :create_task, request, options: options do |response, operation|
|
728
744
|
yield response, operation if block_given?
|
729
|
-
return response
|
730
745
|
end
|
731
746
|
rescue ::GRPC::BadStatus => e
|
732
747
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -817,7 +832,6 @@ module Google
|
|
817
832
|
|
818
833
|
@delivery_service_stub.call_rpc :get_task, request, options: options do |response, operation|
|
819
834
|
yield response, operation if block_given?
|
820
|
-
return response
|
821
835
|
end
|
822
836
|
rescue ::GRPC::BadStatus => e
|
823
837
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -927,7 +941,6 @@ module Google
|
|
927
941
|
|
928
942
|
@delivery_service_stub.call_rpc :update_task, request, options: options do |response, operation|
|
929
943
|
yield response, operation if block_given?
|
930
|
-
return response
|
931
944
|
end
|
932
945
|
rescue ::GRPC::BadStatus => e
|
933
946
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1039,7 +1052,7 @@ module Google
|
|
1039
1052
|
@delivery_service_stub.call_rpc :list_tasks, request, options: options do |response, operation|
|
1040
1053
|
response = ::Gapic::PagedEnumerable.new @delivery_service_stub, :list_tasks, request, response, operation, options
|
1041
1054
|
yield response, operation if block_given?
|
1042
|
-
|
1055
|
+
throw :response, response
|
1043
1056
|
end
|
1044
1057
|
rescue ::GRPC::BadStatus => e
|
1045
1058
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1132,7 +1145,6 @@ module Google
|
|
1132
1145
|
|
1133
1146
|
@delivery_service_stub.call_rpc :get_task_tracking_info, request, options: options do |response, operation|
|
1134
1147
|
yield response, operation if block_given?
|
1135
|
-
return response
|
1136
1148
|
end
|
1137
1149
|
rescue ::GRPC::BadStatus => e
|
1138
1150
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1260,7 +1272,7 @@ module Google
|
|
1260
1272
|
@delivery_service_stub.call_rpc :list_delivery_vehicles, request, options: options do |response, operation|
|
1261
1273
|
response = ::Gapic::PagedEnumerable.new @delivery_service_stub, :list_delivery_vehicles, request, response, operation, options
|
1262
1274
|
yield response, operation if block_given?
|
1263
|
-
|
1275
|
+
throw :response, response
|
1264
1276
|
end
|
1265
1277
|
rescue ::GRPC::BadStatus => e
|
1266
1278
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1349,6 +1361,11 @@ module Google
|
|
1349
1361
|
# default endpoint URL. The default value of nil uses the environment
|
1350
1362
|
# universe (usually the default "googleapis.com" universe).
|
1351
1363
|
# @return [::String,nil]
|
1364
|
+
# @!attribute [rw] logger
|
1365
|
+
# A custom logger to use for request/response debug logging, or the value
|
1366
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
1367
|
+
# explicitly disable logging.
|
1368
|
+
# @return [::Logger,:default,nil]
|
1352
1369
|
#
|
1353
1370
|
class Configuration
|
1354
1371
|
extend ::Gapic::Config
|
@@ -1373,6 +1390,7 @@ module Google
|
|
1373
1390
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1374
1391
|
config_attr :quota_project, nil, ::String, nil
|
1375
1392
|
config_attr :universe_domain, nil, ::String, nil
|
1393
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
1376
1394
|
|
1377
1395
|
# @private
|
1378
1396
|
def initialize parent_config = nil
|
@@ -201,8 +201,28 @@ module Google
|
|
201
201
|
endpoint: @config.endpoint,
|
202
202
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
203
203
|
universe_domain: @config.universe_domain,
|
204
|
-
credentials: credentials
|
204
|
+
credentials: credentials,
|
205
|
+
logger: @config.logger
|
205
206
|
)
|
207
|
+
|
208
|
+
@delivery_service_stub.logger(stub: true)&.info do |entry|
|
209
|
+
entry.set_system_name
|
210
|
+
entry.set_service
|
211
|
+
entry.message = "Created client for #{entry.service}"
|
212
|
+
entry.set_credentials_fields credentials
|
213
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
214
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
215
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
##
|
220
|
+
# The logger used for request/response debug logging.
|
221
|
+
#
|
222
|
+
# @return [Logger]
|
223
|
+
#
|
224
|
+
def logger
|
225
|
+
@delivery_service_stub.logger
|
206
226
|
end
|
207
227
|
|
208
228
|
# Service calls
|
@@ -303,7 +323,6 @@ module Google
|
|
303
323
|
|
304
324
|
@delivery_service_stub.create_delivery_vehicle request, options do |result, operation|
|
305
325
|
yield result, operation if block_given?
|
306
|
-
return result
|
307
326
|
end
|
308
327
|
rescue ::Gapic::Rest::Error => e
|
309
328
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -387,7 +406,6 @@ module Google
|
|
387
406
|
|
388
407
|
@delivery_service_stub.get_delivery_vehicle request, options do |result, operation|
|
389
408
|
yield result, operation if block_given?
|
390
|
-
return result
|
391
409
|
end
|
392
410
|
rescue ::Gapic::Rest::Error => e
|
393
411
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -481,7 +499,6 @@ module Google
|
|
481
499
|
|
482
500
|
@delivery_service_stub.update_delivery_vehicle request, options do |result, operation|
|
483
501
|
yield result, operation if block_given?
|
484
|
-
return result
|
485
502
|
end
|
486
503
|
rescue ::Gapic::Rest::Error => e
|
487
504
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -572,7 +589,6 @@ module Google
|
|
572
589
|
|
573
590
|
@delivery_service_stub.batch_create_tasks request, options do |result, operation|
|
574
591
|
yield result, operation if block_given?
|
575
|
-
return result
|
576
592
|
end
|
577
593
|
rescue ::Gapic::Rest::Error => e
|
578
594
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -679,7 +695,6 @@ module Google
|
|
679
695
|
|
680
696
|
@delivery_service_stub.create_task request, options do |result, operation|
|
681
697
|
yield result, operation if block_given?
|
682
|
-
return result
|
683
698
|
end
|
684
699
|
rescue ::Gapic::Rest::Error => e
|
685
700
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -762,7 +777,6 @@ module Google
|
|
762
777
|
|
763
778
|
@delivery_service_stub.get_task request, options do |result, operation|
|
764
779
|
yield result, operation if block_given?
|
765
|
-
return result
|
766
780
|
end
|
767
781
|
rescue ::Gapic::Rest::Error => e
|
768
782
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -864,7 +878,6 @@ module Google
|
|
864
878
|
|
865
879
|
@delivery_service_stub.update_task request, options do |result, operation|
|
866
880
|
yield result, operation if block_given?
|
867
|
-
return result
|
868
881
|
end
|
869
882
|
rescue ::Gapic::Rest::Error => e
|
870
883
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -968,7 +981,7 @@ module Google
|
|
968
981
|
@delivery_service_stub.list_tasks request, options do |result, operation|
|
969
982
|
result = ::Gapic::Rest::PagedEnumerable.new @delivery_service_stub, :list_tasks, "tasks", request, result, options
|
970
983
|
yield result, operation if block_given?
|
971
|
-
|
984
|
+
throw :response, result
|
972
985
|
end
|
973
986
|
rescue ::Gapic::Rest::Error => e
|
974
987
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1053,7 +1066,6 @@ module Google
|
|
1053
1066
|
|
1054
1067
|
@delivery_service_stub.get_task_tracking_info request, options do |result, operation|
|
1055
1068
|
yield result, operation if block_given?
|
1056
|
-
return result
|
1057
1069
|
end
|
1058
1070
|
rescue ::Gapic::Rest::Error => e
|
1059
1071
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1173,7 +1185,7 @@ module Google
|
|
1173
1185
|
@delivery_service_stub.list_delivery_vehicles request, options do |result, operation|
|
1174
1186
|
result = ::Gapic::Rest::PagedEnumerable.new @delivery_service_stub, :list_delivery_vehicles, "delivery_vehicles", request, result, options
|
1175
1187
|
yield result, operation if block_given?
|
1176
|
-
|
1188
|
+
throw :response, result
|
1177
1189
|
end
|
1178
1190
|
rescue ::Gapic::Rest::Error => e
|
1179
1191
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1253,6 +1265,11 @@ module Google
|
|
1253
1265
|
# default endpoint URL. The default value of nil uses the environment
|
1254
1266
|
# universe (usually the default "googleapis.com" universe).
|
1255
1267
|
# @return [::String,nil]
|
1268
|
+
# @!attribute [rw] logger
|
1269
|
+
# A custom logger to use for request/response debug logging, or the value
|
1270
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
1271
|
+
# explicitly disable logging.
|
1272
|
+
# @return [::Logger,:default,nil]
|
1256
1273
|
#
|
1257
1274
|
class Configuration
|
1258
1275
|
extend ::Gapic::Config
|
@@ -1274,6 +1291,7 @@ module Google
|
|
1274
1291
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1275
1292
|
config_attr :quota_project, nil, ::String, nil
|
1276
1293
|
config_attr :universe_domain, nil, ::String, nil
|
1294
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
1277
1295
|
|
1278
1296
|
# @private
|
1279
1297
|
def initialize parent_config = nil
|
@@ -31,7 +31,8 @@ module Google
|
|
31
31
|
# including transcoding, making the REST call, and deserialing the response.
|
32
32
|
#
|
33
33
|
class ServiceStub
|
34
|
-
|
34
|
+
# @private
|
35
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
35
36
|
# These require statements are intentionally placed here to initialize
|
36
37
|
# the REST modules only when it's required.
|
37
38
|
require "gapic/rest"
|
@@ -41,7 +42,9 @@ module Google
|
|
41
42
|
universe_domain: universe_domain,
|
42
43
|
credentials: credentials,
|
43
44
|
numeric_enums: true,
|
44
|
-
|
45
|
+
service_name: self.class,
|
46
|
+
raise_faraday_errors: false,
|
47
|
+
logger: logger
|
45
48
|
end
|
46
49
|
|
47
50
|
##
|
@@ -62,6 +65,15 @@ module Google
|
|
62
65
|
@client_stub.endpoint
|
63
66
|
end
|
64
67
|
|
68
|
+
##
|
69
|
+
# The logger used for request/response debug logging.
|
70
|
+
#
|
71
|
+
# @return [Logger]
|
72
|
+
#
|
73
|
+
def logger stub: false
|
74
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
75
|
+
end
|
76
|
+
|
65
77
|
##
|
66
78
|
# Baseline implementation for the create_delivery_vehicle REST call
|
67
79
|
#
|
@@ -88,16 +100,18 @@ module Google
|
|
88
100
|
|
89
101
|
response = @client_stub.make_http_request(
|
90
102
|
verb,
|
91
|
-
uri:
|
92
|
-
body:
|
93
|
-
params:
|
103
|
+
uri: uri,
|
104
|
+
body: body || "",
|
105
|
+
params: query_string_params,
|
106
|
+
method_name: "create_delivery_vehicle",
|
94
107
|
options: options
|
95
108
|
)
|
96
109
|
operation = ::Gapic::Rest::TransportOperation.new response
|
97
110
|
result = ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle.decode_json response.body, ignore_unknown_fields: true
|
98
|
-
|
99
|
-
|
100
|
-
|
111
|
+
catch :response do
|
112
|
+
yield result, operation if block_given?
|
113
|
+
result
|
114
|
+
end
|
101
115
|
end
|
102
116
|
|
103
117
|
##
|
@@ -126,16 +140,18 @@ module Google
|
|
126
140
|
|
127
141
|
response = @client_stub.make_http_request(
|
128
142
|
verb,
|
129
|
-
uri:
|
130
|
-
body:
|
131
|
-
params:
|
143
|
+
uri: uri,
|
144
|
+
body: body || "",
|
145
|
+
params: query_string_params,
|
146
|
+
method_name: "get_delivery_vehicle",
|
132
147
|
options: options
|
133
148
|
)
|
134
149
|
operation = ::Gapic::Rest::TransportOperation.new response
|
135
150
|
result = ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle.decode_json response.body, ignore_unknown_fields: true
|
136
|
-
|
137
|
-
|
138
|
-
|
151
|
+
catch :response do
|
152
|
+
yield result, operation if block_given?
|
153
|
+
result
|
154
|
+
end
|
139
155
|
end
|
140
156
|
|
141
157
|
##
|
@@ -164,16 +180,18 @@ module Google
|
|
164
180
|
|
165
181
|
response = @client_stub.make_http_request(
|
166
182
|
verb,
|
167
|
-
uri:
|
168
|
-
body:
|
169
|
-
params:
|
183
|
+
uri: uri,
|
184
|
+
body: body || "",
|
185
|
+
params: query_string_params,
|
186
|
+
method_name: "update_delivery_vehicle",
|
170
187
|
options: options
|
171
188
|
)
|
172
189
|
operation = ::Gapic::Rest::TransportOperation.new response
|
173
190
|
result = ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle.decode_json response.body, ignore_unknown_fields: true
|
174
|
-
|
175
|
-
|
176
|
-
|
191
|
+
catch :response do
|
192
|
+
yield result, operation if block_given?
|
193
|
+
result
|
194
|
+
end
|
177
195
|
end
|
178
196
|
|
179
197
|
##
|
@@ -202,16 +220,18 @@ module Google
|
|
202
220
|
|
203
221
|
response = @client_stub.make_http_request(
|
204
222
|
verb,
|
205
|
-
uri:
|
206
|
-
body:
|
207
|
-
params:
|
223
|
+
uri: uri,
|
224
|
+
body: body || "",
|
225
|
+
params: query_string_params,
|
226
|
+
method_name: "batch_create_tasks",
|
208
227
|
options: options
|
209
228
|
)
|
210
229
|
operation = ::Gapic::Rest::TransportOperation.new response
|
211
230
|
result = ::Google::Maps::FleetEngine::Delivery::V1::BatchCreateTasksResponse.decode_json response.body, ignore_unknown_fields: true
|
212
|
-
|
213
|
-
|
214
|
-
|
231
|
+
catch :response do
|
232
|
+
yield result, operation if block_given?
|
233
|
+
result
|
234
|
+
end
|
215
235
|
end
|
216
236
|
|
217
237
|
##
|
@@ -240,16 +260,18 @@ module Google
|
|
240
260
|
|
241
261
|
response = @client_stub.make_http_request(
|
242
262
|
verb,
|
243
|
-
uri:
|
244
|
-
body:
|
245
|
-
params:
|
263
|
+
uri: uri,
|
264
|
+
body: body || "",
|
265
|
+
params: query_string_params,
|
266
|
+
method_name: "create_task",
|
246
267
|
options: options
|
247
268
|
)
|
248
269
|
operation = ::Gapic::Rest::TransportOperation.new response
|
249
270
|
result = ::Google::Maps::FleetEngine::Delivery::V1::Task.decode_json response.body, ignore_unknown_fields: true
|
250
|
-
|
251
|
-
|
252
|
-
|
271
|
+
catch :response do
|
272
|
+
yield result, operation if block_given?
|
273
|
+
result
|
274
|
+
end
|
253
275
|
end
|
254
276
|
|
255
277
|
##
|
@@ -278,16 +300,18 @@ module Google
|
|
278
300
|
|
279
301
|
response = @client_stub.make_http_request(
|
280
302
|
verb,
|
281
|
-
uri:
|
282
|
-
body:
|
283
|
-
params:
|
303
|
+
uri: uri,
|
304
|
+
body: body || "",
|
305
|
+
params: query_string_params,
|
306
|
+
method_name: "get_task",
|
284
307
|
options: options
|
285
308
|
)
|
286
309
|
operation = ::Gapic::Rest::TransportOperation.new response
|
287
310
|
result = ::Google::Maps::FleetEngine::Delivery::V1::Task.decode_json response.body, ignore_unknown_fields: true
|
288
|
-
|
289
|
-
|
290
|
-
|
311
|
+
catch :response do
|
312
|
+
yield result, operation if block_given?
|
313
|
+
result
|
314
|
+
end
|
291
315
|
end
|
292
316
|
|
293
317
|
##
|
@@ -316,16 +340,18 @@ module Google
|
|
316
340
|
|
317
341
|
response = @client_stub.make_http_request(
|
318
342
|
verb,
|
319
|
-
uri:
|
320
|
-
body:
|
321
|
-
params:
|
343
|
+
uri: uri,
|
344
|
+
body: body || "",
|
345
|
+
params: query_string_params,
|
346
|
+
method_name: "update_task",
|
322
347
|
options: options
|
323
348
|
)
|
324
349
|
operation = ::Gapic::Rest::TransportOperation.new response
|
325
350
|
result = ::Google::Maps::FleetEngine::Delivery::V1::Task.decode_json response.body, ignore_unknown_fields: true
|
326
|
-
|
327
|
-
|
328
|
-
|
351
|
+
catch :response do
|
352
|
+
yield result, operation if block_given?
|
353
|
+
result
|
354
|
+
end
|
329
355
|
end
|
330
356
|
|
331
357
|
##
|
@@ -354,16 +380,18 @@ module Google
|
|
354
380
|
|
355
381
|
response = @client_stub.make_http_request(
|
356
382
|
verb,
|
357
|
-
uri:
|
358
|
-
body:
|
359
|
-
params:
|
383
|
+
uri: uri,
|
384
|
+
body: body || "",
|
385
|
+
params: query_string_params,
|
386
|
+
method_name: "list_tasks",
|
360
387
|
options: options
|
361
388
|
)
|
362
389
|
operation = ::Gapic::Rest::TransportOperation.new response
|
363
390
|
result = ::Google::Maps::FleetEngine::Delivery::V1::ListTasksResponse.decode_json response.body, ignore_unknown_fields: true
|
364
|
-
|
365
|
-
|
366
|
-
|
391
|
+
catch :response do
|
392
|
+
yield result, operation if block_given?
|
393
|
+
result
|
394
|
+
end
|
367
395
|
end
|
368
396
|
|
369
397
|
##
|
@@ -392,16 +420,18 @@ module Google
|
|
392
420
|
|
393
421
|
response = @client_stub.make_http_request(
|
394
422
|
verb,
|
395
|
-
uri:
|
396
|
-
body:
|
397
|
-
params:
|
423
|
+
uri: uri,
|
424
|
+
body: body || "",
|
425
|
+
params: query_string_params,
|
426
|
+
method_name: "get_task_tracking_info",
|
398
427
|
options: options
|
399
428
|
)
|
400
429
|
operation = ::Gapic::Rest::TransportOperation.new response
|
401
430
|
result = ::Google::Maps::FleetEngine::Delivery::V1::TaskTrackingInfo.decode_json response.body, ignore_unknown_fields: true
|
402
|
-
|
403
|
-
|
404
|
-
|
431
|
+
catch :response do
|
432
|
+
yield result, operation if block_given?
|
433
|
+
result
|
434
|
+
end
|
405
435
|
end
|
406
436
|
|
407
437
|
##
|
@@ -430,16 +460,18 @@ module Google
|
|
430
460
|
|
431
461
|
response = @client_stub.make_http_request(
|
432
462
|
verb,
|
433
|
-
uri:
|
434
|
-
body:
|
435
|
-
params:
|
463
|
+
uri: uri,
|
464
|
+
body: body || "",
|
465
|
+
params: query_string_params,
|
466
|
+
method_name: "list_delivery_vehicles",
|
436
467
|
options: options
|
437
468
|
)
|
438
469
|
operation = ::Gapic::Rest::TransportOperation.new response
|
439
470
|
result = ::Google::Maps::FleetEngine::Delivery::V1::ListDeliveryVehiclesResponse.decode_json response.body, ignore_unknown_fields: true
|
440
|
-
|
441
|
-
|
442
|
-
|
471
|
+
catch :response do
|
472
|
+
yield result, operation if block_given?
|
473
|
+
result
|
474
|
+
end
|
443
475
|
end
|
444
476
|
|
445
477
|
##
|
@@ -10,7 +10,7 @@ require 'google/protobuf/wrappers_pb'
|
|
10
10
|
require 'google/type/latlng_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/common.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xa0\x01\n\x18\x44\x65liveryVehicleAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x05 \x01(\x01H\x00\x42\"\n delivery_vehicle_attribute_value\"\xf4\x0c\n\x17\x44\x65liveryVehicleLocation\x12%\n\x08location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12=\n\x13horizontal_accuracy\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x35\n\x0flatlng_accuracy\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12,\n\x07heading\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x10\x62\x65\x61ring_accuracy\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x36\n\x10heading_accuracy\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12.\n\x08\x61ltitude\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x11vertical_accuracy\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x37\n\x11\x61ltitude_accuracy\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\nspeed_kmph\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x02\x18\x01\x12+\n\x05speed\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0espeed_accuracy\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x0bserver_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0flocation_sensor\x18\x0b \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x33\n\x0fis_road_snapped\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x15is_gps_sensor_enabled\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x04\x12;\n\x11time_since_update\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x04\x12=\n\x11num_stale_updates\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x05\x18\x01\xe0\x41\x04\x12)\n\x0craw_location\x18\x10 \x01(\x0b\x32\x13.google.type.LatLng\x12\x35\n\x11raw_location_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x13raw_location_sensor\x18\x1c \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12;\n\x15raw_location_accuracy\x18\x19 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x15supplemental_location\x18\x12 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x1asupplemental_location_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x61\n\x1csupplemental_location_sensor\x18\x14 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x44\n\x1esupplemental_location_accuracy\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x18\n\x0croad_snapped\x18\x1a \x01(\x08\x42\x02\x18\x01\"t\n\nTimeWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"z\n\rTaskAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x04 \x01(\x01H\x00\x42\x16\n\x14task_attribute_value*\xe6\x01\n\x1d\x44\x65liveryVehicleLocationSensor\x12\x12\n\x0eUNKNOWN_SENSOR\x10\x00\x12\x07\n\x03GPS\x10\x01\x12\x0b\n\x07NETWORK\x10\x02\x12\x0b\n\x07PASSIVE\x10\x03\x12\"\n\x1eROAD_SNAPPED_LOCATION_PROVIDER\x10\x04\x12\x1e\n\x1a\x43USTOMER_SUPPLIED_LOCATION\x10\x05\x12\x19\n\x15\x46LEET_ENGINE_LOCATION\x10\x06\x12\x1b\n\x17\x46USED_LOCATION_PROVIDER\x10\x64\x12\x12\n\rCORE_LOCATION\x10\xc8\x01*\x98\x01\n\x1f\x44\x65liveryVehicleNavigationStatus\x12\x1d\n\x19UNKNOWN_NAVIGATION_STATUS\x10\x00\x12\x0f\n\x0bNO_GUIDANCE\x10\x01\x12\x1a\n\x16\x45NROUTE_TO_DESTINATION\x10\x02\x12\r\n\tOFF_ROUTE\x10\x03\x12\x1a\n\x16\x41RRIVED_AT_DESTINATION\x10\x04\x42\
|
13
|
+
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/common.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xa0\x01\n\x18\x44\x65liveryVehicleAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x05 \x01(\x01H\x00\x42\"\n delivery_vehicle_attribute_value\"\xf4\x0c\n\x17\x44\x65liveryVehicleLocation\x12%\n\x08location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12=\n\x13horizontal_accuracy\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x35\n\x0flatlng_accuracy\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12,\n\x07heading\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x10\x62\x65\x61ring_accuracy\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x36\n\x10heading_accuracy\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12.\n\x08\x61ltitude\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x11vertical_accuracy\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x02\x18\x01\x12\x37\n\x11\x61ltitude_accuracy\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\nspeed_kmph\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x02\x18\x01\x12+\n\x05speed\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0espeed_accuracy\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x0bserver_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0flocation_sensor\x18\x0b \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x33\n\x0fis_road_snapped\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x15is_gps_sensor_enabled\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x04\x12;\n\x11time_since_update\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x04\x12=\n\x11num_stale_updates\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x05\x18\x01\xe0\x41\x04\x12)\n\x0craw_location\x18\x10 \x01(\x0b\x32\x13.google.type.LatLng\x12\x35\n\x11raw_location_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x13raw_location_sensor\x18\x1c \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12;\n\x15raw_location_accuracy\x18\x19 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x15supplemental_location\x18\x12 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x1asupplemental_location_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x61\n\x1csupplemental_location_sensor\x18\x14 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryVehicleLocationSensor\x12\x44\n\x1esupplemental_location_accuracy\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x18\n\x0croad_snapped\x18\x1a \x01(\x08\x42\x02\x18\x01\"t\n\nTimeWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"z\n\rTaskAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x03 \x01(\x08H\x00\x12\x16\n\x0cnumber_value\x18\x04 \x01(\x01H\x00\x42\x16\n\x14task_attribute_value*\xe6\x01\n\x1d\x44\x65liveryVehicleLocationSensor\x12\x12\n\x0eUNKNOWN_SENSOR\x10\x00\x12\x07\n\x03GPS\x10\x01\x12\x0b\n\x07NETWORK\x10\x02\x12\x0b\n\x07PASSIVE\x10\x03\x12\"\n\x1eROAD_SNAPPED_LOCATION_PROVIDER\x10\x04\x12\x1e\n\x1a\x43USTOMER_SUPPLIED_LOCATION\x10\x05\x12\x19\n\x15\x46LEET_ENGINE_LOCATION\x10\x06\x12\x1b\n\x17\x46USED_LOCATION_PROVIDER\x10\x64\x12\x12\n\rCORE_LOCATION\x10\xc8\x01*\x98\x01\n\x1f\x44\x65liveryVehicleNavigationStatus\x12\x1d\n\x19UNKNOWN_NAVIGATION_STATUS\x10\x00\x12\x0f\n\x0bNO_GUIDANCE\x10\x01\x12\x1a\n\x16\x45NROUTE_TO_DESTINATION\x10\x02\x12\r\n\tOFF_ROUTE\x10\x03\x12\x1a\n\x16\x41RRIVED_AT_DESTINATION\x10\x04\x42\xfb\x01\n\'com.google.maps.fleetengine.delivery.v1B\x06\x43ommonP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -17,7 +17,7 @@ require 'google/maps/fleetengine/delivery/v1/tasks_pb'
|
|
17
17
|
require 'google/protobuf/field_mask_pb'
|
18
18
|
|
19
19
|
|
20
|
-
descriptor_data = "\n6google/maps/fleetengine/delivery/v1/delivery_api.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a\x1egoogle/geo/type/viewport.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x30google/maps/fleetengine/delivery/v1/header.proto\x1a<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a google/protobuf/field_mask.proto\"\xed\x01\n\x1c\x43reateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65livery_vehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12L\n\x10\x64\x65livery_vehicle\x18\x05 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\"\xa7\x01\n\x19GetDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*fleetengine.googleapis.com/DeliveryVehicle\"\xa3\x02\n\x1bListDeliveryVehiclesRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x42\n\x06parent\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*fleetengine.googleapis.com/DeliveryVehicle\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x07 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"\x95\x01\n\x1cListDeliveryVehiclesResponse\x12H\n\x11\x64\x65livery_vehicles\x18\x01 \x03(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xec\x01\n\x1cUpdateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12L\n\x10\x64\x65livery_vehicle\x18\x03 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe4\x01\n\x17\x42\x61tchCreateTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x46\n\x08requests\x18\x04 \x03(\x0b\x32/.maps.fleetengine.delivery.v1.CreateTaskRequestB\x03\xe0\x41\x02\"M\n\x18\x42\x61tchCreateTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\"\xbf\x01\n\x11\x43reateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07task_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x04task\x18\x04 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\"\x91\x01\n\x0eGetTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66leetengine.googleapis.com/Task\"\xca\x01\n\x11UpdateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04task\x18\x03 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xdb\x01\n\x10ListTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xa9\x01\n\x1aGetTaskTrackingInfoRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x41\n\x04name\x18\x03 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+fleetengine.googleapis.com/TaskTrackingInfo2\x8a\x13\n\x0f\x44\x65liveryService\x12\xa1\x02\n\x15\x43reateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.CreateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\x9c\x01\xda\x41+parent,delivery_vehicle,delivery_vehicle_id\x82\xd3\xe4\x93\x02=\")/v1/{parent=providers/*}/deliveryVehicles:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xdf\x01\n\x12GetDeliveryVehicle\x12\x37.maps.fleetengine.delivery.v1.GetDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/deliveryVehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb2\x02\n\x15UpdateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.UpdateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\xad\x01\xda\x41\x1c\x64\x65livery_vehicle,update_mask\x82\xd3\xe4\x93\x02N2:/v1/{delivery_vehicle.name=providers/*/deliveryVehicles/*}:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x15\x64\x65livery_vehicle.name\x12\x19{provider_id=providers/*}\x12\xe3\x01\n\x10\x42\x61tchCreateTasks\x12\x35.maps.fleetengine.delivery.v1.BatchCreateTasksRequest\x1a\x36.maps.fleetengine.delivery.v1.BatchCreateTasksResponse\"`\x82\xd3\xe4\x93\x02/\"*/v1/{parent=providers/*}/tasks:batchCreate:\x01*\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xd0\x01\n\nCreateTask\x12/.maps.fleetengine.delivery.v1.CreateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"m\xda\x41\x13parent,task,task_id\x82\xd3\xe4\x93\x02&\"\x1e/v1/{parent=providers/*}/tasks:\x04task\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xb3\x01\n\x07GetTask\x12,.maps.fleetengine.delivery.v1.GetTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=providers/*/tasks/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xd5\x01\n\nUpdateTask\x12/.maps.fleetengine.delivery.v1.UpdateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"r\xda\x41\x10task,update_mask\x82\xd3\xe4\x93\x02+2#/v1/{task.name=providers/*/tasks/*}:\x04task\x8a\xd3\xe4\x93\x02(\x12&\n\ttask.name\x12\x19{provider_id=providers/*}\x12\xc8\x01\n\tListTasks\x12..maps.fleetengine.delivery.v1.ListTasksRequest\x1a/.maps.fleetengine.delivery.v1.ListTasksResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=providers/*}/tasks\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xe2\x01\n\x13GetTaskTrackingInfo\x12\x38.maps.fleetengine.delivery.v1.GetTaskTrackingInfoRequest\x1a..maps.fleetengine.delivery.v1.TaskTrackingInfo\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/taskTrackingInfo/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xf4\x01\n\x14ListDeliveryVehicles\x12\x39.maps.fleetengine.delivery.v1.ListDeliveryVehiclesRequest\x1a:.maps.fleetengine.delivery.v1.ListDeliveryVehiclesResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=providers/*}/deliveryVehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x1aN\xca\x41\x1a\x66leetengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\
|
20
|
+
descriptor_data = "\n6google/maps/fleetengine/delivery/v1/delivery_api.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a\x1egoogle/geo/type/viewport.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x30google/maps/fleetengine/delivery/v1/header.proto\x1a<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a google/protobuf/field_mask.proto\"\xed\x01\n\x1c\x43reateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65livery_vehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12L\n\x10\x64\x65livery_vehicle\x18\x05 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\"\xa7\x01\n\x19GetDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*fleetengine.googleapis.com/DeliveryVehicle\"\xa3\x02\n\x1bListDeliveryVehiclesRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x42\n\x06parent\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*fleetengine.googleapis.com/DeliveryVehicle\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x07 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"\x95\x01\n\x1cListDeliveryVehiclesResponse\x12H\n\x11\x64\x65livery_vehicles\x18\x01 \x03(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xec\x01\n\x1cUpdateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12L\n\x10\x64\x65livery_vehicle\x18\x03 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe4\x01\n\x17\x42\x61tchCreateTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x46\n\x08requests\x18\x04 \x03(\x0b\x32/.maps.fleetengine.delivery.v1.CreateTaskRequestB\x03\xe0\x41\x02\"M\n\x18\x42\x61tchCreateTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\"\xbf\x01\n\x11\x43reateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07task_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x04task\x18\x04 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\"\x91\x01\n\x0eGetTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66leetengine.googleapis.com/Task\"\xca\x01\n\x11UpdateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04task\x18\x03 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xdb\x01\n\x10ListTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xa9\x01\n\x1aGetTaskTrackingInfoRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x41\n\x04name\x18\x03 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+fleetengine.googleapis.com/TaskTrackingInfo2\x8a\x13\n\x0f\x44\x65liveryService\x12\xa1\x02\n\x15\x43reateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.CreateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\x9c\x01\xda\x41+parent,delivery_vehicle,delivery_vehicle_id\x82\xd3\xe4\x93\x02=\")/v1/{parent=providers/*}/deliveryVehicles:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xdf\x01\n\x12GetDeliveryVehicle\x12\x37.maps.fleetengine.delivery.v1.GetDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/deliveryVehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb2\x02\n\x15UpdateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.UpdateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\xad\x01\xda\x41\x1c\x64\x65livery_vehicle,update_mask\x82\xd3\xe4\x93\x02N2:/v1/{delivery_vehicle.name=providers/*/deliveryVehicles/*}:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x15\x64\x65livery_vehicle.name\x12\x19{provider_id=providers/*}\x12\xe3\x01\n\x10\x42\x61tchCreateTasks\x12\x35.maps.fleetengine.delivery.v1.BatchCreateTasksRequest\x1a\x36.maps.fleetengine.delivery.v1.BatchCreateTasksResponse\"`\x82\xd3\xe4\x93\x02/\"*/v1/{parent=providers/*}/tasks:batchCreate:\x01*\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xd0\x01\n\nCreateTask\x12/.maps.fleetengine.delivery.v1.CreateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"m\xda\x41\x13parent,task,task_id\x82\xd3\xe4\x93\x02&\"\x1e/v1/{parent=providers/*}/tasks:\x04task\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xb3\x01\n\x07GetTask\x12,.maps.fleetengine.delivery.v1.GetTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=providers/*/tasks/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xd5\x01\n\nUpdateTask\x12/.maps.fleetengine.delivery.v1.UpdateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"r\xda\x41\x10task,update_mask\x82\xd3\xe4\x93\x02+2#/v1/{task.name=providers/*/tasks/*}:\x04task\x8a\xd3\xe4\x93\x02(\x12&\n\ttask.name\x12\x19{provider_id=providers/*}\x12\xc8\x01\n\tListTasks\x12..maps.fleetengine.delivery.v1.ListTasksRequest\x1a/.maps.fleetengine.delivery.v1.ListTasksResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=providers/*}/tasks\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xe2\x01\n\x13GetTaskTrackingInfo\x12\x38.maps.fleetengine.delivery.v1.GetTaskTrackingInfoRequest\x1a..maps.fleetengine.delivery.v1.TaskTrackingInfo\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/taskTrackingInfo/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xf4\x01\n\x14ListDeliveryVehicles\x12\x39.maps.fleetengine.delivery.v1.ListDeliveryVehiclesRequest\x1a:.maps.fleetengine.delivery.v1.ListDeliveryVehiclesResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=providers/*}/deliveryVehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x1aN\xca\x41\x1a\x66leetengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbe\x02\n\'com.google.maps.fleetengine.delivery.v1B\x0b\x44\x65liveryApiP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1\xea\x41;\n#fleetengine.googleapis.com/Provider\x12\x14providers/{provider}b\x06proto3"
|
21
21
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
23
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/wrappers_pb'
|
|
12
12
|
require 'google/type/latlng_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xf1\x06\n\x0f\x44\x65liveryVehicle\x12\x0c\n\x04name\x18\x01 \x01(\t\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12X\n\x11navigation_status\x18\x03 \x01(\x0e\x32=.maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus\x12\x1d\n\x15\x63urrent_route_segment\x18\x04 \x01(\x0c\x12<\n\x1f\x63urrent_route_segment_end_point\x18\x05 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x19remaining_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\x12remaining_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12_\n\"remaining_vehicle_journey_segments\x18\x08 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12J\n\nattributes\x18\t \x03(\x0b\x32\x36.maps.fleetengine.delivery.v1.DeliveryVehicleAttribute\x12O\n\x04type\x18\n \x01(\x0e\x32\x41.maps.fleetengine.delivery.v1.DeliveryVehicle.DeliveryVehicleType\"t\n\x13\x44\x65liveryVehicleType\x12%\n!DELIVERY_VEHICLE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x0f\n\x0bTWO_WHEELER\x10\x02\x12\x0b\n\x07\x42ICYCLE\x10\x03\x12\x0e\n\nPEDESTRIAN\x10\x04:`\xea\x41]\n*fleetengine.googleapis.com/DeliveryVehicle\x12/providers/{provider}/deliveryVehicles/{vehicle}\"2\n\x0cLocationInfo\x12\"\n\x05point\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\"\xf5\x01\n\x15VehicleJourneySegment\x12\x37\n\x04stop\x18\x01 \x01(\x0b\x32).maps.fleetengine.delivery.v1.VehicleStop\x12\x41\n\x17\x64riving_distance_meters\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12\x38\n\x10\x64riving_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12&\n\x04path\x18\x05 \x03(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x03\"\xbe\x03\n\x0bVehicleStop\x12I\n\x10planned_location\x18\x01 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x02\x12\x41\n\x05tasks\x18\x02 \x03(\x0b\x32\x32.maps.fleetengine.delivery.v1.VehicleStop.TaskInfo\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.maps.fleetengine.delivery.v1.VehicleStop.State\x1a\x9d\x01\n\x08TaskInfo\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x35\n\rtask_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12I\n\x12target_time_window\x18\x03 \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindowB\x03\xe0\x41\x03\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x0b\n\x07\x45NROUTE\x10\x02\x12\x0b\n\x07\x41RRIVED\x10\x03\x42\
|
15
|
+
descriptor_data = "\n;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xf1\x06\n\x0f\x44\x65liveryVehicle\x12\x0c\n\x04name\x18\x01 \x01(\t\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12X\n\x11navigation_status\x18\x03 \x01(\x0e\x32=.maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus\x12\x1d\n\x15\x63urrent_route_segment\x18\x04 \x01(\x0c\x12<\n\x1f\x63urrent_route_segment_end_point\x18\x05 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x19remaining_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\x12remaining_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12_\n\"remaining_vehicle_journey_segments\x18\x08 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12J\n\nattributes\x18\t \x03(\x0b\x32\x36.maps.fleetengine.delivery.v1.DeliveryVehicleAttribute\x12O\n\x04type\x18\n \x01(\x0e\x32\x41.maps.fleetengine.delivery.v1.DeliveryVehicle.DeliveryVehicleType\"t\n\x13\x44\x65liveryVehicleType\x12%\n!DELIVERY_VEHICLE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x0f\n\x0bTWO_WHEELER\x10\x02\x12\x0b\n\x07\x42ICYCLE\x10\x03\x12\x0e\n\nPEDESTRIAN\x10\x04:`\xea\x41]\n*fleetengine.googleapis.com/DeliveryVehicle\x12/providers/{provider}/deliveryVehicles/{vehicle}\"2\n\x0cLocationInfo\x12\"\n\x05point\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\"\xf5\x01\n\x15VehicleJourneySegment\x12\x37\n\x04stop\x18\x01 \x01(\x0b\x32).maps.fleetengine.delivery.v1.VehicleStop\x12\x41\n\x17\x64riving_distance_meters\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12\x38\n\x10\x64riving_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12&\n\x04path\x18\x05 \x03(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x03\"\xbe\x03\n\x0bVehicleStop\x12I\n\x10planned_location\x18\x01 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x02\x12\x41\n\x05tasks\x18\x02 \x03(\x0b\x32\x32.maps.fleetengine.delivery.v1.VehicleStop.TaskInfo\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.maps.fleetengine.delivery.v1.VehicleStop.State\x1a\x9d\x01\n\x08TaskInfo\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x35\n\rtask_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12I\n\x12target_time_window\x18\x03 \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindowB\x03\xe0\x41\x03\"A\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x0b\n\x07\x45NROUTE\x10\x02\x12\x0b\n\x07\x41RRIVED\x10\x03\x42\x85\x02\n\'com.google.maps.fleetengine.delivery.v1B\x10\x44\x65liveryVehiclesP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/header.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb0\x04\n\x15\x44\x65liveryRequestHeader\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x18\n\x0bregion_code\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bsdk_version\x18\x03 \x01(\t\x12\x12\n\nos_version\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65vice_model\x18\x05 \x01(\t\x12M\n\x08sdk_type\x18\x06 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryRequestHeader.SdkType\x12\x18\n\x10maps_sdk_version\x18\x07 \x01(\t\x12\x17\n\x0fnav_sdk_version\x18\x08 \x01(\t\x12N\n\x08platform\x18\t \x01(\x0e\x32<.maps.fleetengine.delivery.v1.DeliveryRequestHeader.Platform\x12\x14\n\x0cmanufacturer\x18\n \x01(\t\x12\x19\n\x11\x61ndroid_api_level\x18\x0b \x01(\x05\x12\x10\n\x08trace_id\x18\x0c \x01(\t\"M\n\x07SdkType\x12\x18\n\x14SDK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONSUMER\x10\x01\x12\n\n\x06\x44RIVER\x10\x02\x12\x0e\n\nJAVASCRIPT\x10\x03\"C\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41NDROID\x10\x01\x12\x07\n\x03IOS\x10\x02\x12\x07\n\x03WEB\x10\x03\x42\
|
10
|
+
descriptor_data = "\n0google/maps/fleetengine/delivery/v1/header.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb0\x04\n\x15\x44\x65liveryRequestHeader\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x18\n\x0bregion_code\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bsdk_version\x18\x03 \x01(\t\x12\x12\n\nos_version\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65vice_model\x18\x05 \x01(\t\x12M\n\x08sdk_type\x18\x06 \x01(\x0e\x32;.maps.fleetengine.delivery.v1.DeliveryRequestHeader.SdkType\x12\x18\n\x10maps_sdk_version\x18\x07 \x01(\t\x12\x17\n\x0fnav_sdk_version\x18\x08 \x01(\t\x12N\n\x08platform\x18\t \x01(\x0e\x32<.maps.fleetengine.delivery.v1.DeliveryRequestHeader.Platform\x12\x14\n\x0cmanufacturer\x18\n \x01(\t\x12\x19\n\x11\x61ndroid_api_level\x18\x0b \x01(\x05\x12\x10\n\x08trace_id\x18\x0c \x01(\t\"M\n\x07SdkType\x12\x18\n\x14SDK_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONSUMER\x10\x01\x12\n\n\x06\x44RIVER\x10\x02\x12\x0e\n\nJAVASCRIPT\x10\x03\"C\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41NDROID\x10\x01\x12\x07\n\x03IOS\x10\x02\x12\x07\n\x03WEB\x10\x03\x42\xfc\x01\n\'com.google.maps.fleetengine.delivery.v1B\x07HeadersP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/wrappers_pb'
|
|
14
14
|
require 'google/type/latlng_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xae\x07\n\x10TaskTrackingInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0btracking_id\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12O\n\x10vehicle_location\x18\x03 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x32\n\x15route_polyline_points\x18\x04 \x03(\x0b\x32\x13.google.type.LatLng\x12\x39\n\x14remaining_stop_count\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x46\n!remaining_driving_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x16\x65stimated_arrival_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x65stimated_task_completion_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x05state\x18\x0b \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.State\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x10planned_location\x18\n \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\r \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12?\n\nattributes\x18\x0e \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute:b\xea\x41_\n+fleetengine.googleapis.com/TaskTrackingInfo\x12\x30providers/{provider}/taskTrackingInfo/{tracking}B\
|
17
|
+
descriptor_data = "\n<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xae\x07\n\x10TaskTrackingInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0btracking_id\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12O\n\x10vehicle_location\x18\x03 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x32\n\x15route_polyline_points\x18\x04 \x03(\x0b\x32\x13.google.type.LatLng\x12\x39\n\x14remaining_stop_count\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x46\n!remaining_driving_distance_meters\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12:\n\x16\x65stimated_arrival_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x65stimated_task_completion_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x05state\x18\x0b \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.State\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x10planned_location\x18\n \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\r \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12?\n\nattributes\x18\x0e \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute:b\xea\x41_\n+fleetengine.googleapis.com/TaskTrackingInfo\x12\x30providers/{provider}/taskTrackingInfo/{tracking}B\x8a\x02\n\'com.google.maps.fleetengine.delivery.v1B\x15TaskTrackingInfoProtoP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/duration_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n/google/maps/fleetengine/delivery/v1/tasks.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x0c\n\x04Task\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32\'.maps.fleetengine.delivery.v1.Task.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12<\n\x05state\x18\x03 \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.StateB\x03\xe0\x41\x02\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x15task_outcome_location\x18\x0b \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfo\x12\x62\n\x1ctask_outcome_location_source\x18\x0c \x01(\x0e\x32<.maps.fleetengine.delivery.v1.Task.TaskOutcomeLocationSource\x12\x18\n\x0btracking_id\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12 \n\x13\x64\x65livery_vehicle_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12I\n\x10planned_location\x18\x06 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x38\n\rtask_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\x0e \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12X\n\x14journey_sharing_info\x18\x08 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.Task.JourneySharingInfoB\x03\xe0\x41\x03\x12W\n\x19task_tracking_view_config\x18\r \x01(\x0b\x32\x34.maps.fleetengine.delivery.v1.TaskTrackingViewConfig\x12?\n\nattributes\x18\x0f \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute\x1a\xe4\x01\n\x12JourneySharingInfo\x12_\n\"remaining_vehicle_journey_segments\x18\x01 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x1f\n\x17last_location_snappable\x18\x03 \x01(\x08\"[\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PICKUP\x10\x01\x12\x0c\n\x08\x44\x45LIVERY\x10\x02\x12\x12\n\x0eSCHEDULED_STOP\x10\x03\x12\x0f\n\x0bUNAVAILABLE\x10\x04\"4\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"F\n\x0bTaskOutcome\x12\x1c\n\x18TASK_OUTCOME_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"r\n\x19TaskOutcomeLocationSource\x12,\n(TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PROVIDER\x10\x02\x12\x19\n\x15LAST_VEHICLE_LOCATION\x10\x03:G\xea\x41\x44\n\x1f\x66leetengine.googleapis.com/Task\x12!providers/{provider}/tasks/{task}\"\xcb\x07\n\x16TaskTrackingViewConfig\x12o\n route_polyline_points_visibility\x18\x01 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12p\n!estimated_arrival_time_visibility\x18\x02 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12x\n)estimated_task_completion_time_visibility\x18\x03 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12t\n%remaining_driving_distance_visibility\x18\x04 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12n\n\x1fremaining_stop_count_visibility\x18\x05 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12j\n\x1bvehicle_location_visibility\x18\x06 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x1a\x81\x02\n\x10VisibilityOption\x12(\n\x1eremaining_stop_count_threshold\x18\x01 \x01(\x05H\x00\x12T\n/duration_until_estimated_arrival_time_threshold\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x35\n+remaining_driving_distance_meters_threshold\x18\x03 \x01(\x05H\x00\x12\x10\n\x06\x61lways\x18\x04 \x01(\x08H\x00\x12\x0f\n\x05never\x18\x05 \x01(\x08H\x00\x42\x13\n\x11visibility_optionB\
|
15
|
+
descriptor_data = "\n/google/maps/fleetengine/delivery/v1/tasks.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/maps/fleetengine/delivery/v1/common.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x0c\n\x04Task\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32\'.maps.fleetengine.delivery.v1.Task.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12<\n\x05state\x18\x03 \x01(\x0e\x32(.maps.fleetengine.delivery.v1.Task.StateB\x03\xe0\x41\x02\x12\x44\n\x0ctask_outcome\x18\t \x01(\x0e\x32..maps.fleetengine.delivery.v1.Task.TaskOutcome\x12\x35\n\x11task_outcome_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x15task_outcome_location\x18\x0b \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfo\x12\x62\n\x1ctask_outcome_location_source\x18\x0c \x01(\x0e\x32<.maps.fleetengine.delivery.v1.Task.TaskOutcomeLocationSource\x12\x18\n\x0btracking_id\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12 \n\x13\x64\x65livery_vehicle_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12I\n\x10planned_location\x18\x06 \x01(\x0b\x32*.maps.fleetengine.delivery.v1.LocationInfoB\x03\xe0\x41\x05\x12\x38\n\rtask_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12\x44\n\x12target_time_window\x18\x0e \x01(\x0b\x32(.maps.fleetengine.delivery.v1.TimeWindow\x12X\n\x14journey_sharing_info\x18\x08 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.Task.JourneySharingInfoB\x03\xe0\x41\x03\x12W\n\x19task_tracking_view_config\x18\r \x01(\x0b\x32\x34.maps.fleetengine.delivery.v1.TaskTrackingViewConfig\x12?\n\nattributes\x18\x0f \x03(\x0b\x32+.maps.fleetengine.delivery.v1.TaskAttribute\x1a\xe4\x01\n\x12JourneySharingInfo\x12_\n\"remaining_vehicle_journey_segments\x18\x01 \x03(\x0b\x32\x33.maps.fleetengine.delivery.v1.VehicleJourneySegment\x12L\n\rlast_location\x18\x02 \x01(\x0b\x32\x35.maps.fleetengine.delivery.v1.DeliveryVehicleLocation\x12\x1f\n\x17last_location_snappable\x18\x03 \x01(\x08\"[\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PICKUP\x10\x01\x12\x0c\n\x08\x44\x45LIVERY\x10\x02\x12\x12\n\x0eSCHEDULED_STOP\x10\x03\x12\x0f\n\x0bUNAVAILABLE\x10\x04\"4\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"F\n\x0bTaskOutcome\x12\x1c\n\x18TASK_OUTCOME_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"r\n\x19TaskOutcomeLocationSource\x12,\n(TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08PROVIDER\x10\x02\x12\x19\n\x15LAST_VEHICLE_LOCATION\x10\x03:G\xea\x41\x44\n\x1f\x66leetengine.googleapis.com/Task\x12!providers/{provider}/tasks/{task}\"\xcb\x07\n\x16TaskTrackingViewConfig\x12o\n route_polyline_points_visibility\x18\x01 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12p\n!estimated_arrival_time_visibility\x18\x02 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12x\n)estimated_task_completion_time_visibility\x18\x03 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12t\n%remaining_driving_distance_visibility\x18\x04 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12n\n\x1fremaining_stop_count_visibility\x18\x05 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x12j\n\x1bvehicle_location_visibility\x18\x06 \x01(\x0b\x32\x45.maps.fleetengine.delivery.v1.TaskTrackingViewConfig.VisibilityOption\x1a\x81\x02\n\x10VisibilityOption\x12(\n\x1eremaining_stop_count_threshold\x18\x01 \x01(\x05H\x00\x12T\n/duration_until_estimated_arrival_time_threshold\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x35\n+remaining_driving_distance_meters_threshold\x18\x03 \x01(\x05H\x00\x12\x10\n\x06\x61lways\x18\x04 \x01(\x08H\x00\x12\x0f\n\x05never\x18\x05 \x01(\x08H\x00\x42\x13\n\x11visibility_optionB\xfa\x01\n\'com.google.maps.fleetengine.delivery.v1B\x05TasksP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-maps-fleet_engine-delivery-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.24.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.5.
|
138
|
+
rubygems_version: 3.5.23
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Enables Fleet Engine for access to the On Demand Rides and Deliveries and
|