google-apis-retail_v2 0.56.0 → 0.57.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a226012ee841b70b7fe4888e8790122ba3603ce50ba5a4600e5832c2163b9d21
4
- data.tar.gz: 17395b493ae164361e737dea8158c1f83bf58d4470062a43dd5f17b4b8fa8488
3
+ metadata.gz: 2904e6d0a1cd75eba6a7eeb0c604b38accd2b718309c9e766fb4150cfce5a492
4
+ data.tar.gz: ff135f5ab9f2f7f8d3353eabcae41bfebfafd027bcfe835e7a755f35454badf3
5
5
  SHA512:
6
- metadata.gz: d2e6cbe0b8faf4102814786060347e77e75de405b661ab4bfc333f0c2a0342408b99a49a07613642847fba88ee9b369476489b89866bcd9856b314e934d7ebaa
7
- data.tar.gz: 6077a649311c3f1608e5f45b3eee19264535daad4179d645524115f9389c5f40e42422767a08dd4ad0311cb81828d3cff2346e2bd6707435ec521607a789a6b6
6
+ metadata.gz: ece9828806d542edc0478429f6d05be4da5b1124a30399256308e5b83785d5e26e65f2dd41caeab35f07774b7231e35efab2b5bf921d2fc48a032a4bb73daf01
7
+ data.tar.gz: bcf39b2d80435b45587dd3442896e1d134ccdb316ff46f9519c6ad76a029799b6900a19141e0a362e3f9dc3920c5c35fa11680064172f970304b70ac684c636a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.57.0 (2022-10-27)
4
+
5
+ * Regenerated from discovery document revision 20221024
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.56.0 (2022-10-11)
4
9
 
5
10
  * Regenerated from discovery document revision 20220922
@@ -106,9 +106,9 @@ module Google
106
106
  # @return [Google::Apis::RetailV2::GoogleCloudRetailLoggingErrorContext]
107
107
  attr_accessor :context
108
108
 
109
- # The error payload that is populated on LRO import APIs. Including: "google.
110
- # cloud.retail.v2.ProductService.ImportProducts" "google.cloud.retail.v2.
111
- # EventService.ImportUserEvents"
109
+ # The error payload that is populated on LRO import APIs, including "google.
110
+ # cloud.retail.v2.ProductService.ImportProducts" and "google.cloud.retail.v2.
111
+ # EventService.ImportUserEvents".
112
112
  # Corresponds to the JSON property `importPayload`
113
113
  # @return [Google::Apis::RetailV2::GoogleCloudRetailLoggingImportErrorContext]
114
114
  attr_accessor :import_payload
@@ -186,9 +186,9 @@ module Google
186
186
  end
187
187
  end
188
188
 
189
- # The error payload that is populated on LRO import APIs. Including: "google.
190
- # cloud.retail.v2.ProductService.ImportProducts" "google.cloud.retail.v2.
191
- # EventService.ImportUserEvents"
189
+ # The error payload that is populated on LRO import APIs, including "google.
190
+ # cloud.retail.v2.ProductService.ImportProducts" and "google.cloud.retail.v2.
191
+ # EventService.ImportUserEvents".
192
192
  class GoogleCloudRetailLoggingImportErrorContext
193
193
  include Google::Apis::Core::Hashable
194
194
 
@@ -203,12 +203,6 @@ module Google
203
203
  # @return [String]
204
204
  attr_accessor :gcs_path
205
205
 
206
- # The detailed content which caused the error on importing an inventory activity.
207
- # http://cs/google3/google/cloud/retail/v2main/inventory_activity.proto
208
- # Corresponds to the JSON property `inventoryActivity`
209
- # @return [String]
210
- attr_accessor :inventory_activity
211
-
212
206
  # Line number of the content in file. Should be empty for permission or batch
213
207
  # operation error.
214
208
  # Corresponds to the JSON property `lineNumber`
@@ -220,37 +214,6 @@ module Google
220
214
  # @return [String]
221
215
  attr_accessor :operation_name
222
216
 
223
- # The detailed content which caused the error on importing an order. http://cs/
224
- # google3/google/cloud/retail/v2main/order.proto
225
- # Corresponds to the JSON property `order`
226
- # @return [String]
227
- attr_accessor :order
228
-
229
- # The detailed content which caused the error on importing a place. http://cs/
230
- # google3/google/cloud/retail/v2main/place.proto
231
- # Corresponds to the JSON property `place`
232
- # @return [String]
233
- attr_accessor :place
234
-
235
- # The detailed content which caused the error on importing a place asset. http://
236
- # cs/google3/google/cloud/retail/v2main/place_asset.proto
237
- # Corresponds to the JSON property `placeAsset`
238
- # @return [String]
239
- attr_accessor :place_asset
240
-
241
- # The detailed content which caused the error on importing a place product price.
242
- # http://cs/google3/google/cloud/retail/v2main/place_product_price.proto
243
- # Corresponds to the JSON property `placeProductPrice`
244
- # @return [String]
245
- attr_accessor :place_product_price
246
-
247
- # The detailed content which caused the error on importing a place product
248
- # settings. http://cs/google3/google/cloud/retail/v2main/place_product_settings.
249
- # proto
250
- # Corresponds to the JSON property `placeProductSettings`
251
- # @return [String]
252
- attr_accessor :place_product_settings
253
-
254
217
  # The detailed content which caused the error on importing a product.
255
218
  # Corresponds to the JSON property `product`
256
219
  # @return [String]
@@ -269,14 +232,8 @@ module Google
269
232
  def update!(**args)
270
233
  @catalog_item = args[:catalog_item] if args.key?(:catalog_item)
271
234
  @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
272
- @inventory_activity = args[:inventory_activity] if args.key?(:inventory_activity)
273
235
  @line_number = args[:line_number] if args.key?(:line_number)
274
236
  @operation_name = args[:operation_name] if args.key?(:operation_name)
275
- @order = args[:order] if args.key?(:order)
276
- @place = args[:place] if args.key?(:place)
277
- @place_asset = args[:place_asset] if args.key?(:place_asset)
278
- @place_product_price = args[:place_product_price] if args.key?(:place_product_price)
279
- @place_product_settings = args[:place_product_settings] if args.key?(:place_product_settings)
280
237
  @product = args[:product] if args.key?(:product)
281
238
  @user_event = args[:user_event] if args.key?(:user_event)
282
239
  end
@@ -723,6 +680,13 @@ module Google
723
680
  # @return [String]
724
681
  attr_accessor :dynamic_facetable_option
725
682
 
683
+ # If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
684
+ # property only applies to textual custom attributes and requires indexable set
685
+ # to enabled to enable exact-searchable.
686
+ # Corresponds to the JSON property `exactSearchableOption`
687
+ # @return [String]
688
+ attr_accessor :exact_searchable_option
689
+
726
690
  # Output only. Indicates whether this attribute has been used by any products. `
727
691
  # True` if at least one Product is using this attribute in Product.attributes.
728
692
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -779,6 +743,7 @@ module Google
779
743
  # Update properties of this object
780
744
  def update!(**args)
781
745
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
746
+ @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
782
747
  @in_use = args[:in_use] if args.key?(:in_use)
783
748
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
784
749
  @key = args[:key] if args.key?(:key)
@@ -1944,7 +1909,7 @@ module Google
1944
1909
  # returned in the `results.metadata` field in the prediction response. * `
1945
1910
  # returnScore`: Boolean. If set to true, the prediction 'score' corresponding to
1946
1911
  # each returned product will be set in the `results.metadata` field in the
1947
- # prediction response. The given 'score' indicates the probability of an product
1912
+ # prediction response. The given 'score' indicates the probability of a product
1948
1913
  # being clicked/purchased given the user's context and history. * `
1949
1914
  # strictFiltering`: Boolean. True by default. If set to false, the service will
1950
1915
  # return generic (unfiltered) popular products instead of empty if your filter
@@ -3806,7 +3771,7 @@ module Google
3806
3771
  attr_accessor :facet_key
3807
3772
 
3808
3773
  # Maximum of facet values that should be returned for this facet. If unspecified,
3809
- # defaults to 20. The maximum allowed value is 300. Values above 300 will be
3774
+ # defaults to 50. The maximum allowed value is 300. Values above 300 will be
3810
3775
  # coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.
3811
3776
  # Corresponds to the JSON property `limit`
3812
3777
  # @return [Fixnum]
@@ -5100,7 +5065,8 @@ module Google
5100
5065
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
5101
5066
  attr_accessor :errors_config
5102
5067
 
5103
- # Output result.
5068
+ # Output result that stores the information about where the exported data is
5069
+ # stored.
5104
5070
  # Corresponds to the JSON property `outputResult`
5105
5071
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
5106
5072
  attr_accessor :output_result
@@ -5133,7 +5099,8 @@ module Google
5133
5099
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
5134
5100
  attr_accessor :errors_config
5135
5101
 
5136
- # Output result.
5102
+ # Output result that stores the information about where the exported data is
5103
+ # stored.
5137
5104
  # Corresponds to the JSON property `outputResult`
5138
5105
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
5139
5106
  attr_accessor :output_result
@@ -5150,6 +5117,25 @@ module Google
5150
5117
  end
5151
5118
  end
5152
5119
 
5120
+ # A Gcs output result.
5121
+ class GoogleCloudRetailV2alphaGcsOutputResult
5122
+ include Google::Apis::Core::Hashable
5123
+
5124
+ # The uri of Gcs output
5125
+ # Corresponds to the JSON property `outputUri`
5126
+ # @return [String]
5127
+ attr_accessor :output_uri
5128
+
5129
+ def initialize(**args)
5130
+ update!(**args)
5131
+ end
5132
+
5133
+ # Update properties of this object
5134
+ def update!(**args)
5135
+ @output_uri = args[:output_uri] if args.key?(:output_uri)
5136
+ end
5137
+ end
5138
+
5153
5139
  # Response of the ImportCompletionDataRequest. If the long running operation is
5154
5140
  # done, this message is returned by the google.longrunning.Operations.response
5155
5141
  # field if the operation is successful.
@@ -5580,15 +5566,21 @@ module Google
5580
5566
  end
5581
5567
  end
5582
5568
 
5583
- # Output result.
5569
+ # Output result that stores the information about where the exported data is
5570
+ # stored.
5584
5571
  class GoogleCloudRetailV2alphaOutputResult
5585
5572
  include Google::Apis::Core::Hashable
5586
5573
 
5587
- # Export result in BigQuery.
5574
+ # The BigQuery location where the result is stored.
5588
5575
  # Corresponds to the JSON property `bigqueryResult`
5589
5576
  # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult>]
5590
5577
  attr_accessor :bigquery_result
5591
5578
 
5579
+ # The Google Cloud Storage location where the result is stored.
5580
+ # Corresponds to the JSON property `gcsResult`
5581
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaGcsOutputResult>]
5582
+ attr_accessor :gcs_result
5583
+
5592
5584
  def initialize(**args)
5593
5585
  update!(**args)
5594
5586
  end
@@ -5596,6 +5588,7 @@ module Google
5596
5588
  # Update properties of this object
5597
5589
  def update!(**args)
5598
5590
  @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
5591
+ @gcs_result = args[:gcs_result] if args.key?(:gcs_result)
5599
5592
  end
5600
5593
  end
5601
5594
 
@@ -6080,7 +6073,8 @@ module Google
6080
6073
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
6081
6074
  attr_accessor :errors_config
6082
6075
 
6083
- # Output result.
6076
+ # Output result that stores the information about where the exported data is
6077
+ # stored.
6084
6078
  # Corresponds to the JSON property `outputResult`
6085
6079
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
6086
6080
  attr_accessor :output_result
@@ -6113,7 +6107,8 @@ module Google
6113
6107
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
6114
6108
  attr_accessor :errors_config
6115
6109
 
6116
- # Output result.
6110
+ # Output result that stores the information about where the exported data is
6111
+ # stored.
6117
6112
  # Corresponds to the JSON property `outputResult`
6118
6113
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
6119
6114
  attr_accessor :output_result
@@ -6130,6 +6125,25 @@ module Google
6130
6125
  end
6131
6126
  end
6132
6127
 
6128
+ # A Gcs output result.
6129
+ class GoogleCloudRetailV2betaGcsOutputResult
6130
+ include Google::Apis::Core::Hashable
6131
+
6132
+ # The uri of Gcs output
6133
+ # Corresponds to the JSON property `outputUri`
6134
+ # @return [String]
6135
+ attr_accessor :output_uri
6136
+
6137
+ def initialize(**args)
6138
+ update!(**args)
6139
+ end
6140
+
6141
+ # Update properties of this object
6142
+ def update!(**args)
6143
+ @output_uri = args[:output_uri] if args.key?(:output_uri)
6144
+ end
6145
+ end
6146
+
6133
6147
  # Response of the ImportCompletionDataRequest. If the long running operation is
6134
6148
  # done, this message is returned by the google.longrunning.Operations.response
6135
6149
  # field if the operation is successful.
@@ -6447,15 +6461,21 @@ module Google
6447
6461
  end
6448
6462
  end
6449
6463
 
6450
- # Output result.
6464
+ # Output result that stores the information about where the exported data is
6465
+ # stored.
6451
6466
  class GoogleCloudRetailV2betaOutputResult
6452
6467
  include Google::Apis::Core::Hashable
6453
6468
 
6454
- # Export result in BigQuery.
6469
+ # The BigQuery location where the result is stored.
6455
6470
  # Corresponds to the JSON property `bigqueryResult`
6456
6471
  # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult>]
6457
6472
  attr_accessor :bigquery_result
6458
6473
 
6474
+ # The Google Cloud Storage location where the result is stored.
6475
+ # Corresponds to the JSON property `gcsResult`
6476
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaGcsOutputResult>]
6477
+ attr_accessor :gcs_result
6478
+
6459
6479
  def initialize(**args)
6460
6480
  update!(**args)
6461
6481
  end
@@ -6463,6 +6483,7 @@ module Google
6463
6483
  # Update properties of this object
6464
6484
  def update!(**args)
6465
6485
  @bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
6486
+ @gcs_result = args[:gcs_result] if args.key?(:gcs_result)
6466
6487
  end
6467
6488
  end
6468
6489
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220922"
25
+ REVISION = "20221024"
26
26
  end
27
27
  end
28
28
  end
@@ -748,6 +748,12 @@ module Google
748
748
  include Google::Apis::Core::JsonObjectSupport
749
749
  end
750
750
 
751
+ class GoogleCloudRetailV2alphaGcsOutputResult
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
751
757
  class GoogleCloudRetailV2alphaImportCompletionDataResponse
752
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
759
 
@@ -970,6 +976,12 @@ module Google
970
976
  include Google::Apis::Core::JsonObjectSupport
971
977
  end
972
978
 
979
+ class GoogleCloudRetailV2betaGcsOutputResult
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
973
985
  class GoogleCloudRetailV2betaImportCompletionDataResponse
974
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
987
 
@@ -1174,14 +1186,8 @@ module Google
1174
1186
  class Representation < Google::Apis::Core::JsonRepresentation
1175
1187
  property :catalog_item, as: 'catalogItem'
1176
1188
  property :gcs_path, as: 'gcsPath'
1177
- property :inventory_activity, as: 'inventoryActivity'
1178
1189
  property :line_number, as: 'lineNumber'
1179
1190
  property :operation_name, as: 'operationName'
1180
- property :order, as: 'order'
1181
- property :place, as: 'place'
1182
- property :place_asset, as: 'placeAsset'
1183
- property :place_product_price, as: 'placeProductPrice'
1184
- property :place_product_settings, as: 'placeProductSettings'
1185
1191
  property :product, as: 'product'
1186
1192
  property :user_event, as: 'userEvent'
1187
1193
  end
@@ -1306,6 +1312,7 @@ module Google
1306
1312
  # @private
1307
1313
  class Representation < Google::Apis::Core::JsonRepresentation
1308
1314
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1315
+ property :exact_searchable_option, as: 'exactSearchableOption'
1309
1316
  property :in_use, as: 'inUse'
1310
1317
  property :indexable_option, as: 'indexableOption'
1311
1318
  property :key, as: 'key'
@@ -2349,6 +2356,13 @@ module Google
2349
2356
  end
2350
2357
  end
2351
2358
 
2359
+ class GoogleCloudRetailV2alphaGcsOutputResult
2360
+ # @private
2361
+ class Representation < Google::Apis::Core::JsonRepresentation
2362
+ property :output_uri, as: 'outputUri'
2363
+ end
2364
+ end
2365
+
2352
2366
  class GoogleCloudRetailV2alphaImportCompletionDataResponse
2353
2367
  # @private
2354
2368
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2463,6 +2477,8 @@ module Google
2463
2477
  class Representation < Google::Apis::Core::JsonRepresentation
2464
2478
  collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
2465
2479
 
2480
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaGcsOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaGcsOutputResult::Representation
2481
+
2466
2482
  end
2467
2483
  end
2468
2484
 
@@ -2653,6 +2669,13 @@ module Google
2653
2669
  end
2654
2670
  end
2655
2671
 
2672
+ class GoogleCloudRetailV2betaGcsOutputResult
2673
+ # @private
2674
+ class Representation < Google::Apis::Core::JsonRepresentation
2675
+ property :output_uri, as: 'outputUri'
2676
+ end
2677
+ end
2678
+
2656
2679
  class GoogleCloudRetailV2betaImportCompletionDataResponse
2657
2680
  # @private
2658
2681
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2735,6 +2758,8 @@ module Google
2735
2758
  class Representation < Google::Apis::Core::JsonRepresentation
2736
2759
  collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
2737
2760
 
2761
+ collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaGcsOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaGcsOutputResult::Representation
2762
+
2738
2763
  end
2739
2764
  end
2740
2765
 
@@ -66,11 +66,11 @@ module Google
66
66
  # first. See [guidelines](https://cloud.google.com/retail/docs/completion-
67
67
  # overview#generated-completion-dataset).
68
68
  # @param [String] device_type
69
- # The device type context for completion suggestions. It is useful to apply
70
- # different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If
71
- # it is empty, the suggestions are across all device types. Supported formats: *
72
- # `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
73
- # `OTHER_`, e.g. `OTHER_IPHONE`.
69
+ # The device type context for completion suggestions. We recommend that you
70
+ # leave this field empty. It can apply different suggestions on different device
71
+ # types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across
72
+ # all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
73
+ # MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
74
74
  # @param [Array<String>, String] language_codes
75
75
  # Note that this field applies for `user-data` dataset only. For requests with `
76
76
  # cloud-retail` dataset, setting this field has no effect. The language filters
@@ -1828,6 +1828,14 @@ module Google
1828
1828
  # The event timestamp in milliseconds. This prevents browser caching of
1829
1829
  # otherwise identical get requests. The name is abbreviated to reduce the
1830
1830
  # payload bytes.
1831
+ # @param [String] prebuilt_rule
1832
+ # The prebuilt rule name that can convert a specific type of raw_json. For
1833
+ # example: "default_schema/v1.0"
1834
+ # @param [String] raw_json
1835
+ # An arbitrary serialized JSON string that contains necessary information that
1836
+ # can comprise a user event. When this field is specified, the user_event field
1837
+ # will be ignored. Note: line-delimited JSON is not supported, a single JSON
1838
+ # only.
1831
1839
  # @param [String] uri
1832
1840
  # The URL including cgi-parameters but excluding the hash fragment with a length
1833
1841
  # limit of 5,000 characters. This is often more useful than the referer URL,
@@ -1852,12 +1860,14 @@ module Google
1852
1860
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1853
1861
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1854
1862
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1855
- def collect_project_location_catalog_user_event(parent, ets: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
1863
+ def collect_project_location_catalog_user_event(parent, ets: nil, prebuilt_rule: nil, raw_json: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
1856
1864
  command = make_simple_command(:get, 'v2/{+parent}/userEvents:collect', options)
1857
1865
  command.response_representation = Google::Apis::RetailV2::GoogleApiHttpBody::Representation
1858
1866
  command.response_class = Google::Apis::RetailV2::GoogleApiHttpBody
1859
1867
  command.params['parent'] = parent unless parent.nil?
1860
1868
  command.query['ets'] = ets unless ets.nil?
1869
+ command.query['prebuiltRule'] = prebuilt_rule unless prebuilt_rule.nil?
1870
+ command.query['rawJson'] = raw_json unless raw_json.nil?
1861
1871
  command.query['uri'] = uri unless uri.nil?
1862
1872
  command.query['userEvent'] = user_event unless user_event.nil?
1863
1873
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-17 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []