google-maps-fleet_engine 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/google/maps/fleet_engine/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dc1c58bd95b7f83f23a5dd79af0062059b716cea6e355c2480e5b240ef9f5dc
|
4
|
+
data.tar.gz: 2f53d7ebd5eda08860fe40b4c701cc60053b406a86646fbd075877450823054b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea5fcab2e6d543f28b70bd6aff7e38a77b408fe28de5841f707f5c53e7b843d6d4b4aa6accd6c51de4a8a44d60b7ff2143364f9478979d526024498db2c2599d
|
7
|
+
data.tar.gz: 7339bf3d1e02a1e88fc7b27ea64c1c8fb24b8a6d2a9bc30c07f22aedb62df77a2b1a01023f12a9a4b6f990b80386a561a8ef47b06a69f8bc3e26ae53db92053e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Enables Fleet Engine for access to the On Demand Rides and Deliveries and Last M
|
|
7
7
|
Actual client classes for the various versions of this API are defined in
|
8
8
|
_versioned_ client gems, with names of the form `google-maps-fleet_engine-v*`.
|
9
9
|
The gem `google-maps-fleet_engine` is the main client library that brings the
|
10
|
-
|
10
|
+
versioned gems in as dependencies, and provides high-level methods for
|
11
11
|
constructing clients. More information on versioned clients can be found below
|
12
12
|
in the section titled *Which client should I use?*.
|
13
13
|
|
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
|
|
34
34
|
1. [Enable the API.](https://console.cloud.google.com/apis/library/fleetengine.googleapis.com)
|
35
35
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
36
36
|
|
37
|
+
```ruby
|
38
|
+
require "google/maps/fleet_engine"
|
39
|
+
|
40
|
+
client = Google::Maps::FleetEngine.trip_service
|
41
|
+
request = ::Google::Maps::FleetEngine::V1::CreateTripRequest.new # (request fields as keyword arguments...)
|
42
|
+
response = client.create_trip request
|
43
|
+
```
|
44
|
+
|
37
45
|
## Debug Logging
|
38
46
|
|
39
47
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-maps-fleet_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-cloud-core
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.6.
|
80
|
+
rubygems_version: 3.6.9
|
81
81
|
specification_version: 4
|
82
82
|
summary: Enables Fleet Engine for access to the On Demand Rides and Deliveries and
|
83
83
|
Last Mile Fleet Solution APIs. Customer's use of Google Maps Content in the Cloud
|