google-cloud-recommender-v1 0.8.4 → 0.8.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccbc6eb90c4dbaceb1a34310e189ad968213ba4399dab10d2b3a04483b74ae21
4
- data.tar.gz: cc456df40e2987509f3b94134f425c8249864e7508bd23448cdae0d13357ee80
3
+ metadata.gz: a7f5fe1e46249992044783960760455a1362306c2910ab06dfc6f3f631935990
4
+ data.tar.gz: e1c7a165f33c14e38db363e58415235b897eb9d7065f537447b11579bda29d11
5
5
  SHA512:
6
- metadata.gz: e308c4383e767085449ae835fdd62faf15761e4221f1f82a7fd2327333f00727cb6b14275e01c0a95d0a4f4264c029added016fdbedd436d58f2dd5a1b2a573d
7
- data.tar.gz: 3873a0a480ff1d304ba0be2bd537b188b0ea0ff04769294c4da98cad9e847bb3efc79fd314975176833b603fa5e79b9851296d1b2337c0ca8bff764a9117826d
6
+ metadata.gz: 0afde07778310a614f90567db054e377105c8fe0d7348fc952aa368aeb06a42f134754493a071ceb2cfaf146318ef2406856a8a8a8e8d131cbcee47d4257724e
7
+ data.tar.gz: ef1896f282823ea9fc89c0907d3c0063c2d3ac904686b95041cc496d02fedaf681e991801bf773ffada97cfeded6663f4bb4a522d42e4ec46a1651cbef78b8fc
@@ -227,6 +227,27 @@ module Google
227
227
  #
228
228
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
229
229
  #
230
+ # @example Basic example
231
+ # require "google/cloud/recommender/v1"
232
+ #
233
+ # # Create a client object. The client can be reused for multiple calls.
234
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
235
+ #
236
+ # # Create a request. To set request fields, pass in keyword arguments.
237
+ # request = Google::Cloud::Recommender::V1::ListInsightsRequest.new
238
+ #
239
+ # # Call the list_insights method.
240
+ # result = client.list_insights request
241
+ #
242
+ # # The returned object is of type Gapic::PagedEnumerable. You can
243
+ # # iterate over all elements by calling #each, and the enumerable
244
+ # # will lazily make API calls to fetch subsequent pages. Other
245
+ # # methods are also available for managing paging directly.
246
+ # result.each do |response|
247
+ # # Each element is of type ::Google::Cloud::Recommender::V1::Insight.
248
+ # p response
249
+ # end
250
+ #
230
251
  def list_insights request, options = nil
231
252
  raise ::ArgumentError, "request must be provided" if request.nil?
232
253
 
@@ -299,6 +320,21 @@ module Google
299
320
  #
300
321
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
301
322
  #
323
+ # @example Basic example
324
+ # require "google/cloud/recommender/v1"
325
+ #
326
+ # # Create a client object. The client can be reused for multiple calls.
327
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
328
+ #
329
+ # # Create a request. To set request fields, pass in keyword arguments.
330
+ # request = Google::Cloud::Recommender::V1::GetInsightRequest.new
331
+ #
332
+ # # Call the get_insight method.
333
+ # result = client.get_insight request
334
+ #
335
+ # # The returned object is of type Google::Cloud::Recommender::V1::Insight.
336
+ # p result
337
+ #
302
338
  def get_insight request, options = nil
303
339
  raise ::ArgumentError, "request must be provided" if request.nil?
304
340
 
@@ -379,6 +415,21 @@ module Google
379
415
  #
380
416
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
381
417
  #
418
+ # @example Basic example
419
+ # require "google/cloud/recommender/v1"
420
+ #
421
+ # # Create a client object. The client can be reused for multiple calls.
422
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
423
+ #
424
+ # # Create a request. To set request fields, pass in keyword arguments.
425
+ # request = Google::Cloud::Recommender::V1::MarkInsightAcceptedRequest.new
426
+ #
427
+ # # Call the mark_insight_accepted method.
428
+ # result = client.mark_insight_accepted request
429
+ #
430
+ # # The returned object is of type Google::Cloud::Recommender::V1::Insight.
431
+ # p result
432
+ #
382
433
  def mark_insight_accepted request, options = nil
383
434
  raise ::ArgumentError, "request must be provided" if request.nil?
384
435
 
@@ -472,6 +523,27 @@ module Google
472
523
  #
473
524
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
474
525
  #
