google-cloud-recommender-v1 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2adbdd889c4bdf994e64efc871668f6361c8c26a269dfb37a99dc44a3c4f609e
4
- data.tar.gz: e0cb6c95d7268418133df5257815b2b8b082a4934c85b8f97c566866986a37a3
3
+ metadata.gz: 2ea5701092e7b367aa20ae5ae3c2b099dc0f8d29c6dc3590a7d100fc8939b602
4
+ data.tar.gz: f2f473f478a8eb6c479c2e42a2bc38f378d4196ba66b8e04e8c774171adca64a
5
5
  SHA512:
6
- metadata.gz: eeb947fdd92c9d02c895e108d1efca62315e4dbc04eba0898d512d371483fb81138b07fc960841e2c1250814ffdd3233e8ff39f9ce38ea4a4e690c4a4aa2ca65
7
- data.tar.gz: 697b6e436c8cea8fabf8363799ba15753f09ad28541008d25832784fe7d60de08dc0e5d280f5c78d61dc5e2655f5b7412a79cec0815d51ea4b999dde890068bf
6
+ metadata.gz: 4f823ce69fa1786994ef7eca91f4b4fbd0203571f795808e1653e5e63e5a65c4d14706e589d6e0d211afb2f4542330bb975204960efcf6e214aa6b5211fec99c
7
+ data.tar.gz: 7ef6efeb64b14189e8324b2a10a73dd2eb659098f8715daf8cfbbefa6b68608bd39314062df03a3121e27bf39a3aa46e1714e63b03bf4d1bb97332c14768bb6b
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  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)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
83
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
84
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
85
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
86
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
87
87
 
88
88
  ## Which client should I use?
89
89
 
@@ -264,13 +264,11 @@ module Google
264
264
  # # Call the list_insights method.
265
265
  # result = client.list_insights request
266
266
  #
267
- # # The returned object is of type Gapic::PagedEnumerable. You can
268
- # # iterate over all elements by calling #each, and the enumerable
269
- # # will lazily make API calls to fetch subsequent pages. Other
270
- # # methods are also available for managing paging directly.
271
- # result.each do |response|
267
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
268
+ # # over elements, and API calls will be issued to fetch pages as needed.
269
+ # result.each do |item|
272
270
  # # Each element is of type ::Google::Cloud::Recommender::V1::Insight.
273
- # p response
271
+ # p item
274
272
  # end
275
273
  #
276
274
  def list_insights request, options = nil
@@ -585,13 +583,11 @@ module Google
585
583
  # # Call the list_recommendations method.
586
584
  # result = client.list_recommendations request
587
585
  #
588
- # # The returned object is of type Gapic::PagedEnumerable. You can
589
- # # iterate over all elements by calling #each, and the enumerable
590
- # # will lazily make API calls to fetch subsequent pages. Other
591
- # # methods are also available for managing paging directly.
592
- # result.each do |response|
586
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
587
+ # # over elements, and API calls will be issued to fetch pages as needed.
588
+ # result.each do |item|
593
589
  # # Each element is of type ::Google::Cloud::Recommender::V1::Recommendation.
594
- # p response
590
+ # p item
595
591
  # end
596
592
  #
597
593
  def list_recommendations request, options = nil