google-cloud-recommendation_engine-v1beta1 0.4.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/client.rb +10 -12
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/operations.rb +14 -16
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/client.rb +769 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/operations.rb +807 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/service_stub.rb +405 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest.rb +53 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service.rb +7 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb +6 -8
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/client.rb +512 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/service_stub.rb +226 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest.rb +56 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry.rb +7 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/client.rb +6 -8
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/client.rb +440 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/service_stub.rb +108 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest.rb +52 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service.rb +7 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/rest.rb +40 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/client.rb +14 -16
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/operations.rb +14 -16
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/client.rb +765 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/operations.rb +807 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/service_stub.rb +346 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest.rb +53 -0
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service.rb +7 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/version.rb +1 -1
- data/lib/google/cloud/recommendation_engine/v1beta1.rb +7 -2
- data/lib/google/cloud/recommendationengine/v1beta1/catalog_pb.rb +25 -49
- data/lib/google/cloud/recommendationengine/v1beta1/catalog_service_pb.rb +26 -26
- data/lib/google/cloud/recommendationengine/v1beta1/common_pb.rb +24 -11
- data/lib/google/cloud/recommendationengine/v1beta1/import_pb.rb +28 -55
- data/lib/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service_pb.rb +24 -20
- data/lib/google/cloud/recommendationengine/v1beta1/prediction_service_pb.rb +26 -23
- data/lib/google/cloud/recommendationengine/v1beta1/recommendationengine_resources_pb.rb +25 -2
- data/lib/google/cloud/recommendationengine/v1beta1/user_event_pb.rb +27 -55
- data/lib/google/cloud/recommendationengine/v1beta1/user_event_service_pb.rb +26 -34
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +25 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd4a711e48d28a9e3fdd593d42fc7c5093066fa0d381e449fe3a177f00f2d8f2
|
4
|
+
data.tar.gz: cf8fe6e914556568699b6ed869bf2476394901343548b29fac64361c395cd5e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0f2d5e019b523bb5d77d41bbe8e498572412f4cfcedeb4bed4e41327e4319790b7d875a447c37cb1309ed4a6aba8c706f76448ada521c3563478bf0a62407ed
|
7
|
+
data.tar.gz: 95ac82d4fa6640e8f49bb42b819d83b863e61b626d3b5ee54bc137f624e82bddd6238616195b67e0a81df3ca8ee59006140fe29c7767157e0c41393d5c3cd593
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Recommendations AI V1beta1 API
|
2
2
|
|
3
|
-
|
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
|
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
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
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
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/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.
|
53
53
|
|
@@ -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
|
-
# #
|
415
|
-
#
|
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
|
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
|
699
|
-
# #
|
700
|
-
# #
|
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 "
|
703
|
+
# puts "No response received."
|
706
704
|
# end
|
707
705
|
#
|
708
706
|
def import_catalog_items request, options = nil
|
@@ -785,9 +783,9 @@ module Google
|
|
785
783
|
# * (`String`) The path to a service account key file in JSON format
|
786
784
|
# * (`Hash`) A service account key as a Hash
|
787
785
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
788
|
-
# (see the [googleauth docs](https://
|
786
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
789
787
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
790
|
-
# (see the [signet docs](https://
|
788
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
791
789
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
792
790
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
793
791
|
# * (`nil`) indicating no credentials
|
@@ -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
|
-
# #
|
163
|
-
#
|
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
|
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
|
257
|
-
# #
|
258
|
-
# #
|
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 "
|
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
|
544
|
-
# #
|
545
|
-
# #
|
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 "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|
@@ -622,9 +620,9 @@ module Google
|
|
622
620
|
# * (`String`) The path to a service account key file in JSON format
|
623
621
|
# * (`Hash`) A service account key as a Hash
|
624
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
625
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
626
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
627
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
628
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
629
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
630
628
|
# * (`nil`) indicating no credentials
|