google-cloud-recommender 0.1.2 → 0.2.0
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 +1 -1
- data/lib/google-cloud-recommender.rb +1 -17
- data/lib/google/cloud/recommender.rb +16 -1
- data/lib/google/cloud/recommender/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: 4a88816229a893ade1165a7e1bbdd99de343691939acfbd5287e27b150d562d4
|
|
4
|
+
data.tar.gz: 4e13c5d9af6471b05ecb2032759e84edc81c901874ede8bb168ca1a19897f96b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 849aebdfa017c2960efd1fb1c123b88e1158cd65d7c69eca01b3c6124f7c1f9f38e3afeaa64d7d761b2ad7440e1b188d28355c1d4b153225c871744da51835ce
|
|
7
|
+
data.tar.gz: de9384859f900b31ad3cc97e7e0b6a743a780d16a88693a954bab6cb95c8403b2a2d7e071ebd60ca0139856f0463b4e0a3574d0073ba61d6e7e6e40c1402846c
|
data/README.md
CHANGED
|
@@ -38,7 +38,7 @@ In order to use this library, you first need to go through the following steps:
|
|
|
38
38
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
39
39
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
|
|
40
40
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
|
41
|
-
that will write logs to [
|
|
41
|
+
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
42
42
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
43
43
|
|
|
44
44
|
Configuring a Ruby stdlib logger:
|
|
@@ -16,20 +16,4 @@
|
|
|
16
16
|
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
require "google/cloud" unless defined? Google::Cloud.new
|
|
21
|
-
require "google/cloud/config"
|
|
22
|
-
require "googleauth"
|
|
23
|
-
|
|
24
|
-
# Set the default configuration
|
|
25
|
-
Google::Cloud.configure.add_config! :recommender do |config|
|
|
26
|
-
config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
|
|
27
|
-
config.add_field! :lib_name, nil, match: String
|
|
28
|
-
config.add_field! :lib_version, nil, match: String
|
|
29
|
-
config.add_field! :interceptors, nil, match: Array
|
|
30
|
-
config.add_field! :timeout, nil, match: Numeric
|
|
31
|
-
config.add_field! :metadata, nil, match: Hash
|
|
32
|
-
config.add_field! :retry_policy, nil, match: [Hash, Proc]
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
require "google/cloud/recommender/version"
|
|
19
|
+
require "google/cloud/recommender"
|
|
@@ -16,7 +16,22 @@
|
|
|
16
16
|
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
18
|
|
|
19
|
-
require "google
|
|
19
|
+
require "google/cloud/recommender/version"
|
|
20
|
+
require "googleauth"
|
|
21
|
+
gem "google-cloud-core"
|
|
22
|
+
require "google/cloud" unless defined? Google::Cloud.new
|
|
23
|
+
require "google/cloud/config"
|
|
24
|
+
|
|
25
|
+
# Set the default configuration
|
|
26
|
+
Google::Cloud.configure.add_config! :recommender do |config|
|
|
27
|
+
config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
|
|
28
|
+
config.add_field! :lib_name, nil, match: String
|
|
29
|
+
config.add_field! :lib_version, nil, match: String
|
|
30
|
+
config.add_field! :interceptors, nil, match: Array
|
|
31
|
+
config.add_field! :timeout, nil, match: Numeric
|
|
32
|
+
config.add_field! :metadata, nil, match: Hash
|
|
33
|
+
config.add_field! :retry_policy, nil, match: [Hash, Proc]
|
|
34
|
+
end
|
|
20
35
|
|
|
21
36
|
module Google
|
|
22
37
|
module Cloud
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-recommender
|
|
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: 2020-
|
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-core
|