google-cloud-retail-v2 0.14.0 → 0.15.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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/retail/v2/catalog_service/client.rb +2 -2
  4. data/lib/google/cloud/retail/v2/catalog_service/rest/client.rb +2 -2
  5. data/lib/google/cloud/retail/v2/common_pb.rb +6 -0
  6. data/lib/google/cloud/retail/v2/completion_service/client.rb +11 -4
  7. data/lib/google/cloud/retail/v2/completion_service/operations.rb +2 -2
  8. data/lib/google/cloud/retail/v2/completion_service/rest/client.rb +11 -4
  9. data/lib/google/cloud/retail/v2/completion_service/rest/operations.rb +2 -2
  10. data/lib/google/cloud/retail/v2/completion_service/rest.rb +1 -1
  11. data/lib/google/cloud/retail/v2/completion_service.rb +1 -1
  12. data/lib/google/cloud/retail/v2/completion_service_pb.rb +1 -0
  13. data/lib/google/cloud/retail/v2/completion_service_services_pb.rb +1 -1
  14. data/lib/google/cloud/retail/v2/control_service/client.rb +2 -2
  15. data/lib/google/cloud/retail/v2/control_service/rest/client.rb +2 -2
  16. data/lib/google/cloud/retail/v2/model_pb.rb +70 -0
  17. data/lib/google/cloud/retail/v2/model_service/client.rb +1126 -0
  18. data/lib/google/cloud/retail/v2/model_service/credentials.rb +51 -0
  19. data/lib/google/cloud/retail/v2/model_service/operations.rb +768 -0
  20. data/lib/google/cloud/retail/v2/model_service/paths.rb +73 -0
  21. data/lib/google/cloud/retail/v2/model_service/rest/client.rb +904 -0
  22. data/lib/google/cloud/retail/v2/model_service/rest/operations.rb +828 -0
  23. data/lib/google/cloud/retail/v2/model_service/rest/service_stub.rb +525 -0
  24. data/lib/google/cloud/retail/v2/model_service/rest.rb +64 -0
  25. data/lib/google/cloud/retail/v2/model_service.rb +67 -0
  26. data/lib/google/cloud/retail/v2/model_service_pb.rb +80 -0
  27. data/lib/google/cloud/retail/v2/model_service_services_pb.rb +73 -0
  28. data/lib/google/cloud/retail/v2/prediction_service/client.rb +5 -2
  29. data/lib/google/cloud/retail/v2/prediction_service/rest/client.rb +5 -2
  30. data/lib/google/cloud/retail/v2/product_service/client.rb +18 -17
  31. data/lib/google/cloud/retail/v2/product_service/operations.rb +2 -2
  32. data/lib/google/cloud/retail/v2/product_service/rest/client.rb +18 -17
  33. data/lib/google/cloud/retail/v2/product_service/rest/operations.rb +2 -2
  34. data/lib/google/cloud/retail/v2/product_service_services_pb.rb +16 -15
  35. data/lib/google/cloud/retail/v2/rest.rb +1 -0
  36. data/lib/google/cloud/retail/v2/search_service/client.rb +11 -4
  37. data/lib/google/cloud/retail/v2/search_service/rest/client.rb +11 -4
  38. data/lib/google/cloud/retail/v2/search_service_pb.rb +14 -0
  39. data/lib/google/cloud/retail/v2/serving_config_service/client.rb +2 -2
  40. data/lib/google/cloud/retail/v2/serving_config_service/rest/client.rb +2 -2
  41. data/lib/google/cloud/retail/v2/user_event_pb.rb +1 -0
  42. data/lib/google/cloud/retail/v2/user_event_service/client.rb +3 -3
  43. data/lib/google/cloud/retail/v2/user_event_service/operations.rb +2 -2
  44. data/lib/google/cloud/retail/v2/user_event_service/rest/client.rb +3 -3
  45. data/lib/google/cloud/retail/v2/user_event_service/rest/operations.rb +2 -2
  46. data/lib/google/cloud/retail/v2/version.rb +1 -1
  47. data/lib/google/cloud/retail/v2.rb +1 -0
  48. data/proto_docs/google/api/client.rb +57 -3
  49. data/proto_docs/google/cloud/retail/v2/catalog.rb +11 -6
  50. data/proto_docs/google/cloud/retail/v2/common.rb +15 -1
  51. data/proto_docs/google/cloud/retail/v2/completion_service.rb +10 -2
  52. data/proto_docs/google/cloud/retail/v2/import_config.rb +1 -1
  53. data/proto_docs/google/cloud/retail/v2/model.rb +228 -0
  54. data/proto_docs/google/cloud/retail/v2/model_service.rb +172 -0
  55. data/proto_docs/google/cloud/retail/v2/prediction_service.rb +3 -0
  56. data/proto_docs/google/cloud/retail/v2/product.rb +2 -3
  57. data/proto_docs/google/cloud/retail/v2/search_service.rb +56 -2
  58. data/proto_docs/google/cloud/retail/v2/serving_config.rb +3 -3
  59. data/proto_docs/google/cloud/retail/v2/user_event.rb +7 -0
  60. data/proto_docs/google/cloud/retail/v2/user_event_service.rb +1 -1
  61. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d734af19fd64b2147921c37cd075cc519a0d3cd078572b48c16f5050ed0540f7
