google-maps-fleet_engine-delivery-v1 0.1.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa8a95516a7dd4dcb5453043b89a3d6c7ef96090a109971196e766733598a5dd
4
- data.tar.gz: c1d243858e5937173f698ccec8afcdae7c0b32b01ad85957f2c66a22af8b19d7
3
+ metadata.gz: 1e1f241e3dba8714a6180890509604d7060321ade0408c83c40c61ece5b234e2
4
+ data.tar.gz: 004172a7e724758581ba0a699cd6f8effa06d3faf77c77182fe17cab049ee8e5
5
5
  SHA512:
6
- metadata.gz: 81d2c728f126e8637911d6815ff8453ac7c877c08e0d57a9f1f1f749b5823d2dd54d0c2e41a7dbe8dd5720e2605c92967984d2988a8e83e5ac06f95cb3b066cf
7
- data.tar.gz: ae652f162677678c2bb5322d3f6d6c612ff40196854ea9893458695d38c028b89787281302dfc014db75e038500e3200408578ec462d54112811b0a6f379a32c
6
+ metadata.gz: 4f8a84066299a7548c9472cd9c67678737cef178157c14cca96ec184c2ea367500a022539c9d75744248c7120d235454507a1e46095d3cefb63a29f82abb87ef
7
+ data.tar.gz: 36e1637acfc93b554935527a5590db198c3cd1c25670ece9d4b2fd7e31d6950de907663fa16cbf147781192d86af4b3957f1c90a8a7afa030dd198bcb909a1e8
@@ -31,6 +31,9 @@ module Google
31
31
  # The Last Mile Delivery service.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "fleetengine.$UNIVERSE_DOMAIN$"
36
39
 
@@ -98,11 +101,6 @@ module Google
98
101
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
99
102
  }
100
103
 
101
- default_config.rpcs.search_tasks.timeout = 60.0
102
- default_config.rpcs.search_tasks.retry_policy = {
103
- initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
104
- }
105
-
106
104
  default_config.rpcs.update_task.timeout = 60.0
