google-cloud-retail-v2 0.10.0 → 0.11.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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/retail/v2/catalog_pb.rb +55 -0
  3. data/lib/google/cloud/retail/v2/catalog_service/client.rb +718 -0
  4. data/lib/google/cloud/retail/v2/catalog_service/paths.rb +38 -0
  5. data/lib/google/cloud/retail/v2/catalog_service_pb.rb +34 -0
  6. data/lib/google/cloud/retail/v2/catalog_service_services_pb.rb +38 -0
  7. data/lib/google/cloud/retail/v2/common_pb.rb +86 -0
  8. data/lib/google/cloud/retail/v2/completion_service/client.rb +4 -3
  9. data/lib/google/cloud/retail/v2/control_pb.rb +33 -0
  10. data/lib/google/cloud/retail/v2/control_service/client.rb +807 -0
  11. data/lib/google/cloud/retail/v2/control_service/credentials.rb +51 -0
  12. data/lib/google/cloud/retail/v2/control_service/paths.rb +73 -0
  13. data/lib/google/cloud/retail/v2/control_service.rb +49 -0
  14. data/lib/google/cloud/retail/v2/control_service_pb.rb +57 -0
  15. data/lib/google/cloud/retail/v2/control_service_services_pb.rb +65 -0
  16. data/lib/google/cloud/retail/v2/prediction_service_pb.rb +0 -1
  17. data/lib/google/cloud/retail/v2/product_pb.rb +1 -0
  18. data/lib/google/cloud/retail/v2/product_service/client.rb +42 -12
  19. data/lib/google/cloud/retail/v2/product_service_services_pb.rb +35 -0
  20. data/lib/google/cloud/retail/v2/search_service/client.rb +12 -1
  21. data/lib/google/cloud/retail/v2/search_service_pb.rb +1 -0
  22. data/lib/google/cloud/retail/v2/serving_config_pb.rb +44 -0
  23. data/lib/google/cloud/retail/v2/serving_config_service/client.rb +998 -0
  24. data/lib/google/cloud/retail/v2/serving_config_service/credentials.rb +51 -0
  25. data/lib/google/cloud/retail/v2/serving_config_service/paths.rb +73 -0
  26. data/lib/google/cloud/retail/v2/serving_config_service.rb +49 -0
  27. data/lib/google/cloud/retail/v2/serving_config_service_pb.rb +66 -0
  28. data/lib/google/cloud/retail/v2/serving_config_service_services_pb.rb +74 -0
  29. data/lib/google/cloud/retail/v2/user_event_service/client.rb +2 -2
  30. data/lib/google/cloud/retail/v2/user_event_service_pb.rb +0 -1
  31. data/lib/google/cloud/retail/v2/user_event_service_services_pb.rb +2 -2
  32. data/lib/google/cloud/retail/v2/version.rb +1 -1
  33. data/lib/google/cloud/retail/v2.rb +2 -0
  34. data/proto_docs/google/cloud/retail/v2/catalog.rb +233 -0
  35. data/proto_docs/google/cloud/retail/v2/catalog_service.rb +133 -0
  36. data/proto_docs/google/cloud/retail/v2/common.rb +314 -4
  37. data/proto_docs/google/cloud/retail/v2/completion_service.rb +2 -1
  38. data/proto_docs/google/cloud/retail/v2/control.rb +76 -0
  39. data/proto_docs/google/cloud/retail/v2/control_service.rb +122 -0
  40. data/proto_docs/google/cloud/retail/v2/import_config.rb +20 -35
  41. data/proto_docs/google/cloud/retail/v2/product.rb +7 -1
  42. data/proto_docs/google/cloud/retail/v2/search_service.rb +29 -2
  43. data/proto_docs/google/cloud/retail/v2/serving_config.rb +238 -0
  44. data/proto_docs/google/cloud/retail/v2/serving_config_service.rb +143 -0
  45. metadata +20 -2
@@ -24,6 +24,25 @@ module Google
24
24
  module CatalogService
