google-cloud-optimization 1.3.1 → 1.3.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 +8 -0
- data/lib/google/cloud/optimization/version.rb +1 -1
- 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: f1e3bd762fb07e122048d46f7b674018c8b16dd3b2754d7f7125f401194ad108
|
4
|
+
data.tar.gz: fc721bb0961a65cdf41574526cdc1f9ab385f003f05df29bb21693e5c8adb071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d033c2f8af46c1ad04dc3423210aee50c42cb43deaf5c9f33b9a58a7cb28aab95fb29ae6cab38200f02b5d7cb70267d6cd6dbdc0a6dfbd4afe36bbc6fef0db5f
|
7
|
+
data.tar.gz: 4a0a0c211ec1395a12be01c11188366b9a895fa47d5c41d67dcc8226013bf7de037b56610710b8366ca680be72053aad2cd88ea0e29e5da7f8f5bca895b209ab
|
data/README.md
CHANGED
@@ -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/cloudoptimization.googleapis.com)
|
35
35
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
36
36
|
|
37
|
+
```ruby
|
38
|
+
require "google/cloud/optimization"
|
39
|
+
|
40
|
+
client = Google::Cloud::Optimization.fleet_routing
|
41
|
+
request = ::Google::Cloud::Optimization::V1::OptimizeToursRequest.new # (request fields as keyword arguments...)
|
42
|
+
response = client.optimize_tours 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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-optimization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.6.
|
78
|
+
rubygems_version: 3.6.9
|
79
79
|
specification_version: 4
|
80
80
|
summary: API Client library for the Cloud Optimization API
|
81
81
|
test_files: []
|