google-maps-fleet_engine-delivery-v1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/client.rb +23 -139
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/rest/client.rb +23 -129
- data/lib/google/maps/fleet_engine/delivery/v1/delivery_service/rest/service_stub.rb +0 -59
- data/lib/google/maps/fleet_engine/delivery/v1/version.rb +1 -1
- data/lib/google/maps/fleetengine/delivery/v1/delivery_api_pb.rb +1 -3
- data/lib/google/maps/fleetengine/delivery/v1/delivery_api_services_pb.rb +0 -2
- data/proto_docs/google/maps/fleetengine/delivery/v1/delivery_api.rb +0 -57
- data/proto_docs/google/maps/fleetengine/delivery/v1/delivery_vehicles.rb +5 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d96a7243205ff18c84566d0dc2a52fb4b2f20ab722366daeacae1a5558654b4
|
4
|
+
data.tar.gz: 4a4668486ca442c1aa2733972f5146683c89348e49238693c42d295254a4864e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e217618988cce7b4c1659537f8325fc3ac919eeffae61207273d143a55fb21f4b21cbf2a9f9f0815ed39e28c6adf1cb0d043a11e864038dea4444e8f0086aad
|
7
|
+
data.tar.gz: 7d71cd17c63024ee0ea95161611bfa22fcee542594174f1001d6f4f5d9ad5b90002afa96a7071d7e65dd89e23e4b3c695480cff519223dd74ea5048d93f19bac
|
@@ -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
|
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
|
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 = {}
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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,
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
#
|
@@ -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\"\
|
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\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"
|
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
|
@@ -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.
|
@@ -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
|
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
|
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
|
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
|
230
|
-
#
|
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.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|