25
25
  # Path helper methods for the CatalogService API.
26
26
  module Paths
27
+ ##
28
+ # Create a fully-qualified AttributesConfig resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/catalogs/{catalog}/attributesConfig`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param catalog [String]
37
+ #
38
+ # @return [::String]
39
+ def attributes_config_path project:, location:, catalog:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/catalogs/#{catalog}/attributesConfig"
44
+ end
45
+
27
46
  ##
28
47
  # Create a fully-qualified Branch resource string.
29
48
  #
@@ -64,6 +83,25 @@ module Google
64
83
  "projects/#{project}/locations/#{location}/catalogs/#{catalog}"
65
84
  end
66
85
 
86
+ ##
87
+ # Create a fully-qualified CompletionConfig resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}/catalogs/{catalog}/completionConfig`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ # @param catalog [String]
96
+ #
97
+ # @return [::String]
98
+ def completion_config_path project:, location:, catalog:
99
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
100
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
101
+
102
+ "projects/#{project}/locations/#{location}/catalogs/#{catalog}/completionConfig"
103
+ end
104
+
67
105
  ##
68
106
  # Create a fully-qualified Location resource string.
69
107
  #
@@ -41,6 +41,33 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
41
  optional :set_time, :message, 2, "google.protobuf.Timestamp"
42
42
  optional :note, :string, 3
43
43
  end
44
+ add_message "google.cloud.retail.v2.GetCompletionConfigRequest" do
45
+ optional :name, :string, 1
46
+ end
47
+ add_message "google.cloud.retail.v2.UpdateCompletionConfigRequest" do
48
+ optional :completion_config, :message, 1, "google.cloud.retail.v2.CompletionConfig"
49
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
50
+ end
51
+ add_message "google.cloud.retail.v2.GetAttributesConfigRequest" do
52
+ optional :name, :string, 1
53
+ end
54
+ add_message "google.cloud.retail.v2.UpdateAttributesConfigRequest" do
55
+ optional :attributes_config, :message, 1, "google.cloud.retail.v2.AttributesConfig"
56
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
57
+ end
58
+ add_message "google.cloud.retail.v2.AddCatalogAttributeRequest" do
59
+ optional :attributes_config, :string, 1
60
+ optional :catalog_attribute, :message, 2, "google.cloud.retail.v2.CatalogAttribute"
61
+ end
62
+ add_message "google.cloud.retail.v2.RemoveCatalogAttributeRequest" do
63
+ optional :attributes_config, :string, 1
64
+ optional :key, :string, 2
65
+ end
66
+ add_message "google.cloud.retail.v2.ReplaceCatalogAttributeRequest" do
67
+ optional :attributes_config, :string, 1
68
+ optional :catalog_attribute, :message, 2, "google.cloud.retail.v2.CatalogAttribute"
69
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
70
+ end
44
71
  end
45
72
  end
46
73
 
@@ -54,6 +81,13 @@ module Google
54
81
  SetDefaultBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.SetDefaultBranchRequest").msgclass
55
82
  GetDefaultBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.GetDefaultBranchRequest").msgclass
56
83
  GetDefaultBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.GetDefaultBranchResponse").msgclass
84
+ GetCompletionConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.GetCompletionConfigRequest").msgclass
85
+ UpdateCompletionConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.UpdateCompletionConfigRequest").msgclass
86
+ GetAttributesConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.GetAttributesConfigRequest").msgclass
87
+ UpdateAttributesConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.UpdateAttributesConfigRequest").msgclass
88
+ AddCatalogAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.AddCatalogAttributeRequest").msgclass
89
+ RemoveCatalogAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.RemoveCatalogAttributeRequest").msgclass
90
+ ReplaceCatalogAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.ReplaceCatalogAttributeRequest").msgclass
57
91
  end
58
92
  end
59
93
  end
@@ -76,6 +76,44 @@ module Google
76
76
  # [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
77
77
  # method under a specified parent catalog.