107
105
  default_config.rpcs.update_task.retry_policy = {
108
106
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
@@ -293,10 +291,11 @@ module Google
293
291
  # Customize the options with defaults
294
292
  metadata = @config.rpcs.create_delivery_vehicle.metadata.to_h
295
293
 
296
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
297
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
298
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
299
297
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
300
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
301
300
 
302
301
  header_params = {}
@@ -384,10 +383,11 @@ module Google
384
383
  # Customize the options with defaults
385
384
  metadata = @config.rpcs.get_delivery_vehicle.metadata.to_h
386
385
 
387
- # Set x-goog-api-client and x-goog-user-project headers
386
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
388
387
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
389
388
  lib_name: @config.lib_name, lib_version: @config.lib_version,
390
389
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
390
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
391
391
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
392
392
 
393
393
  header_params = {}
@@ -418,9 +418,9 @@ module Google
418
418
  ##
419
419
  # Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
420
420
  # `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
421
- # `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`
422
- # though, but it must contain all of the `VehicleJourneySegment`s currently
423
- # on the `DeliveryVehicle`. The `task_id`s are retrieved from
421
+ # `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
422
+ # but it must contain all of the `VehicleJourneySegment`s to be persisted on
423
+ # the `DeliveryVehicle`. The `task_id`s are retrieved from
424
424
  # `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
425
425
  # assigned to the `DeliveryVehicle` if they have not yet been assigned.
426
426
  #
@@ -485,10 +485,11 @@ module Google
485
485
  # Customize the options with defaults
486
486
  metadata = @config.rpcs.update_delivery_vehicle.metadata.to_h
487
487
 
488
- # Set x-goog-api-client and x-goog-user-project headers
488
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
489
489
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
490
490
  lib_name: @config.lib_name, lib_version: @config.lib_version,
491
491
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
492
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
492
493
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
493
494
 
494
495
  header_params = {}
@@ -583,10 +584,11 @@ module Google
583
584
  # Customize the options with defaults
584
585
  metadata = @config.rpcs.batch_create_tasks.metadata.to_h
585
586
 
586
- # Set x-goog-api-client and x-goog-user-project headers
587
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
587
588
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
588
589
  lib_name: @config.lib_name, lib_version: @config.lib_version,
589
590
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
591
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
590
592
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
591
593
 
592
594
  header_params = {}
@@ -697,10 +699,11 @@ module Google
697
699
  # Customize the options with defaults
698
700
  metadata = @config.rpcs.create_task.metadata.to_h
699
701
 
700
- # Set x-goog-api-client and x-goog-user-project headers
702
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
701
703
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
702
704
  lib_name: @config.lib_name, lib_version: @config.lib_version,
703
705
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
706
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
704
707
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
705
708
 
706
709
  header_params = {}
@@ -787,10 +790,11 @@ module Google
787
790
  # Customize the options with defaults
788
791
  metadata = @config.rpcs.get_task.metadata.to_h
789
792
 
790
- # Set x-goog-api-client and x-goog-user-project headers
793
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
791
794
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
792
795
  lib_name: @config.lib_name, lib_version: @config.lib_version,
793
796
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
797
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
794
798
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
795
799
 
796
800
  header_params = {}
@@ -818,123 +822,6 @@ module Google
818
822
  raise ::Google::Cloud::Error.from_error(e)
819
823
  end
820
824
 
821
- ##
822
- # Deprecated: Use `GetTaskTrackingInfo` instead.
823
- #
824
- # @deprecated This method is deprecated and may be removed in the next major version update.
825
- #
826
- # @overload search_tasks(request, options = nil)
827
- # Pass arguments to `search_tasks` via a request object, either of type
828
- # {::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest} or an equivalent Hash.
829
- #
830
- # @param request [::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest, ::Hash]
831
- # A request object representing the call parameters. Required. To specify no
832
- # parameters, or to keep all the default parameter values, pass an empty Hash.
833
- # @param options [::Gapic::CallOptions, ::Hash]
834
- # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
835
- #
836
- # @overload search_tasks(header: nil, parent: nil, tracking_id: nil, page_size: nil, page_token: nil)
837
- # Pass arguments to `search_tasks` via keyword arguments. Note that at
838
- # least one keyword argument is required. To specify no parameters, or to keep all
839
- # the default parameter values, pass an empty Hash as a request object (see above).
840
- #
841
- # @param header [::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader, ::Hash]
842
- # Optional. The standard Delivery API request header.
843
- # @param parent [::String]
844
- # Required. Must be in the format `providers/{provider}`.
845
- # The provider must be the Google Cloud Project ID. For example,
846
- # `sample-cloud-project`.
847
- # @param tracking_id [::String]
848
- # Required. The identifier of the set of related Tasks being requested.
849
- # Tracking IDs are subject to the following restrictions:
850
- #
851
- # * Must be a valid Unicode string.
852
- # * Limited to a maximum length of 64 characters.
853
- # * Normalized according to [Unicode Normalization Form C]
854
- # (http://www.unicode.org/reports/tr15/).
855
- # * May not contain any of the following ASCII characters: '/', ':', '?',
856
- # ',', or '#'.
857
- # @param page_size [::Integer]
858
- # Optional. The maximum number of Tasks to return. The service may return
859
- # fewer than this value. If you don't specify this value, then the server
860
- # determines the number of results to return.
861
- # @param page_token [::String]
862
- # Optional. A page token, received from a previous `SearchTasks` call. You
863
- # must provide this value to retrieve the subsequent page.
864
- #
865
- # When paginating, all other parameters provided to `SearchTasks` must match
866
- # the call that provided the page token.
867
- #
868
- # @yield [response, operation] Access the result along with the RPC operation
869
- # @yieldparam response [::Gapic::PagedEnumerable<::Google::Maps::FleetEngine::Delivery::V1::Task>]
870
- # @yieldparam operation [::GRPC::ActiveCall::Operation]
871
- #
872
- # @return [::Gapic::PagedEnumerable<::Google::Maps::FleetEngine::Delivery::V1::Task>]
873
- #
874
- # @raise [::Google::Cloud::Error] if the RPC is aborted.
875
- #
876
- # @example Basic example
877
- # require "google/maps/fleet_engine/delivery/v1"
878
- #
879
- # # Create a client object. The client can be reused for multiple calls.
880
- # client = Google::Maps::FleetEngine::Delivery::V1::DeliveryService::Client.new
881
- #
882
- # # Create a request. To set request fields, pass in keyword arguments.
883
- # request = Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest.new
884
- #
885
- # # Call the search_tasks method.
886
- # result = client.search_tasks request
887
- #
888
- # # The returned object is of type Gapic::PagedEnumerable. You can iterate
889
- # # over elements, and API calls will be issued to fetch pages as needed.
890
- # result.each do |item|
891
- # # Each element is of type ::Google::Maps::FleetEngine::Delivery::V1::Task.
892
- # p item
893
- # end
894
- #
895
- def search_tasks request, options = nil
896
- raise ::ArgumentError, "request must be provided" if request.nil?
897
-
898
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest
899
-
900
- # Converts hash and nil to an options object
901
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
902
-
903
- # Customize the options with defaults
904
- metadata = @config.rpcs.search_tasks.metadata.to_h
905
-
906
- # Set x-goog-api-client and x-goog-user-project headers
907
- metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
908
- lib_name: @config.lib_name, lib_version: @config.lib_version,
909
- gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
910
- metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
911
-
912
- header_params = {}
913
- if request.parent &&
914
- %r{^providers/[^/]+/?$}.match?(request.parent)
915
- header_params["provider_id"] = request.parent
916
- end
917
-
918
- request_params_header = URI.encode_www_form header_params
919
- metadata[:"x-goog-request-params"] ||= request_params_header
920
-
921
- options.apply_defaults timeout: @config.rpcs.search_tasks.timeout,
922
- metadata: metadata,
923
- retry_policy: @config.rpcs.search_tasks.retry_policy
924
-
925
- options.apply_defaults timeout: @config.timeout,
926
- metadata: @config.metadata,
927
- retry_policy: @config.retry_policy
928
-
929
- @delivery_service_stub.call_rpc :search_tasks, request, options: options do |response, operation|
930
- response = ::Gapic::PagedEnumerable.new @delivery_service_stub, :search_tasks, request, response, operation, options
931
- yield response, operation if block_given?
932
- return response
933
- end
934
- rescue ::GRPC::BadStatus => e
935
- raise ::Google::Cloud::Error.from_error(e)
936
- end
937
-
938
825
  ##
939
826
  # Updates `Task` data.
940
827
  #
@@ -1013,10 +900,11 @@ module Google
1013
900
  # Customize the options with defaults
1014
901
  metadata = @config.rpcs.update_task.metadata.to_h
1015
902
 
1016
- # Set x-goog-api-client and x-goog-user-project headers
903
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1017
904
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1018
905
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1019
906
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
907
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1020
908
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1021
909
 
1022
910
  header_params = {}
@@ -1123,10 +1011,11 @@ module Google
1123
1011
  # Customize the options with defaults
1124
1012
  metadata = @config.rpcs.list_tasks.metadata.to_h
1125
1013
 
1126
- # Set x-goog-api-client and x-goog-user-project headers
1014
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1127
1015
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1128
1016
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1129
1017
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
1018
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1130
1019
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1131
1020
 
1132
1021
  header_params = {}
@@ -1216,10 +1105,11 @@ module Google
1216
1105
  # Customize the options with defaults
1217
1106
  metadata = @config.rpcs.get_task_tracking_info.metadata.to_h
1218
1107
 
1219
- # Set x-goog-api-client and x-goog-user-project headers
1108
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1220
1109
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1221
1110
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1222
1111
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
1112
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1223
1113
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1224
1114
 
1225
1115
  header_params = {}
@@ -1342,10 +1232,11 @@ module Google
1342
1232
  # Customize the options with defaults
1343
1233
  metadata = @config.rpcs.list_delivery_vehicles.metadata.to_h
1344
1234
 
1345
- # Set x-goog-api-client and x-goog-user-project headers
1235
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1346
1236
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1347
1237
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1348
1238
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION
1239
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1349
1240
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1350
1241
 
1351
1242
  header_params = {}
@@ -1558,11 +1449,6 @@ module Google
1558
1449
  #
1559
1450
  attr_reader :get_task
1560
1451
  ##
1561
- # RPC-specific configuration for `search_tasks`
1562
- # @return [::Gapic::Config::Method]
1563
- #
1564
- attr_reader :search_tasks
1565
- ##
1566
1452
  # RPC-specific configuration for `update_task`
1567
1453
  # @return [::Gapic::Config::Method]
1568
1454
  #
@@ -1597,8 +1483,6 @@ module Google
1597
1483
  @create_task = ::Gapic::Config::Method.new create_task_config
1598
1484
  get_task_config = parent_rpcs.get_task if parent_rpcs.respond_to? :get_task
1599
1485
  @get_task = ::Gapic::Config::Method.new get_task_config
1600
- search_tasks_config = parent_rpcs.search_tasks if parent_rpcs.respond_to? :search_tasks
1601
- @search_tasks = ::Gapic::Config::Method.new search_tasks_config
1602
1486
  update_task_config = parent_rpcs.update_task if parent_rpcs.respond_to? :update_task
1603
1487
  @update_task = ::Gapic::Config::Method.new update_task_config
1604
1488
  list_tasks_config = parent_rpcs.list_tasks if parent_rpcs.respond_to? :list_tasks
@@ -33,6 +33,9 @@ module Google
33
33
  # The Last Mile Delivery service.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "fleetengine.$UNIVERSE_DOMAIN$"
38
41
 
@@ -100,11 +103,6 @@ module Google
100
103
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
101
104
  }
