google-cloud-optimization-v1 0.1.0 → 0.1.1
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/.yardopts +1 -1
- data/README.md +8 -4
- data/lib/google/cloud/optimization/v1/async_model_pb.rb +2 -1
- data/lib/google/cloud/optimization/v1/fleet_routing_pb.rb +2 -1
- data/lib/google/cloud/optimization/v1/version.rb +1 -1
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e4b3490ab36aefad8db461f9aea77712ac02afee072eeb989794ce35f4297c1
|
|
4
|
+
data.tar.gz: e0bc86a1691a77aa97452a435e6c57eee817d5e183dc71310d01abf63e68d984
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cbf7ba5a40e82d13dcfce299fc52461dbbc01be7983bd5e371543de4d7ccbc1609a1b8185075e5002524f346170539513870f78fddf6e11de65142a5a42a60d
|
|
7
|
+
data.tar.gz: e525b48ed979cdc8eb90fea8a71bd232f42a71304d0dc7d13bc3b5e2e67957f68a4ebffa0fc0bc5ec012a61716970eb73df4df85b58c258e277bd9b98fc7ecfd
|
data/.yardopts
CHANGED
data/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Ruby Client for the
|
|
1
|
+
# Ruby Client for the Cloud Optimization V1 API
|
|
2
2
|
|
|
3
|
-
API Client library for the
|
|
3
|
+
API Client library for the Cloud Optimization V1 API
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Cloud Optimization API provides a portfolio of solvers to address common optimization use cases starting with optimal route planning for vehicle fleets.
|
|
6
6
|
|
|
7
7
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
8
|
|
|
9
9
|
This gem is a _versioned_ client. It provides basic client classes for a
|
|
10
|
-
specific version of the
|
|
10
|
+
specific version of the Cloud Optimization V1 API. Most users should consider using
|
|
11
11
|
the main client gem,
|
|
12
12
|
[google-cloud-optimization](https://rubygems.org/gems/google-cloud-optimization).
|
|
13
13
|
See the section below titled *Which client should I use?* for more information.
|
|
@@ -24,6 +24,7 @@ In order to use this library, you first need to go through the following steps:
|
|
|
24
24
|
|
|
25
25
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
26
26
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
27
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/cloudoptimization.googleapis.com)
|
|
27
28
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
|
28
29
|
|
|
29
30
|
## Quick Start
|
|
@@ -39,6 +40,9 @@ response = client.optimize_tours request
|
|
|
39
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest)
|
|
40
41
|
for class and method documentation.
|
|
41
42
|
|
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/optimization)
|
|
44
|
+
for general usage information.
|
|
45
|
+
|
|
42
46
|
## Enabling Logging
|
|
43
47
|
|
|
44
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/optimization/v1/async_model.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/api/field_behavior_pb'
|
|
5
7
|
require 'google/protobuf/timestamp_pb'
|
|
6
|
-
require 'google/protobuf'
|
|
7
8
|
|
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
10
|
add_file("google/cloud/optimization/v1/async_model.proto", :syntax => :proto3) do
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/optimization/v1/fleet_routing.proto
|
|
3
3
|
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
4
6
|
require 'google/api/annotations_pb'
|
|
5
7
|
require 'google/api/client_pb'
|
|
6
8
|
require 'google/api/field_behavior_pb'
|
|
@@ -9,7 +11,6 @@ require 'google/longrunning/operations_pb'
|
|
|
9
11
|
require 'google/protobuf/duration_pb'
|
|
10
12
|
require 'google/protobuf/timestamp_pb'
|
|
11
13
|
require 'google/type/latlng_pb'
|
|
12
|
-
require 'google/protobuf'
|
|
13
14
|
|
|
14
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
16
|
add_file("google/cloud/optimization/v1/fleet_routing.proto", :syntax => :proto3) do
|
data/proto_docs/README.md
CHANGED
|
@@ -44,7 +44,7 @@ module Google
|
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
|
45
45
|
# }
|
|
46
46
|
#
|
|
47
|
-
#
|
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
|
48
48
|
#
|
|
49
49
|
# foo = Foo(...)
|
|
50
50
|
# any = Any()
|
|
@@ -54,7 +54,7 @@ module Google
|
|
|
54
54
|
# any.Unpack(foo)
|
|
55
55
|
# ...
|
|
56
56
|
#
|
|
57
|
-
#
|
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
|
58
58
|
#
|
|
59
59
|
# foo := &pb.Foo{...}
|
|
60
60
|
# any, err := anypb.New(foo)
|
|
@@ -75,7 +75,7 @@ module Google
|
|
|
75
75
|
#
|
|
76
76
|
#
|
|
77
77
|
# JSON
|
|
78
|
-
#
|
|
78
|
+
#
|
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
|
80
80
|
# representation of the deserialized, embedded message, with an
|
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-optimization-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.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: 2022-
|
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -156,9 +156,10 @@ dependencies:
|
|
|
156
156
|
- - "~>"
|
|
157
157
|
- !ruby/object:Gem::Version
|
|
158
158
|
version: '0.9'
|
|
159
|
-
description:
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
description: Cloud Optimization API provides a portfolio of solvers to address common
|
|
160
|
+
optimization use cases starting with optimal route planning for vehicle fleets.
|
|
161
|
+
Note that google-cloud-optimization-v1 is a version-specific client library. For
|
|
162
|
+
most uses, we recommend installing the main client library google-cloud-optimization
|
|
162
163
|
instead. See the readme for more details.
|
|
163
164
|
email: googleapis-packages@google.com
|
|
164
165
|
executables: []
|
|
@@ -213,5 +214,5 @@ requirements: []
|
|
|
213
214
|
rubygems_version: 3.3.5
|
|
214
215
|
signing_key:
|
|
215
216
|
specification_version: 4
|
|
216
|
-
summary: API Client library for the
|
|
217
|
+
summary: API Client library for the Cloud Optimization V1 API
|
|
217
218
|
test_files: []
|