526
+ # @example Basic example
527
+ # require "google/cloud/recommender/v1"
528
+ #
529
+ # # Create a client object. The client can be reused for multiple calls.
530
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
531
+ #
532
+ # # Create a request. To set request fields, pass in keyword arguments.
533
+ # request = Google::Cloud::Recommender::V1::ListRecommendationsRequest.new
534
+ #
535
+ # # Call the list_recommendations method.
536
+ # result = client.list_recommendations request
537
+ #
538
+ # # The returned object is of type Gapic::PagedEnumerable. You can
539
+ # # iterate over all elements by calling #each, and the enumerable
540
+ # # will lazily make API calls to fetch subsequent pages. Other
541
+ # # methods are also available for managing paging directly.
542
+ # result.each do |response|
543
+ # # Each element is of type ::Google::Cloud::Recommender::V1::Recommendation.
544
+ # p response
545
+ # end
546
+ #
475
547
  def list_recommendations request, options = nil
476
548
  raise ::ArgumentError, "request must be provided" if request.nil?
477
549
 
@@ -544,6 +616,21 @@ module Google
544
616
  #
545
617
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
546
618
  #
619
+ # @example Basic example
620
+ # require "google/cloud/recommender/v1"
621
+ #
622
+ # # Create a client object. The client can be reused for multiple calls.
623
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
624
+ #
625
+ # # Create a request. To set request fields, pass in keyword arguments.
626
+ # request = Google::Cloud::Recommender::V1::GetRecommendationRequest.new
627
+ #
628
+ # # Call the get_recommendation method.
629
+ # result = client.get_recommendation request
630
+ #
631
+ # # The returned object is of type Google::Cloud::Recommender::V1::Recommendation.
632
+ # p result
633
+ #
547
634
  def get_recommendation request, options = nil
548
635
  raise ::ArgumentError, "request must be provided" if request.nil?
549
636
 
@@ -630,6 +717,21 @@ module Google
630
717
  #
631
718
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
632
719
  #
720
+ # @example Basic example
721
+ # require "google/cloud/recommender/v1"
722
+ #
723
+ # # Create a client object. The client can be reused for multiple calls.
724
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
725
+ #
726
+ # # Create a request. To set request fields, pass in keyword arguments.
727
+ # request = Google::Cloud::Recommender::V1::MarkRecommendationClaimedRequest.new
728
+ #
729
+ # # Call the mark_recommendation_claimed method.
730
+ # result = client.mark_recommendation_claimed request
731
+ #
732
+ # # The returned object is of type Google::Cloud::Recommender::V1::Recommendation.
733
+ # p result
734
+ #
633
735
  def mark_recommendation_claimed request, options = nil
634
736
  raise ::ArgumentError, "request must be provided" if request.nil?
635
737
 
@@ -717,6 +819,21 @@ module Google
717
819
  #
718
820
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
719
821
  #
822
+ # @example Basic example
823
+ # require "google/cloud/recommender/v1"
824
+ #
825
+ # # Create a client object. The client can be reused for multiple calls.
826
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
827
+ #
828
+ # # Create a request. To set request fields, pass in keyword arguments.
829
+ # request = Google::Cloud::Recommender::V1::MarkRecommendationSucceededRequest.new
830
+ #
831
+ # # Call the mark_recommendation_succeeded method.
832
+ # result = client.mark_recommendation_succeeded request
833
+ #
834
+ # # The returned object is of type Google::Cloud::Recommender::V1::Recommendation.
835
+ # p result
836
+ #
720
837
  def mark_recommendation_succeeded request, options = nil
721
838
  raise ::ArgumentError, "request must be provided" if request.nil?
722
839
 
@@ -804,6 +921,21 @@ module Google
804
921
  #
805
922
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
806
923
  #
924
+ # @example Basic example
925
+ # require "google/cloud/recommender/v1"
926
+ #
927
+ # # Create a client object. The client can be reused for multiple calls.
928
+ # client = Google::Cloud::Recommender::V1::Recommender::Client.new
929
+ #
930
+ # # Create a request. To set request fields, pass in keyword arguments.
931
+ # request = Google::Cloud::Recommender::V1::MarkRecommendationFailedRequest.new
932
+ #
933
+ # # Call the mark_recommendation_failed method.
934
+ # result = client.mark_recommendation_failed request
935
+ #
936
+ # # The returned object is of type Google::Cloud::Recommender::V1::Recommendation.
937
+ # p result
938
+ #
807
939
  def mark_recommendation_failed request, options = nil
808
940
  raise ::ArgumentError, "request must be provided" if request.nil?
809
941
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Recommender
23
23
  module V1
24
- VERSION = "0.8.4"
24
+ VERSION = "0.8.5"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recommender-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common