google-cloud-retail-v2 1.1.0 → 1.3.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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -21
  3. data/lib/google/cloud/retail/v2/analytics_service/client.rb +36 -2
  4. data/lib/google/cloud/retail/v2/analytics_service/operations.rb +19 -15
  5. data/lib/google/cloud/retail/v2/analytics_service/rest/client.rb +36 -2
  6. data/lib/google/cloud/retail/v2/analytics_service/rest/operations.rb +50 -38
  7. data/lib/google/cloud/retail/v2/analytics_service/rest/service_stub.rb +22 -8
  8. data/lib/google/cloud/retail/v2/catalog_service/client.rb +36 -12
  9. data/lib/google/cloud/retail/v2/catalog_service/rest/client.rb +36 -12
  10. data/lib/google/cloud/retail/v2/catalog_service/rest/service_stub.rb +102 -68
  11. data/lib/google/cloud/retail/v2/completion_service/client.rb +36 -3
  12. data/lib/google/cloud/retail/v2/completion_service/operations.rb +19 -15
  13. data/lib/google/cloud/retail/v2/completion_service/rest/client.rb +36 -3
  14. data/lib/google/cloud/retail/v2/completion_service/rest/operations.rb +50 -38
  15. data/lib/google/cloud/retail/v2/completion_service/rest/service_stub.rb +30 -14
  16. data/lib/google/cloud/retail/v2/control_service/client.rb +36 -6
  17. data/lib/google/cloud/retail/v2/control_service/rest/client.rb +36 -6
  18. data/lib/google/cloud/retail/v2/control_service/rest/service_stub.rb +54 -32
  19. data/lib/google/cloud/retail/v2/generative_question_service/client.rb +35 -6
  20. data/lib/google/cloud/retail/v2/generative_question_service/rest/client.rb +35 -6
  21. data/lib/google/cloud/retail/v2/generative_question_service/rest/service_stub.rb +54 -32
  22. data/lib/google/cloud/retail/v2/model_service/client.rb +38 -9
  23. data/lib/google/cloud/retail/v2/model_service/operations.rb +19 -15
  24. data/lib/google/cloud/retail/v2/model_service/rest/client.rb +38 -9
  25. data/lib/google/cloud/retail/v2/model_service/rest/operations.rb +50 -38
  26. data/lib/google/cloud/retail/v2/model_service/rest/service_stub.rb +78 -50
  27. data/lib/google/cloud/retail/v2/prediction_service/client.rb +35 -2
  28. data/lib/google/cloud/retail/v2/prediction_service/rest/client.rb +35 -2
  29. data/lib/google/cloud/retail/v2/prediction_service/rest/service_stub.rb +22 -8
  30. data/lib/google/cloud/retail/v2/product_service/client.rb +43 -13
  31. data/lib/google/cloud/retail/v2/product_service/operations.rb +19 -15
  32. data/lib/google/cloud/retail/v2/product_service/rest/client.rb +43 -13
  33. data/lib/google/cloud/retail/v2/product_service/rest/operations.rb +50 -38
  34. data/lib/google/cloud/retail/v2/product_service/rest/service_stub.rb +110 -74
  35. data/lib/google/cloud/retail/v2/search_service/client.rb +36 -2
  36. data/lib/google/cloud/retail/v2/search_service/rest/client.rb +35 -2
  37. data/lib/google/cloud/retail/v2/search_service/rest/service_stub.rb +22 -8
  38. data/lib/google/cloud/retail/v2/serving_config_service/client.rb +36 -8
  39. data/lib/google/cloud/retail/v2/serving_config_service/rest/client.rb +36 -8
  40. data/lib/google/cloud/retail/v2/serving_config_service/rest/service_stub.rb +70 -44
  41. data/lib/google/cloud/retail/v2/user_event_service/client.rb +38 -6
  42. data/lib/google/cloud/retail/v2/user_event_service/operations.rb +19 -15
  43. data/lib/google/cloud/retail/v2/user_event_service/rest/client.rb +38 -6
  44. data/lib/google/cloud/retail/v2/user_event_service/rest/operations.rb +50 -38
  45. data/lib/google/cloud/retail/v2/user_event_service/rest/service_stub.rb +54 -32
  46. data/lib/google/cloud/retail/v2/version.rb +1 -1
  47. data/proto_docs/google/api/client.rb +39 -0
  48. data/proto_docs/google/cloud/retail/v2/common.rb +28 -0
  49. data/proto_docs/google/cloud/retail/v2/export_config.rb +4 -0
  50. data/proto_docs/google/cloud/retail/v2/import_config.rb +12 -0
  51. data/proto_docs/google/cloud/retail/v2/product.rb +4 -0
  52. data/proto_docs/google/cloud/retail/v2/search_service.rb +12 -0
  53. data/proto_docs/google/longrunning/operations.rb +23 -14
  54. data/proto_docs/google/protobuf/struct.rb +12 -0
  55. metadata +6 -9
@@ -87,34 +87,54 @@ module Google
87
87
  # @!attribute [rw] boost_action
88
88
  # @return [::Google::Cloud::Retail::V2::Rule::BoostAction]
89
89
  # A boost action.
90
+ #
91
+ # Note: The following fields are mutually exclusive: `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
92
  # @!attribute [rw] redirect_action
91
93
  # @return [::Google::Cloud::Retail::V2::Rule::RedirectAction]
92
94
  # Redirects a shopper to a specific page.
95
+ #
96
+ # Note: The following fields are mutually exclusive: `redirect_action`, `boost_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
93
97
  # @!attribute [rw] oneway_synonyms_action
94
98
  # @return [::Google::Cloud::Retail::V2::Rule::OnewaySynonymsAction]
95
99
  # Treats specific term as a synonym with a group of terms.
96
100
  # Group of terms will not be treated as synonyms with the specific term.
101
+ #
102
+ # Note: The following fields are mutually exclusive: `oneway_synonyms_action`, `boost_action`, `redirect_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
97
103
  # @!attribute [rw] do_not_associate_action
98
104
  # @return [::Google::Cloud::Retail::V2::Rule::DoNotAssociateAction]
99
105
  # Prevents term from being associated with other terms.
106
+ #
107
+ # Note: The following fields are mutually exclusive: `do_not_associate_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
100
108
  # @!attribute [rw] replacement_action
101
109
  # @return [::Google::Cloud::Retail::V2::Rule::ReplacementAction]
102
110
  # Replaces specific terms in the query.
111
+ #
112
+ # Note: The following fields are mutually exclusive: `replacement_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
103
113
  # @!attribute [rw] ignore_action
104
114
  # @return [::Google::Cloud::Retail::V2::Rule::IgnoreAction]
105
115
  # Ignores specific terms from query during search.
116
+ #
117
+ # Note: The following fields are mutually exclusive: `ignore_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
106
118
  # @!attribute [rw] filter_action
107
119
  # @return [::Google::Cloud::Retail::V2::Rule::FilterAction]
108
120
  # Filters results.
121
+ #
122
+ # Note: The following fields are mutually exclusive: `filter_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
109
123
  # @!attribute [rw] twoway_synonyms_action
110
124
  # @return [::Google::Cloud::Retail::V2::Rule::TwowaySynonymsAction]
111
125
  # Treats a set of terms as synonyms of one another.
126
+ #
127
+ # Note: The following fields are mutually exclusive: `twoway_synonyms_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
112
128
  # @!attribute [rw] force_return_facet_action
113
129
  # @return [::Google::Cloud::Retail::V2::Rule::ForceReturnFacetAction]
114
130
  # Force returns an attribute as a facet in the request.
131
+ #
132
+ # Note: The following fields are mutually exclusive: `force_return_facet_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
115
133
  # @!attribute [rw] remove_facet_action
116
134
  # @return [::Google::Cloud::Retail::V2::Rule::RemoveFacetAction]
117
135
  # Remove an attribute as a facet in the request (if present).
136
+ #
137
+ # Note: The following fields are mutually exclusive: `remove_facet_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
118
138
  # @!attribute [rw] condition
119
139
  # @return [::Google::Cloud::Retail::V2::Condition]
120
140
  # Required. The condition that triggers the rule.
@@ -592,15 +612,23 @@ module Google
592
612
  # @!attribute [rw] minimum
593
613
  # @return [::Float]
594
614
  # Inclusive lower bound.
615
+ #
616
+ # Note: The following fields are mutually exclusive: `minimum`, `exclusive_minimum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
595
617
  # @!attribute [rw] exclusive_minimum
596
618
  # @return [::Float]
597
619
  # Exclusive lower bound.
620
+ #
621
+ # Note: The following fields are mutually exclusive: `exclusive_minimum`, `minimum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
598
622
  # @!attribute [rw] maximum
599
623
  # @return [::Float]
600
624
  # Inclusive upper bound.
625
+ #
626
+ # Note: The following fields are mutually exclusive: `maximum`, `exclusive_maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
601
627
  # @!attribute [rw] exclusive_maximum
602
628
  # @return [::Float]
603
629
  # Exclusive upper bound.
630
+ #
631
+ # Note: The following fields are mutually exclusive: `exclusive_maximum`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
604
632
  class Interval
605
633
  include ::Google::Protobuf::MessageExts
606
634
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,9 +25,13 @@ module Google
25
25
  # @!attribute [rw] gcs_destination
26
26
  # @return [::Google::Cloud::Retail::V2::OutputConfig::GcsDestination]
27
27
  # The Google Cloud Storage location where the output is to be written to.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `bigquery_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] bigquery_destination
29
31
  # @return [::Google::Cloud::Retail::V2::OutputConfig::BigQueryDestination]
30
32
  # The BigQuery location where the output is to be written to.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `bigquery_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  class OutputConfig
32
36
  include ::Google::Protobuf::MessageExts
33
37
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -261,12 +261,18 @@ module Google
261
261
  # @!attribute [rw] product_inline_source
262
262
  # @return [::Google::Cloud::Retail::V2::ProductInlineSource]
263
263
  # The Inline source for the input content for products.
264
+ #
265
+ # Note: The following fields are mutually exclusive: `product_inline_source`, `gcs_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
264
266
  # @!attribute [rw] gcs_source
265
267
  # @return [::Google::Cloud::Retail::V2::GcsSource]
266
268
  # Google Cloud Storage location for the input content.
269
+ #
270
+ # Note: The following fields are mutually exclusive: `gcs_source`, `product_inline_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
267
271
  # @!attribute [rw] big_query_source
268
272
  # @return [::Google::Cloud::Retail::V2::BigQuerySource]
269
273
  # BigQuery input source.
274
+ #
275
+ # Note: The following fields are mutually exclusive: `big_query_source`, `product_inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
270
276
  class ProductInputConfig
271
277
  include ::Google::Protobuf::MessageExts
272
278
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -276,12 +282,18 @@ module Google
276
282
  # @!attribute [rw] user_event_inline_source
277
283
  # @return [::Google::Cloud::Retail::V2::UserEventInlineSource]
278
284
  # Required. The Inline source for the input content for UserEvents.
285
+ #
286
+ # Note: The following fields are mutually exclusive: `user_event_inline_source`, `gcs_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
279
287
  # @!attribute [rw] gcs_source
280
288
  # @return [::Google::Cloud::Retail::V2::GcsSource]
281
289
  # Required. Google Cloud Storage location for the input content.
290
+ #
291
+ # Note: The following fields are mutually exclusive: `gcs_source`, `user_event_inline_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
282
292
  # @!attribute [rw] big_query_source
283
293
  # @return [::Google::Cloud::Retail::V2::BigQuerySource]
284
294
  # Required. BigQuery input source.
295
+ #
296
+ # Note: The following fields are mutually exclusive: `big_query_source`, `user_event_inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
285
297
  class UserEventInputConfig
286
298
  include ::Google::Protobuf::MessageExts
287
299
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -49,6 +49,8 @@ module Google
49
49
  #
50
50
  # Corresponding properties: Google Merchant Center property
51
51
  # [expiration_date](https://support.google.com/merchants/answer/6324499).
52
+ #
53
+ # Note: The following fields are mutually exclusive: `expire_time`, `ttl`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
54
  # @!attribute [rw] ttl
53
55
  # @return [::Google::Protobuf::Duration]
54
56
  # Input only. The TTL (time to live) of the product. Note that this is only
@@ -73,6 +75,8 @@ module Google
73
75
  # {::Google::Cloud::Retail::V2::ProductService::Client#get_product ProductService.GetProduct}
74
76
  # and
75
77
  # {::Google::Cloud::Retail::V2::ProductService::Client#list_products ProductService.ListProducts}.
78
+ #
79
+ # Note: The following fields are mutually exclusive: `ttl`, `expire_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
76
80
  # @!attribute [rw] name
77
81
  # @return [::String]
78
82
  # Immutable. Full resource name of the product, such as
@@ -53,9 +53,13 @@ module Google
53
53
  # @!attribute [rw] product_attribute_value
54
54
  # @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
55
55
  # The product attribute key-value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `product_attribute_value`, `product_attribute_interval`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] product_attribute_interval
57
59
  # @return [::Google::Cloud::Retail::V2::ProductAttributeInterval]
58
60
  # The product attribute key-numeric interval.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `product_attribute_interval`, `product_attribute_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] representative_product_id
60
64
  # @return [::String]
61
65
  # The representative product id for this tile.
@@ -772,11 +776,15 @@ module Google
772
776
  # @return [::String]
773
777
  # This field specifies the incremental input text from the user during
774
778
  # the conversational search.
779
+ #
780
+ # Note: The following fields are mutually exclusive: `text_answer`, `selected_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
775
781
  # @!attribute [rw] selected_answer
776
782
  # @return [::Google::Cloud::Retail::V2::SearchRequest::ConversationalSearchSpec::UserAnswer::SelectedAnswer]
777
783
  # This field specifies the selected attributes during the