102
105
 
103
- default_config.rpcs.search_tasks.timeout = 60.0
104
- default_config.rpcs.search_tasks.retry_policy = {
105
- initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
106
- }
107
-
108
106
  default_config.rpcs.update_task.timeout = 60.0
109
107
  default_config.rpcs.update_task.retry_policy = {
110
108
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
@@ -285,12 +283,13 @@ module Google
285
283
  # Customize the options with defaults
286
284
  call_metadata = @config.rpcs.create_delivery_vehicle.metadata.to_h
287
285
 
288
- # Set x-goog-api-client and x-goog-user-project headers
286
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
289
287
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
290
288
  lib_name: @config.lib_name, lib_version: @config.lib_version,
291
289
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
292
290
  transports_version_send: [:rest]
293
291
 
292
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
293
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
294
 
296
295
  options.apply_defaults timeout: @config.rpcs.create_delivery_vehicle.timeout,
@@ -368,12 +367,13 @@ module Google
368
367
  # Customize the options with defaults
369
368
  call_metadata = @config.rpcs.get_delivery_vehicle.metadata.to_h
370
369
 
371
- # Set x-goog-api-client and x-goog-user-project headers
370
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
372
371
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
373
372
  lib_name: @config.lib_name, lib_version: @config.lib_version,
374
373
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
375
374
  transports_version_send: [:rest]
376
375
 
376
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
377
377
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
378
378
 
379
379
  options.apply_defaults timeout: @config.rpcs.get_delivery_vehicle.timeout,
@@ -395,9 +395,9 @@ module Google
395
395
  ##
396
396
  # Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
397
397
  # `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
398
- # `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`
399
- # though, but it must contain all of the `VehicleJourneySegment`s currently
400
- # on the `DeliveryVehicle`. The `task_id`s are retrieved from
398
+ # `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
399
+ # but it must contain all of the `VehicleJourneySegment`s to be persisted on
400
+ # the `DeliveryVehicle`. The `task_id`s are retrieved from
401
401
  # `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
402
402
  # assigned to the `DeliveryVehicle` if they have not yet been assigned.
403
403
  #
@@ -461,12 +461,13 @@ module Google
461
461
  # Customize the options with defaults
462
462
  call_metadata = @config.rpcs.update_delivery_vehicle.metadata.to_h
463
463
 
464
- # Set x-goog-api-client and x-goog-user-project headers
464
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
465
465
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
466
466
  lib_name: @config.lib_name, lib_version: @config.lib_version,
467
467
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
468
468
  transports_version_send: [:rest]
469
469
 
470
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
470
471
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
471
472
 
472
473
  options.apply_defaults timeout: @config.rpcs.update_delivery_vehicle.timeout,
@@ -551,12 +552,13 @@ module Google
551
552
  # Customize the options with defaults
552
553
  call_metadata = @config.rpcs.batch_create_tasks.metadata.to_h
553
554
 
554
- # Set x-goog-api-client and x-goog-user-project headers
555
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
555
556
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
556
557
  lib_name: @config.lib_name, lib_version: @config.lib_version,
557
558
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
558
559
  transports_version_send: [:rest]
559
560
 
561
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
560
562
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
561
563
 
562
564
  options.apply_defaults timeout: @config.rpcs.batch_create_tasks.timeout,
@@ -657,12 +659,13 @@ module Google
657
659
  # Customize the options with defaults
658
660
  call_metadata = @config.rpcs.create_task.metadata.to_h
659
661
 
660
- # Set x-goog-api-client and x-goog-user-project headers
662
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
661
663
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
662
664
  lib_name: @config.lib_name, lib_version: @config.lib_version,
663
665
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
664
666
  transports_version_send: [:rest]
665
667
 
668
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
666
669
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
667
670
 
668
671
  options.apply_defaults timeout: @config.rpcs.create_task.timeout,
@@ -739,12 +742,13 @@ module Google
739
742
  # Customize the options with defaults
740
743
  call_metadata = @config.rpcs.get_task.metadata.to_h
741
744
 
742
- # Set x-goog-api-client and x-goog-user-project headers
745
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
743
746
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
744
747
  lib_name: @config.lib_name, lib_version: @config.lib_version,
745
748
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
746
749
  transports_version_send: [:rest]
747
750
 
751
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
748
752
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
749
753
 
750
754
  options.apply_defaults timeout: @config.rpcs.get_task.timeout,
@@ -763,113 +767,6 @@ module Google
763
767
  raise ::Google::Cloud::Error.from_error(e)
764
768
  end
765
769
 
766
- ##
767
- # Deprecated: Use `GetTaskTrackingInfo` instead.
768
- #
769
- # @overload search_tasks(request, options = nil)
770
- # Pass arguments to `search_tasks` via a request object, either of type
771
- # {::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest} or an equivalent Hash.
772
- #
773
- # @param request [::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest, ::Hash]
774
- # A request object representing the call parameters. Required. To specify no
775
- # parameters, or to keep all the default parameter values, pass an empty Hash.
776
- # @param options [::Gapic::CallOptions, ::Hash]
777
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
778
- #
779
- # @overload search_tasks(header: nil, parent: nil, tracking_id: nil, page_size: nil, page_token: nil)
780
- # Pass arguments to `search_tasks` via keyword arguments. Note that at
781
- # least one keyword argument is required. To specify no parameters, or to keep all
782
- # the default parameter values, pass an empty Hash as a request object (see above).
783
- #
784
- # @param header [::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader, ::Hash]
785
- # Optional. The standard Delivery API request header.
786
- # @param parent [::String]
787
- # Required. Must be in the format `providers/{provider}`.
788
- # The provider must be the Google Cloud Project ID. For example,
789
- # `sample-cloud-project`.
790
- # @param tracking_id [::String]
791
- # Required. The identifier of the set of related Tasks being requested.
792
- # Tracking IDs are subject to the following restrictions:
793
- #
794
- # * Must be a valid Unicode string.
795
- # * Limited to a maximum length of 64 characters.
796
- # * Normalized according to [Unicode Normalization Form C]
797
- # (http://www.unicode.org/reports/tr15/).
798
- # * May not contain any of the following ASCII characters: '/', ':', '?',
799
- # ',', or '#'.
800
- # @param page_size [::Integer]
801
- # Optional. The maximum number of Tasks to return. The service may return
802
- # fewer than this value. If you don't specify this value, then the server
803
- # determines the number of results to return.
804
- # @param page_token [::String]
805
- # Optional. A page token, received from a previous `SearchTasks` call. You
806
- # must provide this value to retrieve the subsequent page.
807
- #
808
- # When paginating, all other parameters provided to `SearchTasks` must match
809
- # the call that provided the page token.
810
- # @yield [result, operation] Access the result along with the TransportOperation object
811
- # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Maps::FleetEngine::Delivery::V1::Task>]
812
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
813
- #
814
- # @return [::Gapic::Rest::PagedEnumerable<::Google::Maps::FleetEngine::Delivery::V1::Task>]
815
- #
816
- # @raise [::Google::Cloud::Error] if the REST call is aborted.
817
- #
818
- # @example Basic example
819
- # require "google/maps/fleet_engine/delivery/v1"
820
- #
821
- # # Create a client object. The client can be reused for multiple calls.
822
- # client = Google::Maps::FleetEngine::Delivery::V1::DeliveryService::Rest::Client.new
823
- #
824
- # # Create a request. To set request fields, pass in keyword arguments.
825
- # request = Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest.new
826
- #
827
- # # Call the search_tasks method.
828
- # result = client.search_tasks request
829
- #
830
- # # The returned object is of type Gapic::PagedEnumerable. You can iterate
831
- # # over elements, and API calls will be issued to fetch pages as needed.
832
- # result.each do |item|
833
- # # Each element is of type ::Google::Maps::FleetEngine::Delivery::V1::Task.
834
- # p item
835
- # end
836
- #
837
- def search_tasks request, options = nil
838
- raise ::ArgumentError, "request must be provided" if request.nil?
839
-
840
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest
841
-
842
- # Converts hash and nil to an options object
843
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
844
-
845
- # Customize the options with defaults
846
- call_metadata = @config.rpcs.search_tasks.metadata.to_h
847
-
848
- # Set x-goog-api-client and x-goog-user-project headers
849
- call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
850
- lib_name: @config.lib_name, lib_version: @config.lib_version,
851
- gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
852
- transports_version_send: [:rest]
853
-
854
- call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
855
-
856
- options.apply_defaults timeout: @config.rpcs.search_tasks.timeout,
857
- metadata: call_metadata,
858
- retry_policy: @config.rpcs.search_tasks.retry_policy
859
-
860
- options.apply_defaults timeout: @config.timeout,
861
- metadata: @config.metadata,
862
- retry_policy: @config.retry_policy
863
-
864
- @delivery_service_stub.search_tasks request, options do |result, operation|
865
- result = ::Gapic::Rest::PagedEnumerable.new @delivery_service_stub, :search_tasks, "tasks", request, result, options
866
- yield result, operation if block_given?
867
- return result
868
- end
869
- rescue ::Gapic::Rest::Error => e
870
- raise ::Google::Cloud::Error.from_error(e)
871
- end
872
-
873
770
  ##
874
771
  # Updates `Task` data.
875
772
  #
@@ -947,12 +844,13 @@ module Google
947
844
  # Customize the options with defaults
948
845
  call_metadata = @config.rpcs.update_task.metadata.to_h
949
846
 
950
- # Set x-goog-api-client and x-goog-user-project headers
847
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
951
848
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
952
849
  lib_name: @config.lib_name, lib_version: @config.lib_version,
953
850
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
954
851
  transports_version_send: [:rest]
955
852
 
853
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
956
854
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
957
855
 
958
856
  options.apply_defaults timeout: @config.rpcs.update_task.timeout,
@@ -1049,12 +947,13 @@ module Google
1049
947
  # Customize the options with defaults
1050
948
  call_metadata = @config.rpcs.list_tasks.metadata.to_h
1051
949
 
1052
- # Set x-goog-api-client and x-goog-user-project headers
950
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1053
951
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1054
952
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1055
953
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
1056
954
  transports_version_send: [:rest]
1057
955
 
956
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1058
957
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1059
958
 
1060
959
  options.apply_defaults timeout: @config.rpcs.list_tasks.timeout,
@@ -1134,12 +1033,13 @@ module Google
1134
1033
  # Customize the options with defaults
1135
1034
  call_metadata = @config.rpcs.get_task_tracking_info.metadata.to_h
1136
1035
 
1137
- # Set x-goog-api-client and x-goog-user-project headers
1036
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1138
1037
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1139
1038
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1140
1039
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
1141
1040
  transports_version_send: [:rest]
1142
1041
 
1042
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1143
1043
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1144
1044
 
1145
1045
  options.apply_defaults timeout: @config.rpcs.get_task_tracking_info.timeout,
@@ -1252,12 +1152,13 @@ module Google
1252
1152
  # Customize the options with defaults
1253
1153
  call_metadata = @config.rpcs.list_delivery_vehicles.metadata.to_h
1254
1154
 
1255
- # Set x-goog-api-client and x-goog-user-project headers
1155
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1256
1156
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1257
1157
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1258
1158
  gapic_version: ::Google::Maps::FleetEngine::Delivery::V1::VERSION,
1259
1159
  transports_version_send: [:rest]
1260
1160
 
1161
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1261
1162
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1262
1163
 
1263
1164
  options.apply_defaults timeout: @config.rpcs.list_delivery_vehicles.timeout,
@@ -1441,11 +1342,6 @@ module Google
1441
1342
  #
1442
1343
  attr_reader :get_task
1443
1344
  ##
1444
- # RPC-specific configuration for `search_tasks`
1445
- # @return [::Gapic::Config::Method]
1446
- #
1447
- attr_reader :search_tasks
1448
- ##
1449
1345
  # RPC-specific configuration for `update_task`
1450
1346
  # @return [::Gapic::Config::Method]
1451
1347
  #
@@ -1480,8 +1376,6 @@ module Google
1480
1376
  @create_task = ::Gapic::Config::Method.new create_task_config
1481
1377
  get_task_config = parent_rpcs.get_task if parent_rpcs.respond_to? :get_task
1482
1378
  @get_task = ::Gapic::Config::Method.new get_task_config
1483
- search_tasks_config = parent_rpcs.search_tasks if parent_rpcs.respond_to? :search_tasks
1484
- @search_tasks = ::Gapic::Config::Method.new search_tasks_config
1485
1379
  update_task_config = parent_rpcs.update_task if parent_rpcs.respond_to? :update_task
1486
1380
  @update_task = ::Gapic::Config::Method.new update_task_config
1487
1381
  list_tasks_config = parent_rpcs.list_tasks if parent_rpcs.respond_to? :list_tasks
@@ -290,44 +290,6 @@ module Google
290
290
  result
291
291
  end
292
292
 
293
- ##
294
- # Baseline implementation for the search_tasks REST call
295
- #
296
- # @param request_pb [::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest]
297
- # A request object representing the call parameters. Required.
298
- # @param options [::Gapic::CallOptions]
299
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
300
- #
301
- # @yield [result, operation] Access the result along with the TransportOperation object
302
- # @yieldparam result [::Google::Maps::FleetEngine::Delivery::V1::SearchTasksResponse]
303
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
304
- #
305
- # @return [::Google::Maps::FleetEngine::Delivery::V1::SearchTasksResponse]
306
- # A result object deserialized from the server's reply
307
- def search_tasks request_pb, options = nil
308
- raise ::ArgumentError, "request must be provided" if request_pb.nil?
309
-
310
- verb, uri, query_string_params, body = ServiceStub.transcode_search_tasks_request request_pb
311
- query_string_params = if query_string_params.any?
312
- query_string_params.to_h { |p| p.split "=", 2 }
313
- else
314
- {}
315
- end
316
-
317
- response = @client_stub.make_http_request(
318
- verb,
319
- uri: uri,
320
- body: body || "",
321
- params: query_string_params,
322
- options: options
323
- )
324
- operation = ::Gapic::Rest::TransportOperation.new response
325
- result = ::Google::Maps::FleetEngine::Delivery::V1::SearchTasksResponse.decode_json response.body, ignore_unknown_fields: true
326
-
327
- yield result, operation if block_given?
328
- result
329
- end
330
-
331
293
  ##
332
294
  # Baseline implementation for the update_task REST call
333
295
  #
@@ -610,27 +572,6 @@ module Google
610
572
  transcoder.transcode request_pb
611
573
  end
612
574
 
613
- ##
614
- # @private
615
- #
616
- # GRPC transcoding helper method for the search_tasks REST call
617
- #
618
- # @param request_pb [::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest]
619
- # A request object representing the call parameters. Required.
620
- # @return [Array(String, [String, nil], Hash{String => String})]
621
- # Uri, Body, Query string parameters
622
- def self.transcode_search_tasks_request request_pb
623
- transcoder = Gapic::Rest::GrpcTranscoder.new
624
- .with_bindings(
625
- uri_method: :get,
626
- uri_template: "/v1/{parent}/tasks:search",
627
- matches: [
628
- ["parent", %r{^providers/[^/]+/?$}, false]
629
- ]
630
- )
631
- transcoder.transcode request_pb
632
- end
633
-
634
575
  ##
635
576
  # @private
636
577
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module FleetEngine
23
23
  module Delivery
24
24
  module V1
25
- VERSION = "0.1.0"
25
+ VERSION = "0.2.1"
26
26
  end
27
27
  end
28
28
  end
@@ -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\xd1\x01\n#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\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
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\xf7\x01\n#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\"\xc2\x01\n\x12SearchTasksRequest\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\x18\n\x0btracking_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01:\x02\x18\x01\"e\n\x13SearchTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\"\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\xe5\x14\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\xd8\x01\n\x0bSearchTasks\x12\x30.maps.fleetengine.delivery.v1.SearchTasksRequest\x1a\x31.maps.fleetengine.delivery.v1.SearchTasksResponse\"d\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\'\x12%/v1/{parent=providers/*}/tasks:search\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\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\x94\x02\n#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\xea\x02\'Google::Maps::FleetEngine::Delivery::V1\xea\x41;\n#fleetengine.googleapis.com/Provider\x12\x14providers/{provider}b\x06proto3"
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\xba\x02\n#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
 
@@ -62,8 +62,6 @@ module Google
62
62
  BatchCreateTasksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.BatchCreateTasksResponse").msgclass
63
63
  CreateTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.CreateTaskRequest").msgclass
64
64
  GetTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.GetTaskRequest").msgclass
65
- SearchTasksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.SearchTasksRequest").msgclass
66
- SearchTasksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.SearchTasksResponse").msgclass
67
65
  UpdateTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.UpdateTaskRequest").msgclass
68
66
  ListTasksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.ListTasksRequest").msgclass
69
67
  ListTasksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.ListTasksResponse").msgclass
@@ -40,9 +40,9 @@ module Google
40
40
  rpc :GetDeliveryVehicle, ::Google::Maps::FleetEngine::Delivery::V1::GetDeliveryVehicleRequest, ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle
41
41
  # Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns
42
42
  # `Tasks` to the `DeliveryVehicle`. You cannot update the name of the
43
- # `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`
44
- # though, but it must contain all of the `VehicleJourneySegment`s currently
45
- # on the `DeliveryVehicle`. The `task_id`s are retrieved from
43
+ # `DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,
44
+ # but it must contain all of the `VehicleJourneySegment`s to be persisted on
45
+ # the `DeliveryVehicle`. The `task_id`s are retrieved from
46
46
  # `remaining_vehicle_journey_segments`, and their corresponding `Tasks` are
47
47
  # assigned to the `DeliveryVehicle` if they have not yet been assigned.
48
48
  rpc :UpdateDeliveryVehicle, ::Google::Maps::FleetEngine::Delivery::V1::UpdateDeliveryVehicleRequest, ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicle
@@ -52,8 +52,6 @@ module Google
52
52
  rpc :CreateTask, ::Google::Maps::FleetEngine::Delivery::V1::CreateTaskRequest, ::Google::Maps::FleetEngine::Delivery::V1::Task
53
53
  # Gets information about a `Task`.
54
54
  rpc :GetTask, ::Google::Maps::FleetEngine::Delivery::V1::GetTaskRequest, ::Google::Maps::FleetEngine::Delivery::V1::Task
55
- # Deprecated: Use `GetTaskTrackingInfo` instead.
56
- rpc :SearchTasks, ::Google::Maps::FleetEngine::Delivery::V1::SearchTasksRequest, ::Google::Maps::FleetEngine::Delivery::V1::SearchTasksResponse
57
55
  # Updates `Task` data.
58
56
  rpc :UpdateTask, ::Google::Maps::FleetEngine::Delivery::V1::UpdateTaskRequest, ::Google::Maps::FleetEngine::Delivery::V1::Task
59
57
  # Gets all `Task`s that meet the specified filtering criteria.
@@ -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\xdb\x01\n#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\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
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\x81\x02\n#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\xd2\x01\n#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\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
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\xf8\x01\n#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\xe0\x01\n#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\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
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\x86\x02\n#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\xd0\x01\n#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\xea\x02\'Google::Maps::FleetEngine::Delivery::V1b\x06proto3"
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\xf6\x01\n#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
 
@@ -290,6 +290,13 @@ module Google
290
290
  # @return [::String]
291
291
  # The fully qualified name of the method, for which the options below apply.
292
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
293
300
  # @!attribute [rw] long_running
294
301
  # @return [::Google::Api::MethodSettings::LongRunning]
295
302
  # Describes settings to use for long-running operations when generating
@@ -298,17 +305,14 @@ module Google
298
305
  #
299
306
  # Example of a YAML configuration::
300
307
  #
301
- # publishing:
302
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
303
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
304
311
  # long_running:
305
- # initial_poll_delay:
306
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
307
313
  # poll_delay_multiplier: 1.5
308
- # max_poll_delay:
309
- # seconds: 360 # 6 minutes
310
- # total_poll_timeout:
311
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
312
316
  # @!attribute [rw] auto_populated_fields
313
317
  # @return [::Array<::String>]
314
318
  # List of top-level fields of the request message, that should be
@@ -317,8 +321,8 @@ module Google
317
321
  #
318
322
  # Example of a YAML configuration:
319
323
  #
320
- # publishing:
321
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
322
326
  # - selector: google.example.v1.ExampleService.CreateExample
323
327
  # auto_populated_fields:
324
328
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
@@ -248,63 +248,6 @@ module Google
248
248
  extend ::Google::Protobuf::MessageExts::ClassMethods
249
249
  end
250
250
 
251
- # Deprecated: Issue `GetTaskTrackingInfoRequest`s to `GetTaskTrackingInfo`
252
- # instead.
253
- # @deprecated This message is deprecated and may be removed in the next major version update.
254
- # @!attribute [rw] header
255
- # @return [::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader]
256
- # Optional. The standard Delivery API request header.
257
- # @!attribute [rw] parent
258
- # @return [::String]
259
- # Required. Must be in the format `providers/{provider}`.
260
- # The provider must be the Google Cloud Project ID. For example,
261
- # `sample-cloud-project`.
262
- # @!attribute [rw] tracking_id
263
- # @return [::String]
264
- # Required. The identifier of the set of related Tasks being requested.
265
- # Tracking IDs are subject to the following restrictions:
266
- #
267
- # * Must be a valid Unicode string.
268
- # * Limited to a maximum length of 64 characters.
269
- # * Normalized according to [Unicode Normalization Form C]
270
- # (http://www.unicode.org/reports/tr15/).
271
- # * May not contain any of the following ASCII characters: '/', ':', '?',
272
- # ',', or '#'.
273
- # @!attribute [rw] page_size
274
- # @return [::Integer]
275
- # Optional. The maximum number of Tasks to return. The service may return
276
- # fewer than this value. If you don't specify this value, then the server
277
- # determines the number of results to return.
278
- # @!attribute [rw] page_token
279
- # @return [::String]
280
- # Optional. A page token, received from a previous `SearchTasks` call. You
281
- # must provide this value to retrieve the subsequent page.
282
- #
283
- # When paginating, all other parameters provided to `SearchTasks` must match
284
- # the call that provided the page token.
285
- class SearchTasksRequest
286
- include ::Google::Protobuf::MessageExts
287
- extend ::Google::Protobuf::MessageExts::ClassMethods
288
- end
289
-
290
- # The `SearchTasks` response. It contains the set of Tasks that meet the search
291
- # criteria in the `SearchTasksRequest`.
292
- # @deprecated This message is deprecated and may be removed in the next major version update.
293
- # @!attribute [rw] tasks
294
- # @return [::Array<::Google::Maps::FleetEngine::Delivery::V1::Task>]
295
- # The set of Tasks for the requested `tracking_id`. A successful response can
296
- # also be empty. An empty response indicates that no Tasks are associated
297
- # with the supplied `tracking_id`.
298
- # @!attribute [rw] next_page_token
299
- # @return [::String]
300
- # Pass this token in the `SearchTasksRequest` to continue to
301
- # list results. If all results have been returned, then this field is either
302
- # an empty string, or it doesn't appear in the response.
303
- class SearchTasksResponse
304
- include ::Google::Protobuf::MessageExts
305
- extend ::Google::Protobuf::MessageExts::ClassMethods
306
- end
307
-
308
251
  # The `UpdateTask` request message.
309
252
  # @!attribute [rw] header
310
253
  # @return [::Google::Maps::FleetEngine::Delivery::V1::DeliveryRequestHeader]
@@ -209,16 +209,15 @@ module Google
209
209
  # @return [::Google::Maps::FleetEngine::Delivery::V1::LocationInfo]
210
210
  # Required. The location of the stop. Note that the locations in the `Task`s
211
211
  # might not exactly match this location, but will be within a short distance
212
- # of it. This field won't be populated in the response of either a `GetTask`,
213
- # or a `SearchTasks` call.
212
+ # of it. This field won't be populated in the response of a `GetTask` call.
214
213
  # @!attribute [rw] tasks
215
214
  # @return [::Array<::Google::Maps::FleetEngine::Delivery::V1::VehicleStop::TaskInfo>]
216
215
  # The list of `Task`s to be performed at this stop. This field won't be
217
- # populated in the response of either a `GetTask` or `SearchTasks` call.
216
+ # populated in the response of a `GetTask` call.
218
217
  # @!attribute [rw] state
219
218
  # @return [::Google::Maps::FleetEngine::Delivery::V1::VehicleStop::State]
220
219
  # The state of the `VehicleStop`. This field won't be populated in the
221
- # response of either a `GetTask`, or a `SearchTasks` call.
220
+ # response of a `GetTask` call.
222
221
  class VehicleStop
223
222
  include ::Google::Protobuf::MessageExts
224
223
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -226,9 +225,8 @@ module Google
226
225
  # Additional information about the Task performed at this stop.
227
226
  # @!attribute [rw] task_id
228
227
  # @return [::String]
229
- # The Task ID. This field won't be populated in the response of either a
230
- # `GetTask`, or a `SearchTasks` call. Task IDs are subject to the following
231
- # restrictions:
228
+ # The Task ID. This field won't be populated in the response of a `GetTask`
229
+ # call. Task IDs are subject to the following restrictions:
232
230
  #
233
231
  # * Must be a valid Unicode string.
234
232
  # * Limited to a maximum length of 64 characters.
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.1.0
4
+ version: 0.2.1
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-05-03 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common