google-apis-retail_v2 0.55.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2904e6d0a1cd75eba6a7eeb0c604b38accd2b718309c9e766fb4150cfce5a492
|
4
|
+
data.tar.gz: ff135f5ab9f2f7f8d3353eabcae41bfebfafd027bcfe835e7a755f35454badf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece9828806d542edc0478429f6d05be4da5b1124a30399256308e5b83785d5e26e65f2dd41caeab35f07774b7231e35efab2b5bf921d2fc48a032a4bb73daf01
|
7
|
+
data.tar.gz: bcf39b2d80435b45587dd3442896e1d134ccdb316ff46f9519c6ad76a029799b6900a19141e0a362e3f9dc3920c5c35fa11680064172f970304b70ac684c636a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
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
|
+
|
8
|
+
### v0.56.0 (2022-10-11)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220922
|
11
|
+
|
3
12
|
### v0.55.0 (2022-09-23)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220917
|
@@ -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
|
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
|
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
|
|
@@ -674,11 +674,19 @@ module Google
|
|
674
674
|
|
675
675
|
# If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet.
|
676
676
|
# Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option
|
677
|
-
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned.
|
677
|
+
# is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. Must
|
678
|
+
# be specified, otherwise throws INVALID_FORMAT error.
|
678
679
|
# Corresponds to the JSON property `dynamicFacetableOption`
|
679
680
|
# @return [String]
|
680
681
|
attr_accessor :dynamic_facetable_option
|
681
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
|
+
|
682
690
|
# Output only. Indicates whether this attribute has been used by any products. `
|
683
691
|
# True` if at least one Product is using this attribute in Product.attributes.
|
684
692
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -697,7 +705,8 @@ module Google
|
|
697
705
|
|
698
706
|
# When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG,
|
699
707
|
# if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered,
|
700
|
-
# faceted, or boosted in SearchService.Search.
|
708
|
+
# faceted, or boosted in SearchService.Search. Must be specified, otherwise
|
709
|
+
# throws INVALID_FORMAT error.
|
701
710
|
# Corresponds to the JSON property `indexableOption`
|
702
711
|
# @return [String]
|
703
712
|
attr_accessor :indexable_option
|
@@ -715,7 +724,8 @@ module Google
|
|
715
724
|
# if SEARCHABLE_ENABLED, attribute values are searchable by text queries in
|
716
725
|
# SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical,
|
717
726
|
# attribute values will not be searchable by text queries in SearchService.
|
718
|
-
# Search, as there are no text values associated to numerical attributes.
|
727
|
+
# Search, as there are no text values associated to numerical attributes. Must
|
728
|
+
# be specified, otherwise throws INVALID_FORMAT error.
|
719
729
|
# Corresponds to the JSON property `searchableOption`
|
720
730
|
# @return [String]
|
721
731
|
attr_accessor :searchable_option
|
@@ -733,6 +743,7 @@ module Google
|
|
733
743
|
# Update properties of this object
|
734
744
|
def update!(**args)
|
735
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)
|
736
747
|
@in_use = args[:in_use] if args.key?(:in_use)
|
737
748
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
738
749
|
@key = args[:key] if args.key?(:key)
|
@@ -1898,7 +1909,7 @@ module Google
|
|
1898
1909
|
# returned in the `results.metadata` field in the prediction response. * `
|
1899
1910
|
# returnScore`: Boolean. If set to true, the prediction 'score' corresponding to
|
1900
1911
|
# each returned product will be set in the `results.metadata` field in the
|
1901
|
-
# prediction response. The given 'score' indicates the probability of
|
1912
|
+
# prediction response. The given 'score' indicates the probability of a product
|
1902
1913
|
# being clicked/purchased given the user's context and history. * `
|
1903
1914
|
# strictFiltering`: Boolean. True by default. If set to false, the service will
|
1904
1915
|
# return generic (unfiltered) popular products instead of empty if your filter
|
@@ -3760,7 +3771,7 @@ module Google
|
|
3760
3771
|
attr_accessor :facet_key
|
3761
3772
|
|
3762
3773
|
# Maximum of facet values that should be returned for this facet. If unspecified,
|
3763
|
-
# defaults to
|
3774
|
+
# defaults to 50. The maximum allowed value is 300. Values above 300 will be
|
3764
3775
|
# coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.
|
3765
3776
|
# Corresponds to the JSON property `limit`
|
3766
3777
|
# @return [Fixnum]
|
@@ -5054,7 +5065,8 @@ module Google
|
|
5054
5065
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
|
5055
5066
|
attr_accessor :errors_config
|
5056
5067
|
|
5057
|
-
# Output result
|
5068
|
+
# Output result that stores the information about where the exported data is
|
5069
|
+
# stored.
|
5058
5070
|
# Corresponds to the JSON property `outputResult`
|
5059
5071
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
|
5060
5072
|
attr_accessor :output_result
|
@@ -5087,7 +5099,8 @@ module Google
|
|
5087
5099
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig]
|
5088
5100
|
attr_accessor :errors_config
|
5089
5101
|
|
5090
|
-
# Output result
|
5102
|
+
# Output result that stores the information about where the exported data is
|
5103
|
+
# stored.
|
5091
5104
|
# Corresponds to the JSON property `outputResult`
|
5092
5105
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2alphaOutputResult]
|
5093
5106
|
attr_accessor :output_result
|
@@ -5104,6 +5117,25 @@ module Google
|
|
5104
5117
|
end
|
5105
5118
|
end
|
5106
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
|
+
|
5107
5139
|
# Response of the ImportCompletionDataRequest. If the long running operation is
|
5108
5140
|
# done, this message is returned by the google.longrunning.Operations.response
|
5109
5141
|
# field if the operation is successful.
|
@@ -5534,15 +5566,21 @@ module Google
|
|
5534
5566
|
end
|
5535
5567
|
end
|
5536
5568
|
|
5537
|
-
# Output result
|
5569
|
+
# Output result that stores the information about where the exported data is
|
5570
|
+
# stored.
|
5538
5571
|
class GoogleCloudRetailV2alphaOutputResult
|
5539
5572
|
include Google::Apis::Core::Hashable
|
5540
5573
|
|
5541
|
-
#
|
5574
|
+
# The BigQuery location where the result is stored.
|
5542
5575
|
# Corresponds to the JSON property `bigqueryResult`
|
5543
5576
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult>]
|
5544
5577
|
attr_accessor :bigquery_result
|
5545
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
|
+
|
5546
5584
|
def initialize(**args)
|
5547
5585
|
update!(**args)
|
5548
5586
|
end
|
@@ -5550,6 +5588,7 @@ module Google
|
|
5550
5588
|
# Update properties of this object
|
5551
5589
|
def update!(**args)
|
5552
5590
|
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
5591
|
+
@gcs_result = args[:gcs_result] if args.key?(:gcs_result)
|
5553
5592
|
end
|
5554
5593
|
end
|
5555
5594
|
|
@@ -6034,7 +6073,8 @@ module Google
|
|
6034
6073
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
|
6035
6074
|
attr_accessor :errors_config
|
6036
6075
|
|
6037
|
-
# Output result
|
6076
|
+
# Output result that stores the information about where the exported data is
|
6077
|
+
# stored.
|
6038
6078
|
# Corresponds to the JSON property `outputResult`
|
6039
6079
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
|
6040
6080
|
attr_accessor :output_result
|
@@ -6067,7 +6107,8 @@ module Google
|
|
6067
6107
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig]
|
6068
6108
|
attr_accessor :errors_config
|
6069
6109
|
|
6070
|
-
# Output result
|
6110
|
+
# Output result that stores the information about where the exported data is
|
6111
|
+
# stored.
|
6071
6112
|
# Corresponds to the JSON property `outputResult`
|
6072
6113
|
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2betaOutputResult]
|
6073
6114
|
attr_accessor :output_result
|
@@ -6084,6 +6125,25 @@ module Google
|
|
6084
6125
|
end
|
6085
6126
|
end
|
6086
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
|
+
|
6087
6147
|
# Response of the ImportCompletionDataRequest. If the long running operation is
|
6088
6148
|
# done, this message is returned by the google.longrunning.Operations.response
|
6089
6149
|
# field if the operation is successful.
|
@@ -6401,15 +6461,21 @@ module Google
|
|
6401
6461
|
end
|
6402
6462
|
end
|
6403
6463
|
|
6404
|
-
# Output result
|
6464
|
+
# Output result that stores the information about where the exported data is
|
6465
|
+
# stored.
|
6405
6466
|
class GoogleCloudRetailV2betaOutputResult
|
6406
6467
|
include Google::Apis::Core::Hashable
|
6407
6468
|
|
6408
|
-
#
|
6469
|
+
# The BigQuery location where the result is stored.
|
6409
6470
|
# Corresponds to the JSON property `bigqueryResult`
|
6410
6471
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult>]
|
6411
6472
|
attr_accessor :bigquery_result
|
6412
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
|
+
|
6413
6479
|
def initialize(**args)
|
6414
6480
|
update!(**args)
|
6415
6481
|
end
|
@@ -6417,6 +6483,7 @@ module Google
|
|
6417
6483
|
# Update properties of this object
|
6418
6484
|
def update!(**args)
|
6419
6485
|
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
6486
|
+
@gcs_result = args[:gcs_result] if args.key?(:gcs_result)
|
6420
6487
|
end
|
6421
6488
|
end
|
6422
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.
|
19
|
+
GEM_VERSION = "0.57.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
|
@@ -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
|
|
@@ -1300,6 +1312,7 @@ module Google
|
|
1300
1312
|
# @private
|
1301
1313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1302
1314
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1315
|
+
property :exact_searchable_option, as: 'exactSearchableOption'
|
1303
1316
|
property :in_use, as: 'inUse'
|
1304
1317
|
property :indexable_option, as: 'indexableOption'
|
1305
1318
|
property :key, as: 'key'
|
@@ -2343,6 +2356,13 @@ module Google
|
|
2343
2356
|
end
|
2344
2357
|
end
|
2345
2358
|
|
2359
|
+
class GoogleCloudRetailV2alphaGcsOutputResult
|
2360
|
+
# @private
|
2361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2362
|
+
property :output_uri, as: 'outputUri'
|
2363
|
+
end
|
2364
|
+
end
|
2365
|
+
|
2346
2366
|
class GoogleCloudRetailV2alphaImportCompletionDataResponse
|
2347
2367
|
# @private
|
2348
2368
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2457,6 +2477,8 @@ module Google
|
|
2457
2477
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2458
2478
|
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
|
2459
2479
|
|
2480
|
+
collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaGcsOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaGcsOutputResult::Representation
|
2481
|
+
|
2460
2482
|
end
|
2461
2483
|
end
|
2462
2484
|
|
@@ -2647,6 +2669,13 @@ module Google
|
|
2647
2669
|
end
|
2648
2670
|
end
|
2649
2671
|
|
2672
|
+
class GoogleCloudRetailV2betaGcsOutputResult
|
2673
|
+
# @private
|
2674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2675
|
+
property :output_uri, as: 'outputUri'
|
2676
|
+
end
|
2677
|
+
end
|
2678
|
+
|
2650
2679
|
class GoogleCloudRetailV2betaImportCompletionDataResponse
|
2651
2680
|
# @private
|
2652
2681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2729,6 +2758,8 @@ module Google
|
|
2729
2758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2730
2759
|
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
|
2731
2760
|
|
2761
|
+
collection :gcs_result, as: 'gcsResult', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaGcsOutputResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaGcsOutputResult::Representation
|
2762
|
+
|
2732
2763
|
end
|
2733
2764
|
end
|
2734
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.
|
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
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.
|
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-
|
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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
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: []
|