google-cloud-recommender-v1 0.11.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: 707bd3a5f1f0d41f14b85e95e0284f68f52cc3e336f70f62fc70fbd9ed3fe799
4
- data.tar.gz: 1dec2653973ae12d7d20f70ca4d1891c22c1c35298ae0acb873ac5b640549007
3
+ metadata.gz: 2ea5701092e7b367aa20ae5ae3c2b099dc0f8d29c6dc3590a7d100fc8939b602
4
+ data.tar.gz: f2f473f478a8eb6c479c2e42a2bc38f378d4196ba66b8e04e8c774171adca64a
5
5
  SHA512:
6
- metadata.gz: db073310ab553b239521da23b4ab67d9f057704b173262a82e94806c3b8d5ec991ffdc902eca3e26aa6b7019924e664670750f0dcb19733faf93e7a2fc807ee7
7
- data.tar.gz: a59bfd93c781a96229db7bc7832b482504bc10b9c3b5d3bfc049a75c02eadf529fcb7d891fa303c647ba84931a5780024c12c587ba9192d93b5b84965016d428
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.
@@ -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