78
78
  rpc :GetDefaultBranch, ::Google::Cloud::Retail::V2::GetDefaultBranchRequest, ::Google::Cloud::Retail::V2::GetDefaultBranchResponse
79
+ # Gets a [CompletionConfig][google.cloud.retail.v2.CompletionConfig].
80
+ rpc :GetCompletionConfig, ::Google::Cloud::Retail::V2::GetCompletionConfigRequest, ::Google::Cloud::Retail::V2::CompletionConfig
81
+ # Updates the [CompletionConfig][google.cloud.retail.v2.CompletionConfig]s.
82
+ rpc :UpdateCompletionConfig, ::Google::Cloud::Retail::V2::UpdateCompletionConfigRequest, ::Google::Cloud::Retail::V2::CompletionConfig
83
+ # Gets an [AttributesConfig][google.cloud.retail.v2.AttributesConfig].
84
+ rpc :GetAttributesConfig, ::Google::Cloud::Retail::V2::GetAttributesConfigRequest, ::Google::Cloud::Retail::V2::AttributesConfig
85
+ # Updates the [AttributesConfig][google.cloud.retail.v2.AttributesConfig].
86
+ #
87
+ # The catalog attributes in the request will be updated in the catalog, or
88
+ # inserted if they do not exist. Existing catalog attributes not included in
89
+ # the request will remain unchanged. Attributes that are assigned to
90
+ # products, but do not exist at the catalog level, are always included in the
91
+ # response. The product attribute is assigned default values for missing
92
+ # catalog attribute fields, e.g., searchable and dynamic facetable options.
93
+ rpc :UpdateAttributesConfig, ::Google::Cloud::Retail::V2::UpdateAttributesConfigRequest, ::Google::Cloud::Retail::V2::AttributesConfig
94
+ # Adds the specified
95
+ # [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to the
96
+ # [AttributesConfig][google.cloud.retail.v2.AttributesConfig].
97
+ #
98
+ # If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to add
99
+ # already exists, an ALREADY_EXISTS error is returned.
100
+ rpc :AddCatalogAttribute, ::Google::Cloud::Retail::V2::AddCatalogAttributeRequest, ::Google::Cloud::Retail::V2::AttributesConfig
101
+ # Removes the specified
102
+ # [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] from the
103
+ # [AttributesConfig][google.cloud.retail.v2.AttributesConfig].
104
+ #
105
+ # If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to
106
+ # remove does not exist, a NOT_FOUND error is returned.
107
+ rpc :RemoveCatalogAttribute, ::Google::Cloud::Retail::V2::RemoveCatalogAttributeRequest, ::Google::Cloud::Retail::V2::AttributesConfig
108
+ # Replaces the specified
109
+ # [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] in the
110
+ # [AttributesConfig][google.cloud.retail.v2.AttributesConfig] by updating the
111
+ # catalog attribute with the same
112
+ # [CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key].
113
+ #
114
+ # If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to
115
+ # replace does not exist, a NOT_FOUND error is returned.
116
+ rpc :ReplaceCatalogAttribute, ::Google::Cloud::Retail::V2::ReplaceCatalogAttributeRequest, ::Google::Cloud::Retail::V2::AttributesConfig
79
117
  end
80
118
 
81
119
  Stub = Service.rpc_stub_class
@@ -8,6 +8,62 @@ require 'google/protobuf/timestamp_pb'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/retail/v2/common.proto", :syntax => :proto3) do
11
+ add_message "google.cloud.retail.v2.Condition" do
12
+ repeated :query_terms, :message, 1, "google.cloud.retail.v2.Condition.QueryTerm"
13
+ repeated :active_time_range, :message, 3, "google.cloud.retail.v2.Condition.TimeRange"
14
+ end
15
+ add_message "google.cloud.retail.v2.Condition.QueryTerm" do
16
+ optional :value, :string, 1
17
+ optional :full_match, :bool, 2
18
+ end
19
+ add_message "google.cloud.retail.v2.Condition.TimeRange" do
20
+ optional :start_time, :message, 1, "google.protobuf.Timestamp"
21
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
22
+ end
23
+ add_message "google.cloud.retail.v2.Rule" do
24
+ optional :condition, :message, 1, "google.cloud.retail.v2.Condition"
25
+ oneof :action do
26
+ optional :boost_action, :message, 2, "google.cloud.retail.v2.Rule.BoostAction"
27
+ optional :redirect_action, :message, 3, "google.cloud.retail.v2.Rule.RedirectAction"
28
+ optional :oneway_synonyms_action, :message, 6, "google.cloud.retail.v2.Rule.OnewaySynonymsAction"
29
+ optional :do_not_associate_action, :message, 7, "google.cloud.retail.v2.Rule.DoNotAssociateAction"
30
+ optional :replacement_action, :message, 8, "google.cloud.retail.v2.Rule.ReplacementAction"
31
+ optional :ignore_action, :message, 9, "google.cloud.retail.v2.Rule.IgnoreAction"
32
+ optional :filter_action, :message, 10, "google.cloud.retail.v2.Rule.FilterAction"
33
+ optional :twoway_synonyms_action, :message, 11, "google.cloud.retail.v2.Rule.TwowaySynonymsAction"
34
+ end
35
+ end
36
+ add_message "google.cloud.retail.v2.Rule.BoostAction" do
37
+ optional :boost, :float, 1
38
+ optional :products_filter, :string, 2
39
+ end
40
+ add_message "google.cloud.retail.v2.Rule.FilterAction" do
41
+ optional :filter, :string, 1
42
+ end
43
+ add_message "google.cloud.retail.v2.Rule.RedirectAction" do
44
+ optional :redirect_uri, :string, 1
45
+ end
46
+ add_message "google.cloud.retail.v2.Rule.TwowaySynonymsAction" do
47
+ repeated :synonyms, :string, 1
48
+ end
49
+ add_message "google.cloud.retail.v2.Rule.OnewaySynonymsAction" do
50
+ repeated :query_terms, :string, 3
51
+ repeated :synonyms, :string, 4
52
+ repeated :oneway_terms, :string, 2
53
+ end
54
+ add_message "google.cloud.retail.v2.Rule.DoNotAssociateAction" do
55
+ repeated :query_terms, :string, 2
56
+ repeated :do_not_associate_terms, :string, 3
57
+ repeated :terms, :string, 1
58
+ end
59
+ add_message "google.cloud.retail.v2.Rule.ReplacementAction" do
60
+ repeated :query_terms, :string, 2
61
+ optional :replacement_term, :string, 3
62
+ optional :term, :string, 1
63
+ end
64
+ add_message "google.cloud.retail.v2.Rule.IgnoreAction" do
65
+ repeated :ignore_terms, :string, 1
66
+ end
11
67
  add_message "google.cloud.retail.v2.Audience" do
12
68
  repeated :genders, :string, 1
13
69
  repeated :age_groups, :string, 2
@@ -71,6 +127,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
71
127
  map :attributes, :string, :message, 3, "google.cloud.retail.v2.CustomAttribute"
72
128
  repeated :fulfillment_types, :string, 4
73
129
  end
130
+ add_enum "google.cloud.retail.v2.AttributeConfigLevel" do
131
+ value :ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED, 0
132
+ value :PRODUCT_LEVEL_ATTRIBUTE_CONFIG, 1
133
+ value :CATALOG_LEVEL_ATTRIBUTE_CONFIG, 2
134
+ end
135
+ add_enum "google.cloud.retail.v2.SolutionType" do
136
+ value :SOLUTION_TYPE_UNSPECIFIED, 0
137
+ value :SOLUTION_TYPE_RECOMMENDATION, 1
138
+ value :SOLUTION_TYPE_SEARCH, 2
139
+ end
140
+ add_enum "google.cloud.retail.v2.SearchSolutionUseCase" do
141
+ value :SEARCH_SOLUTION_USE_CASE_UNSPECIFIED, 0
142
+ value :SEARCH_SOLUTION_USE_CASE_SEARCH, 1
143
+ value :SEARCH_SOLUTION_USE_CASE_BROWSE, 2
144
+ end
74
145
  end
