google-cloud-recommendation_engine-v1beta1 0.4.1 → 0.5.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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/client.rb +8 -10
  4. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/operations.rb +12 -14
  5. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/client.rb +769 -0
  6. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/operations.rb +807 -0
  7. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/service_stub.rb +405 -0
  8. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest.rb +53 -0
  9. data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service.rb +7 -1
  10. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb +4 -6
  11. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/client.rb +512 -0
  12. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/service_stub.rb +226 -0
  13. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest.rb +56 -0
  14. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry.rb +7 -1
  15. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/client.rb +4 -6
  16. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/client.rb +440 -0
  17. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/service_stub.rb +108 -0
  18. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest.rb +52 -0
  19. data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service.rb +7 -1
  20. data/lib/google/cloud/recommendation_engine/v1beta1/rest.rb +40 -0
  21. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/client.rb +12 -14
  22. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/operations.rb +12 -14
  23. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/client.rb +765 -0
  24. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/operations.rb +807 -0
  25. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/service_stub.rb +346 -0
  26. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest.rb +53 -0
  27. data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service.rb +7 -1
  28. data/lib/google/cloud/recommendation_engine/v1beta1/version.rb +1 -1
  29. data/lib/google/cloud/recommendation_engine/v1beta1.rb +7 -2
  30. data/proto_docs/google/rpc/status.rb +4 -2
  31. metadata +25 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4412187245b43fb8cc443c50beb20f7fd6484affe8b8ec4315aa35af50fe6b79
4
- data.tar.gz: bba65a6a7d56edf31b3428f3e328d3d7e1c592457fdff115f69747116680f4df
3
+ metadata.gz: 18678e203a4c71f0239cb3a340813b1066ac42b94bd2f48b5878a9fa9fb62df9
4
+ data.tar.gz: d8aecef40f0fea72dc98a2b1b461cdfd9ddcff213927edcfa2e62dcf12766ad1
5
5
  SHA512:
6
- metadata.gz: ae0f4d6de6eed756f02e8852b0c09b05892aee7117395871747182297892793a6a0a7f39e941ce4dabb1fd98eb3ef5c65671ded6e02f09cf760cacf185feacee
7
- data.tar.gz: 5d2738523081f079cf5566050002368df7fc1328e4b97318fbdfd1ca1e716bb9aae1e03146b2f61e62f7d6bc85aac9127395c5498d34d409f1388068351caff4
6
+ metadata.gz: fa8d06f0580d3e84bd84ee59c90c3eaaf1e36ee76eb690db14c295097bdad04acbfb3d71fd7f664bcc75a4dbde700b98dc4ab1b8af1abb41515357e2378831e4
7
+ data.tar.gz: e1c22e00c4455256997be42076ad6be2ec1287fc3c60afbfebf6bf97a34e6b7c516f77f701d2ae86f40dc8f4b42913cb74c9fdfc03d7a8f19ede119b9f6fef70
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Recommendations AI V1beta1 API
2
2
 
3
- API Client library for the Recommendations AI V1beta1 API
3
+ Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.
4
4
 
5
5
  Recommendations AI enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.
6
6
 
@@ -410,13 +410,11 @@ module Google
410
410
  # # Call the list_catalog_items method.
411
411
  # result = client.list_catalog_items request
412
412
  #
413
- # # The returned object is of type Gapic::PagedEnumerable. You can
414
- # # iterate over all elements by calling #each, and the enumerable
415
- # # will lazily make API calls to fetch subsequent pages. Other
416
- # # methods are also available for managing paging directly.
417
- # result.each do |response|
413
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
414
+ # # over elements, and API calls will be issued to fetch pages as needed.
415
+ # result.each do |item|
418
416
  # # Each element is of type ::Google::Cloud::RecommendationEngine::V1beta1::CatalogItem.
419
- # p response
417
+ # p item
420
418
  # end
421
419
  #
422
420
  def list_catalog_items request, options = nil
@@ -695,14 +693,14 @@ module Google
695
693
  # # Call the import_catalog_items method.
696
694
  # result = client.import_catalog_items request
697
695
  #
698
- # # The returned object is of type Gapic::Operation. You can use this
699
- # # object to check the status of an operation, cancel it, or wait
700
- # # for results. Here is how to block until completion:
696
+ # # The returned object is of type Gapic::Operation. You can use it to
697
+ # # check the status of an operation, cancel it, or wait for results.
698
+ # # Here is how to wait for a response.
701
699
  # result.wait_until_done! timeout: 60
702
700
  # if result.response?
703
701
  # p result.response
704
702
  # else
705
- # puts "Error!"
703
+ # puts "No response received."
706
704
  # end
707
705
  #
708
706
  def import_catalog_items request, options = nil
@@ -158,13 +158,11 @@ module Google
158
158
  # # Call the list_operations method.
159
159
  # result = client.list_operations request
160
160
  #
161
- # # The returned object is of type Gapic::PagedEnumerable. You can
162
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
164
- # # methods are also available for managing paging directly.
165
- # result.each do |response|
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
162
+ # # over elements, and API calls will be issued to fetch pages as needed.
163
+ # result.each do |item|
166
164
  # # Each element is of type ::Google::Longrunning::Operation.
167
- # p response
165
+ # p item
168
166
  # end
169
167
  #
170
168
  def list_operations request, options = nil
@@ -253,14 +251,14 @@ module Google
253
251
  # # Call the get_operation method.
254
252
  # result = client.get_operation request
255
253
  #
256
- # # The returned object is of type Gapic::Operation. You can use this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
254
+ # # The returned object is of type Gapic::Operation. You can use it to
255
+ # # check the status of an operation, cancel it, or wait for results.
256
+ # # Here is how to wait for a response.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
261
+ # puts "No response received."
264
262
  # end
265
263
  #
266
264
  def get_operation request, options = nil
@@ -540,14 +538,14 @@ module Google
540
538
  # # Call the wait_operation method.
541
539
  # result = client.wait_operation request
542
540
  #
543
- # # The returned object is of type Gapic::Operation. You can use this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
541
+ # # The returned object is of type Gapic::Operation. You can use it to
542
+ # # check the status of an operation, cancel it, or wait for results.
543
+ # # Here is how to wait for a response.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil