google-apis-retail_v2alpha 0.59.0 → 0.61.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcfbc08687d85839acdc8aa1d0dbea42aec89ab9394551532fac9fc48cb6e992
|
4
|
+
data.tar.gz: 37d4aa1f069c972076b406517b0c75d251886107fbb6257c39078c8634dae2c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f37ad7977e304578d76ee7a83c0f1af474560977fd07290210dde162924488fd2d04dc25c0aef4beba30bc6638b3a2df52ac8f9a6d3b4c7f56bfbac167d0a8cd
|
7
|
+
data.tar.gz: aee17ca46b11c2bbe4793b16373a9148ea4aa0d05c7f897a7f621a300a2ee170af4c3a825381f7d9842ee75de872cfc48f11b3c54641b649cb065101102837d4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.61.0 (2022-10-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221024
|
6
|
+
|
7
|
+
### v0.60.0 (2022-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221014
|
10
|
+
* Regenerated using generator version 0.11.0
|
11
|
+
|
3
12
|
### v0.59.0 (2022-10-02)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220922
|
@@ -106,9 +106,9 @@ module Google
|
|
106
106
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingErrorContext]
|
107
107
|
attr_accessor :context
|
108
108
|
|
109
|
-
# The error payload that is populated on LRO import APIs
|
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::RetailV2alpha::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
|
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
|
@@ -1328,6 +1285,12 @@ module Google
|
|
1328
1285
|
class GoogleCloudRetailV2alphaCompleteQueryResponse
|
1329
1286
|
include Google::Apis::Core::Hashable
|
1330
1287
|
|
1288
|
+
# A map of matched attribute suggestions. Current supported keys: * `brands` * `
|
1289
|
+
# categories`
|
1290
|
+
# Corresponds to the JSON property `attributeResults`
|
1291
|
+
# @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult>]
|
1292
|
+
attr_accessor :attribute_results
|
1293
|
+
|
1331
1294
|
# A unique complete token. This should be included in the UserEvent.
|
1332
1295
|
# completion_detail for search events resulting from this completion, which
|
1333
1296
|
# enables accurate attribution of complete model performance.
|
@@ -1360,12 +1323,32 @@ module Google
|
|
1360
1323
|
|
1361
1324
|
# Update properties of this object
|
1362
1325
|
def update!(**args)
|
1326
|
+
@attribute_results = args[:attribute_results] if args.key?(:attribute_results)
|
1363
1327
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
1364
1328
|
@completion_results = args[:completion_results] if args.key?(:completion_results)
|
1365
1329
|
@recent_search_results = args[:recent_search_results] if args.key?(:recent_search_results)
|
1366
1330
|
end
|
1367
1331
|
end
|
1368
1332
|
|
1333
|
+
# Resource that represents attribute results.
|
1334
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
1335
|
+
include Google::Apis::Core::Hashable
|
1336
|
+
|
1337
|
+
# The list of suggestions for the attribute.
|
1338
|
+
# Corresponds to the JSON property `suggestions`
|
1339
|
+
# @return [Array<String>]
|
1340
|
+
attr_accessor :suggestions
|
1341
|
+
|
1342
|
+
def initialize(**args)
|
1343
|
+
update!(**args)
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
# Update properties of this object
|
1347
|
+
def update!(**args)
|
1348
|
+
@suggestions = args[:suggestions] if args.key?(:suggestions)
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1369
1352
|
# Resource that represents completion results.
|
1370
1353
|
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult
|
1371
1354
|
include Google::Apis::Core::Hashable
|
@@ -1863,7 +1846,8 @@ module Google
|
|
1863
1846
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig]
|
1864
1847
|
attr_accessor :errors_config
|
1865
1848
|
|
1866
|
-
# Output result
|
1849
|
+
# Output result that stores the information about where the exported data is
|
1850
|
+
# stored.
|
1867
1851
|
# Corresponds to the JSON property `outputResult`
|
1868
1852
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult]
|
1869
1853
|
attr_accessor :output_result
|
@@ -1896,7 +1880,8 @@ module Google
|
|
1896
1880
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig]
|
1897
1881
|
attr_accessor :errors_config
|
1898
1882
|
|
1899
|
-
# Output result
|
1883
|
+
# Output result that stores the information about where the exported data is
|
1884
|
+
# stored.
|
1900
1885
|
# Corresponds to the JSON property `outputResult`
|
1901
1886
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult]
|
1902
1887
|
attr_accessor :output_result
|
@@ -1949,6 +1934,25 @@ module Google
|
|
1949
1934
|
end
|
1950
1935
|
end
|
1951
1936
|
|
1937
|
+
# A Gcs output result.
|
1938
|
+
class GoogleCloudRetailV2alphaGcsOutputResult
|
1939
|
+
include Google::Apis::Core::Hashable
|
1940
|
+
|
1941
|
+
# The uri of Gcs output
|
1942
|
+
# Corresponds to the JSON property `outputUri`
|
1943
|
+
# @return [String]
|
1944
|
+
attr_accessor :output_uri
|
1945
|
+
|
1946
|
+
def initialize(**args)
|
1947
|
+
update!(**args)
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
# Update properties of this object
|
1951
|
+
def update!(**args)
|
1952
|
+
@output_uri = args[:output_uri] if args.key?(:output_uri)
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
|
1952
1956
|
# Google Cloud Storage location for input content.
|
1953
1957
|
class GoogleCloudRetailV2alphaGcsSource
|
1954
1958
|
include Google::Apis::Core::Hashable
|
@@ -2953,15 +2957,21 @@ module Google
|
|
2953
2957
|
end
|
2954
2958
|
end
|
2955
2959
|
|
2956
|
-
# Output result
|
2960
|
+
# Output result that stores the information about where the exported data is
|
2961
|
+
# stored.
|
2957
2962
|
class GoogleCloudRetailV2alphaOutputResult
|
2958
2963
|
include Google::Apis::Core::Hashable
|
2959
2964
|
|
2960
|
-
#
|
2965
|
+
# The BigQuery location where the result is stored.
|
2961
2966
|
# Corresponds to the JSON property `bigqueryResult`
|
2962
2967
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult>]
|
2963
2968
|
attr_accessor :bigquery_result
|
2964
2969
|
|
2970
|
+
# The Google Cloud Storage location where the result is stored.
|
2971
|
+
# Corresponds to the JSON property `gcsResult`
|
2972
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsOutputResult>]
|
2973
|
+
attr_accessor :gcs_result
|
2974
|
+
|
2965
2975
|
def initialize(**args)
|
2966
2976
|
update!(**args)
|
2967
2977
|
end
|
@@ -2969,6 +2979,7 @@ module Google
|
|
2969
2979
|
# Update properties of this object
|
2970
2980
|
def update!(**args)
|
2971
2981
|
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
2982
|
+
@gcs_result = args[:gcs_result] if args.key?(:gcs_result)
|
2972
2983
|
end
|
2973
2984
|
end
|
2974
2985
|
|
@@ -3047,7 +3058,7 @@ module Google
|
|
3047
3058
|
# returned in the `results.metadata` field in the prediction response. * `
|
3048
3059
|
# returnScore`: Boolean. If set to true, the prediction 'score' corresponding to
|
3049
3060
|
# each returned product will be set in the `results.metadata` field in the
|
3050
|
-
# prediction response. The given 'score' indicates the probability of
|
3061
|
+
# prediction response. The given 'score' indicates the probability of a product
|
3051
3062
|
# being clicked/purchased given the user's context and history. * `
|
3052
3063
|
# strictFiltering`: Boolean. True by default. If set to false, the service will
|
3053
3064
|
# return generic (unfiltered) popular products instead of empty if your filter
|
@@ -5040,7 +5051,7 @@ module Google
|
|
5040
5051
|
attr_accessor :facet_key
|
5041
5052
|
|
5042
5053
|
# Maximum of facet values that should be returned for this facet. If unspecified,
|
5043
|
-
# defaults to
|
5054
|
+
# defaults to 50. The maximum allowed value is 300. Values above 300 will be
|
5044
5055
|
# coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.
|
5045
5056
|
# Corresponds to the JSON property `limit`
|
5046
5057
|
# @return [Fixnum]
|
@@ -6408,7 +6419,8 @@ module Google
|
|
6408
6419
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig]
|
6409
6420
|
attr_accessor :errors_config
|
6410
6421
|
|
6411
|
-
# Output result
|
6422
|
+
# Output result that stores the information about where the exported data is
|
6423
|
+
# stored.
|
6412
6424
|
# Corresponds to the JSON property `outputResult`
|
6413
6425
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult]
|
6414
6426
|
attr_accessor :output_result
|
@@ -6441,7 +6453,8 @@ module Google
|
|
6441
6453
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig]
|
6442
6454
|
attr_accessor :errors_config
|
6443
6455
|
|
6444
|
-
# Output result
|
6456
|
+
# Output result that stores the information about where the exported data is
|
6457
|
+
# stored.
|
6445
6458
|
# Corresponds to the JSON property `outputResult`
|
6446
6459
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult]
|
6447
6460
|
attr_accessor :output_result
|
@@ -6458,6 +6471,25 @@ module Google
|
|
6458
6471
|
end
|
6459
6472
|
end
|
6460
6473
|
|
6474
|
+
# A Gcs output result.
|
6475
|
+
class GoogleCloudRetailV2betaGcsOutputResult
|
6476
|
+
include Google::Apis::Core::Hashable
|
6477
|
+
|
6478
|
+
# The uri of Gcs output
|
6479
|
+
# Corresponds to the JSON property `outputUri`
|
6480
|
+
# @return [String]
|
6481
|
+
attr_accessor :output_uri
|
6482
|
+
|
6483
|
+
def initialize(**args)
|
6484
|
+
update!(**args)
|
6485
|
+
end
|
6486
|
+
|
6487
|
+
# Update properties of this object
|
6488
|
+
def update!(**args)
|
6489
|
+
@output_uri = args[:output_uri] if args.key?(:output_uri)
|
6490
|
+
end
|
6491
|
+
end
|
6492
|
+
|
6461
6493
|
# Response of the ImportCompletionDataRequest. If the long running operation is
|
6462
6494
|
# done, this message is returned by the google.longrunning.Operations.response
|
6463
6495
|
# field if the operation is successful.
|
@@ -6775,15 +6807,21 @@ module Google
|
|
6775
6807
|
end
|
6776
6808
|
end
|
6777
6809
|
|
6778
|
-
# Output result
|
6810
|
+
# Output result that stores the information about where the exported data is
|
6811
|
+
# stored.
|
6779
6812
|
class GoogleCloudRetailV2betaOutputResult
|
6780
6813
|
include Google::Apis::Core::Hashable
|
6781
6814
|
|
6782
|
-
#
|
6815
|
+
# The BigQuery location where the result is stored.
|
6783
6816
|
# Corresponds to the JSON property `bigqueryResult`
|
6784
6817
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult>]
|
6785
6818
|
attr_accessor :bigquery_result
|
6786
6819
|
|
6820
|
+
# The Google Cloud Storage location where the result is stored.
|
6821
|
+
# Corresponds to the JSON property `gcsResult`
|
6822
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaGcsOutputResult>]
|
6823
|
+
attr_accessor :gcs_result
|
6824
|
+
|
6787
6825
|
def initialize(**args)
|
6788
6826
|
update!(**args)
|
6789
6827
|
end
|
@@ -6791,6 +6829,7 @@ module Google
|
|
6791
6829
|
# Update properties of this object
|
6792
6830
|
def update!(**args)
|
6793
6831
|
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
6832
|
+
@gcs_result = args[:gcs_result] if args.key?(:gcs_result)
|
6794
6833
|
end
|
6795
6834
|
end
|
6796
6835
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2alpha
|
18
18
|
# Version of the google-apis-retail_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.61.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221024"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -292,6 +292,12 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
295
301
|
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
303
|
|
@@ -388,6 +394,12 @@ module Google
|
|
388
394
|
include Google::Apis::Core::JsonObjectSupport
|
389
395
|
end
|
390
396
|
|
397
|
+
class GoogleCloudRetailV2alphaGcsOutputResult
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
391
403
|
class GoogleCloudRetailV2alphaGcsSource
|
392
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
405
|
|
@@ -1030,6 +1042,12 @@ module Google
|
|
1030
1042
|
include Google::Apis::Core::JsonObjectSupport
|
1031
1043
|
end
|
1032
1044
|
|
1045
|
+
class GoogleCloudRetailV2betaGcsOutputResult
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
|
+
|
1048
|
+
include Google::Apis::Core::JsonObjectSupport
|
1049
|
+
end
|
1050
|
+
|
1033
1051
|
class GoogleCloudRetailV2betaImportCompletionDataResponse
|
1034
1052
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1035
1053
|
|
@@ -1234,14 +1252,8 @@ module Google
|
|
1234
1252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1235
1253
|
property :catalog_item, as: 'catalogItem'
|
1236
1254
|
property :gcs_path, as: 'gcsPath'
|
1237
|
-
property :inventory_activity, as: 'inventoryActivity'
|
1238
1255
|
property :line_number, as: 'lineNumber'
|
1239
1256
|
property :operation_name, as: 'operationName'
|
1240
|
-
property :order, as: 'order'
|
1241
|
-
property :place, as: 'place'
|
1242
|
-
property :place_asset, as: 'placeAsset'
|
1243
|
-
property :place_product_price, as: 'placeProductPrice'
|
1244
|
-
property :place_product_settings, as: 'placeProductSettings'
|
1245
1257
|
property :product, as: 'product'
|
1246
1258
|
property :user_event, as: 'userEvent'
|
1247
1259
|
end
|
@@ -1555,6 +1567,8 @@ module Google
|
|
1555
1567
|
class GoogleCloudRetailV2alphaCompleteQueryResponse
|
1556
1568
|
# @private
|
1557
1569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1570
|
+
hash :attribute_results, as: 'attributeResults', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult::Representation
|
1571
|
+
|
1558
1572
|
property :attribution_token, as: 'attributionToken'
|
1559
1573
|
collection :completion_results, as: 'completionResults', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult::Representation
|
1560
1574
|
|
@@ -1563,6 +1577,13 @@ module Google
|
|
1563
1577
|
end
|
1564
1578
|
end
|
1565
1579
|
|
1580
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
1581
|
+
# @private
|
1582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1583
|
+
collection :suggestions, as: 'suggestions'
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1566
1587
|
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult
|
1567
1588
|
# @private
|
1568
1589
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1721,6 +1742,13 @@ module Google
|
|
1721
1742
|
end
|
1722
1743
|
end
|
1723
1744
|
|
1745
|
+
class GoogleCloudRetailV2alphaGcsOutputResult
|
1746
|
+
# @private
|
1747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1748
|
+
property :output_uri, as: 'outputUri'
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1724
1752
|
class GoogleCloudRetailV2alphaGcsSource
|
1725
1753
|
# @private
|
1726
1754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1992,6 +2020,8 @@ module Google
|
|
1992
2020
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1993
2021
|
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
|
1994
2022
|
|
2023
|
+
collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsOutputResult::Representation
|
2024
|
+
|
1995
2025
|
end
|
1996
2026
|
end
|
1997
2027
|
|
@@ -2801,6 +2831,13 @@ module Google
|
|
2801
2831
|
end
|
2802
2832
|
end
|
2803
2833
|
|
2834
|
+
class GoogleCloudRetailV2betaGcsOutputResult
|
2835
|
+
# @private
|
2836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2837
|
+
property :output_uri, as: 'outputUri'
|
2838
|
+
end
|
2839
|
+
end
|
2840
|
+
|
2804
2841
|
class GoogleCloudRetailV2betaImportCompletionDataResponse
|
2805
2842
|
# @private
|
2806
2843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2883,6 +2920,8 @@ module Google
|
|
2883
2920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2884
2921
|
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
|
2885
2922
|
|
2923
|
+
collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaGcsOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaGcsOutputResult::Representation
|
2924
|
+
|
2886
2925
|
end
|
2887
2926
|
end
|
2888
2927
|
|
@@ -66,11 +66,13 @@ 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.
|
70
|
-
# different suggestions on different device
|
71
|
-
# it is empty, the suggestions are across
|
72
|
-
# `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
|
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
|
+
# @param [Boolean] enable_attribute_suggestions
|
75
|
+
# If true, attribute suggestions are enabled and provided in response.
|
74
76
|
# @param [Array<String>, String] language_codes
|
75
77
|
# Note that this field applies for `user-data` dataset only. For requests with `
|
76
78
|
# cloud-retail` dataset, setting this field has no effect. The language filters
|
@@ -110,13 +112,14 @@ module Google
|
|
110
112
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
111
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
112
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
113
|
-
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
115
|
+
def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, enable_attribute_suggestions: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
114
116
|
command = make_simple_command(:get, 'v2alpha/{+catalog}:completeQuery', options)
|
115
117
|
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponse::Representation
|
116
118
|
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponse
|
117
119
|
command.params['catalog'] = catalog unless catalog.nil?
|
118
120
|
command.query['dataset'] = dataset unless dataset.nil?
|
119
121
|
command.query['deviceType'] = device_type unless device_type.nil?
|
122
|
+
command.query['enableAttributeSuggestions'] = enable_attribute_suggestions unless enable_attribute_suggestions.nil?
|
120
123
|
command.query['languageCodes'] = language_codes unless language_codes.nil?
|
121
124
|
command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
|
122
125
|
command.query['query'] = query unless query.nil?
|
@@ -2195,6 +2198,14 @@ module Google
|
|
2195
2198
|
# The event timestamp in milliseconds. This prevents browser caching of
|
2196
2199
|
# otherwise identical get requests. The name is abbreviated to reduce the
|
2197
2200
|
# payload bytes.
|
2201
|
+
# @param [String] prebuilt_rule
|
2202
|
+
# The prebuilt rule name that can convert a specific type of raw_json. For
|
2203
|
+
# example: "default_schema/v1.0"
|
2204
|
+
# @param [String] raw_json
|
2205
|
+
# An arbitrary serialized JSON string that contains necessary information that
|
2206
|
+
# can comprise a user event. When this field is specified, the user_event field
|
2207
|
+
# will be ignored. Note: line-delimited JSON is not supported, a single JSON
|
2208
|
+
# only.
|
2198
2209
|
# @param [String] uri
|
2199
2210
|
# The URL including cgi-parameters but excluding the hash fragment with a length
|
2200
2211
|
# limit of 5,000 characters. This is often more useful than the referer URL,
|
@@ -2219,12 +2230,14 @@ module Google
|
|
2219
2230
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2220
2231
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2221
2232
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2222
|
-
def collect_project_location_catalog_user_event(parent, ets: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2233
|
+
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)
|
2223
2234
|
command = make_simple_command(:get, 'v2alpha/{+parent}/userEvents:collect', options)
|
2224
2235
|
command.response_representation = Google::Apis::RetailV2alpha::GoogleApiHttpBody::Representation
|
2225
2236
|
command.response_class = Google::Apis::RetailV2alpha::GoogleApiHttpBody
|
2226
2237
|
command.params['parent'] = parent unless parent.nil?
|
2227
2238
|
command.query['ets'] = ets unless ets.nil?
|
2239
|
+
command.query['prebuiltRule'] = prebuilt_rule unless prebuilt_rule.nil?
|
2240
|
+
command.query['rawJson'] = raw_json unless raw_json.nil?
|
2228
2241
|
command.query['uri'] = uri unless uri.nil?
|
2229
2242
|
command.query['userEvent'] = user_event unless user_event.nil?
|
2230
2243
|
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_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.61.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-
|
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.
|
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.
|
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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.61.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|