75
146
  end
76
147
 
@@ -78,6 +149,18 @@ module Google
78
149
  module Cloud
79
150
  module Retail
80
151
  module V2
152
+ Condition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Condition").msgclass
153
+ Condition::QueryTerm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Condition.QueryTerm").msgclass
154
+ Condition::TimeRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Condition.TimeRange").msgclass
155
+ Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule").msgclass
156
+ Rule::BoostAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.BoostAction").msgclass
157
+ Rule::FilterAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.FilterAction").msgclass
158
+ Rule::RedirectAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.RedirectAction").msgclass
159
+ Rule::TwowaySynonymsAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.TwowaySynonymsAction").msgclass
160
+ Rule::OnewaySynonymsAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.OnewaySynonymsAction").msgclass
161
+ Rule::DoNotAssociateAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.DoNotAssociateAction").msgclass
162
+ Rule::ReplacementAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.ReplacementAction").msgclass
163
+ Rule::IgnoreAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rule.IgnoreAction").msgclass
81
164
  Audience = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Audience").msgclass
82
165
  ColorInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.ColorInfo").msgclass
83
166
  CustomAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CustomAttribute").msgclass
@@ -89,6 +172,9 @@ module Google
89
172
  Rating = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Rating").msgclass
90
173
  UserInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.UserInfo").msgclass
91
174
  LocalInventory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.LocalInventory").msgclass
175
+ AttributeConfigLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.AttributeConfigLevel").enummodule
176
+ SolutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.SolutionType").enummodule
177
+ SearchSolutionUseCase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.SearchSolutionUseCase").enummodule
92
178
  end
93
179
  end
94
180
  end
@@ -244,7 +244,8 @@ module Google
244
244
  # [guidelines](https://cloud.google.com/retail/docs/completion-overview#generated-completion-dataset).
245
245
  # @param max_suggestions [::Integer]
246
246
  # Completion max suggestions. If left unset or set to 0, then will fallback
247
- # to the configured value [CompletionConfig.max_suggestions][].
247
+ # to the configured value
248
+ # {::Google::Cloud::Retail::V2::CompletionConfig#max_suggestions CompletionConfig.max_suggestions}.
248
249
  #
249
250
  # The maximum allowed max suggestions is 20. If it is set higher, it will be
250
251
  # capped by 20.
@@ -347,8 +348,8 @@ module Google
347
348
  # Required. The desired input location of the data.
348
349
  # @param notification_pubsub_topic [::String]
349
350
  # Pub/Sub topic for receiving notification. If this field is set,
350
- # when the import is finished, a notification will be sent to
351
- # specified Pub/Sub topic. The message data will be JSON string of a
351
+ # when the import is finished, a notification is sent to
352
+ # specified Pub/Sub topic. The message data is JSON string of a
352
353
  # {::Google::Longrunning::Operation Operation}.
353
354
  # Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.
354
355
  #
@@ -0,0 +1,33 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/retail/v2/control.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
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/retail/v2/control.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.retail.v2.Control" do
13
+ optional :name, :string, 1
14
+ optional :display_name, :string, 2
15
+ repeated :associated_serving_config_ids, :string, 5
16
+ repeated :solution_types, :enum, 6, "google.cloud.retail.v2.SolutionType"
17
+ repeated :search_solution_use_case, :enum, 7, "google.cloud.retail.v2.SearchSolutionUseCase"
18
+ oneof :control do
19
+ optional :rule, :message, 4, "google.cloud.retail.v2.Rule"
20
+ end
21
+ end
22
+ end
23
+ end
24
+
25
+ module Google
26
+ module Cloud
27
+ module Retail
28
+ module V2
29
+ Control = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Control").msgclass
30
+ end
31
+ end
32
+ end
33
+ end