778
784
  # conversational search. This should be a subset of
779
785
  # [ConversationalSearchResult.suggested_answers][].
786
+ #
787
+ # Note: The following fields are mutually exclusive: `selected_answer`, `text_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
780
788
  class UserAnswer
781
789
  include ::Google::Protobuf::MessageExts
782
790
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1057,9 +1065,13 @@ module Google
1057
1065
  # @!attribute [rw] value
1058
1066
  # @return [::String]
1059
1067
  # Text value of a facet, such as "Black" for facet "colorFamilies".
1068
+ #
1069
+ # Note: The following fields are mutually exclusive: `value`, `interval`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1060
1070
  # @!attribute [rw] interval
1061
1071
  # @return [::Google::Cloud::Retail::V2::Interval]
1062
1072
  # Interval value for a facet, such as [10, 20) for facet "price".
1073
+ #
1074
+ # Note: The following fields are mutually exclusive: `interval`, `value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1063
1075
  # @!attribute [rw] count
1064
1076
  # @return [::Integer]
1065
1077
  # Number of items that have this facet value.
@@ -40,9 +40,11 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
- # The normal response of the operation in case of success. If the original
47
+ # The normal, successful response of the operation. If the original
46
48
  # method returns no data on success, such as `Delete`, the response is
47
49
  # `google.protobuf.Empty`. If the original method is standard
48
50
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -50,12 +52,15 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
56
60
  end
57
61
 
58
- # The request message for Operations.GetOperation.
62
+ # The request message for
63
+ # Operations.GetOperation.
59
64
  # @!attribute [rw] name
60
65
  # @return [::String]
61
66
  # The name of the operation resource.
@@ -64,7 +69,8 @@ module Google
64
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
70
  end
66
71
 
67
- # The request message for Operations.ListOperations.
72
+ # The request message for
73
+ # Operations.ListOperations.
68
74
  # @!attribute [rw] name
69
75
  # @return [::String]
70
76
  # The name of the operation's parent resource.
@@ -82,7 +88,8 @@ module Google
82
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
89
  end
84
90
 
85
- # The response message for Operations.ListOperations.
91
+ # The response message for
92
+ # Operations.ListOperations.
86
93
  # @!attribute [rw] operations
87
94
  # @return [::Array<::Google::Longrunning::Operation>]
88
95
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +101,8 @@ module Google
94
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
102
  end
96
103
 
97
- # The request message for Operations.CancelOperation.
104
+ # The request message for
105
+ # Operations.CancelOperation.
98
106
  # @!attribute [rw] name
99
107
  # @return [::String]
100
108
  # The name of the operation resource to be cancelled.
@@ -103,7 +111,8 @@ module Google
103
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
112
  end
105
113
 
106
- # The request message for Operations.DeleteOperation.
114
+ # The request message for
115
+ # Operations.DeleteOperation.
107
116
  # @!attribute [rw] name
108
117
  # @return [::String]
109
118
  # The name of the operation resource to be deleted.
@@ -112,7 +121,8 @@ module Google
112
121
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
122
  end
114
123
 
115
- # The request message for Operations.WaitOperation.
124
+ # The request message for
125
+ # Operations.WaitOperation.
116
126
  # @!attribute [rw] name
117
127
  # @return [::String]
118
128
  # The name of the operation resource to wait on.
@@ -130,13 +140,12 @@ module Google
130
140
  #
131
141
  # Example:
132
142
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
143
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
144
+ # option (google.longrunning.operation_info) = {
145
+ # response_type: "ExportResponse"
146
+ # metadata_type: "ExportMetadata"
147
+ # };
148
+ # }
140
149
  # @!attribute [rw] response_type
141
150
  # @return [::String]
142
151
  # Required. The message name of the primary return type for this
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-retail-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-15 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.21.1
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.21.1
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -244,7 +243,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
244
243
  licenses:
245
244
  - Apache-2.0
246
245
  metadata: {}
247
- post_install_message:
248
246
  rdoc_options: []
249
247
  require_paths:
250
248
  - lib
@@ -252,15 +250,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
250
  requirements:
253
251
  - - ">="
254
252
  - !ruby/object:Gem::Version
255
- version: '2.7'
253
+ version: '3.0'
256
254
  required_rubygems_version: !ruby/object:Gem::Requirement
257
255
  requirements:
258
256
  - - ">="
259
257
  - !ruby/object:Gem::Version
260
258
  version: '0'
261
259
  requirements: []
262
- rubygems_version: 3.5.21
263
- signing_key:
260
+ rubygems_version: 3.6.2
264
261
  specification_version: 4
265
262
  summary: Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations.
266
263
  These discovery AI solutions help you implement personalized search, browse and