4
- data.tar.gz: 223e56bf3584d620c7c1727678bf423e4e63c7e328828716d9b603e34b03d1b2
3
+ metadata.gz: c5c0b8b99ddda142b43391e92256b5e40721abbc0d0dca397b43dbbc9008915e
4
+ data.tar.gz: 31498ffda04297766aec21a982fa96c74c5bed1a25a23228d0883b26357e8ce9
5
5
  SHA512:
6
- metadata.gz: 5cc895e75d1a8c5f005dd495d094fae51a059c056a3a62316f7c6a179f0cb66101d39fdf62b00aeeb9a77428cb1bc741a7de5c476c67a083502932ec0dda1406
7
- data.tar.gz: 462e1ab0eaaaf1a9ad2316aa2738edb272434a7e8d170040b8c52c7437e550088b6fc37c4d9a10fd5bd5c18b7aeff05de498ece96712534da6fe7f36b96104ff
6
+ metadata.gz: 56ca7e4df5b5edc7f3f25c2a574509753f6880e191c7f5078832dfa10bed5e7456800619c146c6239f4219552912a0f50b462aa226c31746191dcdc3e3e763aa
7
+ data.tar.gz: f921bee36e85f1b1cbed8412ecd8866ef725ef27d0cf7aa8a0cad2a851e43e23b0af2da122be002bb9beadf28c27d9e1d7ddc0da866c4ec3c077699745753cbe
data/README.md CHANGED
@@ -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://googleapis.dev/ruby/google-cloud-logging/latest)
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
 
@@ -1307,9 +1307,9 @@ module Google
1307
1307
  # * (`String`) The path to a service account key file in JSON format
1308
1308
  # * (`Hash`) A service account key as a Hash
1309
1309
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1310
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1310
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1311
1311
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1312
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1312
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1313
1313
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1314
1314
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1315
1315
  # * (`nil`) indicating no credentials
@@ -1041,9 +1041,9 @@ module Google
1041
1041
  # * (`String`) The path to a service account key file in JSON format
1042
1042
  # * (`Hash`) A service account key as a Hash
1043
1043
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1044
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1044
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1045
1045
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1046
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1046
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1047
1047
  # * (`nil`) indicating no credentials
1048
1048
  # @return [::Object]
1049
1049
  # @!attribute [rw] scope
@@ -137,6 +137,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
137
137
  value :SOLUTION_TYPE_RECOMMENDATION, 1
138
138
  value :SOLUTION_TYPE_SEARCH, 2
139
139
  end
140
+ add_enum "google.cloud.retail.v2.RecommendationsFilteringOption" do
141
+ value :RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED, 0
142
+ value :RECOMMENDATIONS_FILTERING_DISABLED, 1
143
+ value :RECOMMENDATIONS_FILTERING_ENABLED, 3
144
+ end
140
145
  add_enum "google.cloud.retail.v2.SearchSolutionUseCase" do
141
146
  value :SEARCH_SOLUTION_USE_CASE_UNSPECIFIED, 0
142
147
  value :SEARCH_SOLUTION_USE_CASE_SEARCH, 1
@@ -174,6 +179,7 @@ module Google
174
179
  LocalInventory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.LocalInventory").msgclass
175
180
  AttributeConfigLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.AttributeConfigLevel").enummodule
176
181
  SolutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.SolutionType").enummodule
182
+ RecommendationsFilteringOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.RecommendationsFilteringOption").enummodule
177
183
  SearchSolutionUseCase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.SearchSolutionUseCase").enummodule
178
184
  end
179
185
  end
@@ -28,7 +28,7 @@ module Google
28
28
  ##
29
29
  # Client for the CompletionService service.
30
30
  #
31
- # Auto-completion service for retail.
31
+ # Autocomplete service for retail.
32
32
  #
33
33
  # This feature is only available for users who have Retail Search enabled.
34
34
  # Enable Retail Search on Cloud Console before using this feature.
@@ -195,7 +195,7 @@ module Google
195
195
  # @param options [::Gapic::CallOptions, ::Hash]
196
196
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
197
197
  #
198
- # @overload complete_query(catalog: nil, query: nil, visitor_id: nil, language_codes: nil, device_type: nil, dataset: nil, max_suggestions: nil)
198
+ # @overload complete_query(catalog: nil, query: nil, visitor_id: nil, language_codes: nil, device_type: nil, dataset: nil, max_suggestions: nil, entity: nil)
199
199
  # Pass arguments to `complete_query` via keyword arguments. Note that at
200
200
  # least one keyword argument is required. To specify no parameters, or to keep all
201
201
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -265,6 +265,13 @@ module Google
265
265
  #
266
266
  # The maximum allowed max suggestions is 20. If it is set higher, it will be
267
267
  # capped by 20.
268
+ # @param entity [::String]
269
+ # The entity for customers that may run multiple different entities, domains,
270
+ # sites or regions, for example, `Google US`, `Google Ads`, `Waymo`,
271
+ # `google.com`, `youtube.com`, etc.
272
+ # If this is set, it should be exactly matched with
273
+ # {::Google::Cloud::Retail::V2::UserEvent#entity UserEvent.entity} to get
274
+ # per-entity autocomplete results.
268
275
  #
269
276
  # @yield [response, operation] Access the result along with the RPC operation
270
277
  # @yieldparam response [::Google::Cloud::Retail::V2::CompleteQueryResponse]
@@ -479,9 +486,9 @@ module Google
479
486
  # * (`String`) The path to a service account key file in JSON format
480
487
  # * (`Hash`) A service account key as a Hash
481
488
  # * (`Google::Auth::Credentials`) A googleauth credentials object
482
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
489
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
483
490
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
484
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
491
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
485
492
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
486
493
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
487
494
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -30,7 +30,7 @@ module Google
30
30
  ##
31
31
  # REST client for the CompletionService service.
32
32
  #
33
- # Auto-completion service for retail.
33
+ # Autocomplete service for retail.
34
34
  #
35
35
  # This feature is only available for users who have Retail Search enabled.
36
36
  # Enable Retail Search on Cloud Console before using this feature.
@@ -186,7 +186,7 @@ module Google
186
186
  # @param options [::Gapic::CallOptions, ::Hash]
187
187
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
188
188
  #
189
- # @overload complete_query(catalog: nil, query: nil, visitor_id: nil, language_codes: nil, device_type: nil, dataset: nil, max_suggestions: nil)
189
+ # @overload complete_query(catalog: nil, query: nil, visitor_id: nil, language_codes: nil, device_type: nil, dataset: nil, max_suggestions: nil, entity: nil)
190
190
  # Pass arguments to `complete_query` via keyword arguments. Note that at
191
191
  # least one keyword argument is required. To specify no parameters, or to keep all
192
192
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -256,6 +256,13 @@ module Google
256
256
  #
257
257
  # The maximum allowed max suggestions is 20. If it is set higher, it will be
258
258
  # capped by 20.
259
+ # @param entity [::String]
260
+ # The entity for customers that may run multiple different entities, domains,
261
+ # sites or regions, for example, `Google US`, `Google Ads`, `Waymo`,
262
+ # `google.com`, `youtube.com`, etc.
263
+ # If this is set, it should be exactly matched with
264
+ # {::Google::Cloud::Retail::V2::UserEvent#entity UserEvent.entity} to get
265
+ # per-entity autocomplete results.
259
266
  # @yield [result, operation] Access the result along with the TransportOperation object
260
267
  # @yieldparam result [::Google::Cloud::Retail::V2::CompleteQueryResponse]
261
268
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -417,9 +424,9 @@ module Google
417
424
  # * (`String`) The path to a service account key file in JSON format
418
425
  # * (`Hash`) A service account key as a Hash
419
426
  # * (`Google::Auth::Credentials`) A googleauth credentials object
420
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
427
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
421
428
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
422
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
429
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
423
430
  # * (`nil`) indicating no credentials
424
431
  # @return [::Object]
425
432
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -32,7 +32,7 @@ module Google
32
32
  module Retail
33
33
  module V2
34
34
  ##
35
- # Auto-completion service for retail.
35
+ # Autocomplete service for retail.
36
36
  #
37
37
  # This feature is only available for users who have Retail Search enabled.
38
38
  # Enable Retail Search on Cloud Console before using this feature.
@@ -33,7 +33,7 @@ module Google
33
33
  module Retail
34
34
  module V2
35
35
  ##
36
- # Auto-completion service for retail.
36
+ # Autocomplete service for retail.
37
37
  #
38
38
  # This feature is only available for users who have Retail Search enabled.
39
39
  # Enable Retail Search on Cloud Console before using this feature.
@@ -21,6 +21,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  optional :device_type, :string, 4
22
22
  optional :dataset, :string, 6
23
23
  optional :max_suggestions, :int32, 5
24
+ optional :entity, :string, 10
24
25
  end
25
26
  add_message "google.cloud.retail.v2.CompleteQueryResponse" do
26
27
  repeated :completion_results, :message, 1, "google.cloud.retail.v2.CompleteQueryResponse.CompletionResult"
@@ -24,7 +24,7 @@ module Google
24
24
  module Retail
25
25
  module V2
26
26
  module CompletionService
27
- # Auto-completion service for retail.
27
+ # Autocomplete service for retail.
28
28
  #
29
29
  # This feature is only available for users who have Retail Search enabled.
30
30
  # Enable Retail Search on Cloud Console before using this feature.
@@ -671,9 +671,9 @@ module Google
671
671
  # * (`String`) The path to a service account key file in JSON format
672
672
  # * (`Hash`) A service account key as a Hash
673
673
  # * (`Google::Auth::Credentials`) A googleauth credentials object
674
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
674
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
675
675
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
676
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
676
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
677
677
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
678
678
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
679
679
  # * (`nil`) indicating no credentials
@@ -543,9 +543,9 @@ module Google
543
543
  # * (`String`) The path to a service account key file in JSON format
544
544
  # * (`Hash`) A service account key as a Hash
545
545
  # * (`Google::Auth::Credentials`) A googleauth credentials object
546
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
546
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
547
547
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
548
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
548
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
549
549
  # * (`nil`) indicating no credentials
550
550
  # @return [::Object]
551
551
  # @!attribute [rw] scope
@@ -0,0 +1,70 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/retail/v2/model.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/retail/v2/common_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/retail/v2/model.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.retail.v2.Model" do
14
+ optional :name, :string, 1
15
+ optional :display_name, :string, 2
16
+ optional :training_state, :enum, 3, "google.cloud.retail.v2.Model.TrainingState"
17
+ optional :serving_state, :enum, 4, "google.cloud.retail.v2.Model.ServingState"
18
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
19
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
20
+ optional :type, :string, 7
21
+ optional :optimization_objective, :string, 8
22
+ optional :periodic_tuning_state, :enum, 11, "google.cloud.retail.v2.Model.PeriodicTuningState"
23
+ optional :last_tune_time, :message, 12, "google.protobuf.Timestamp"
24
+ optional :tuning_operation, :string, 15
25
+ optional :data_state, :enum, 16, "google.cloud.retail.v2.Model.DataState"
26
+ optional :filtering_option, :enum, 18, "google.cloud.retail.v2.RecommendationsFilteringOption"
27
+ repeated :serving_config_lists, :message, 19, "google.cloud.retail.v2.Model.ServingConfigList"
28
+ end
29
+ add_message "google.cloud.retail.v2.Model.ServingConfigList" do
30
+ repeated :serving_config_ids, :string, 1
31
+ end
32
+ add_enum "google.cloud.retail.v2.Model.ServingState" do
33
+ value :SERVING_STATE_UNSPECIFIED, 0
34
+ value :INACTIVE, 1
35
+ value :ACTIVE, 2
36
+ value :TUNED, 3
37
+ end
38
+ add_enum "google.cloud.retail.v2.Model.TrainingState" do
39
+ value :TRAINING_STATE_UNSPECIFIED, 0
40
+ value :PAUSED, 1
41
+ value :TRAINING, 2
42
+ end
43
+ add_enum "google.cloud.retail.v2.Model.PeriodicTuningState" do
44
+ value :PERIODIC_TUNING_STATE_UNSPECIFIED, 0
45
+ value :PERIODIC_TUNING_DISABLED, 1
46
+ value :ALL_TUNING_DISABLED, 3
47
+ value :PERIODIC_TUNING_ENABLED, 2
48
+ end
49
+ add_enum "google.cloud.retail.v2.Model.DataState" do
50
+ value :DATA_STATE_UNSPECIFIED, 0
51
+ value :DATA_OK, 1
52
+ value :DATA_ERROR, 2
53
+ end
54
+ end
55
+ end
56
+
57
+ module Google
58
+ module Cloud
59
+ module Retail
60
+ module V2
61
+ Model = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Model").msgclass
62
+ Model::ServingConfigList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Model.ServingConfigList").msgclass
63
+ Model::ServingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Model.ServingState").enummodule
64
+ Model::TrainingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Model.TrainingState").enummodule
65
+ Model::PeriodicTuningState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Model.PeriodicTuningState").enummodule
66
+ Model::DataState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Model.DataState").enummodule
67
+ end
68
+ end
69
+ end
70
+ end