google-apis-retail_v2 0.28.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/retail_v2/classes.rb +136 -45
- data/lib/google/apis/retail_v2/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2/representations.rb +31 -0
- data/lib/google/apis/retail_v2/service.rb +19 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7026215dee691483ee2220eea2f1b0925c01316973a526ee493dddc65252ccc
|
4
|
+
data.tar.gz: 2a09466d24ed7c69217c82db15ec62af850dadc841e47b0257fd3a2441da5b66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a648d9b561aa369bb0c0fdc189a64a95df5c205f35d3904e7e3b7c2391782d0b2bf8fdb653eb035b8ea4e066eefa00ab68b97de5f727106b01461275e8066ad8
|
7
|
+
data.tar.gz: 38c5765a7e13b5ce937559f351409a4e170bd4ed1f47ce29fdedfb25a26b92a5dd3b9a933ab9cb78afff6bd8891e9e6c1eabf60f0051b0ce77a0dc2c69bd2c9e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.31.0 (2022-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220310
|
6
|
+
|
7
|
+
### v0.30.0 (2022-03-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220303
|
10
|
+
|
11
|
+
### v0.29.0 (2022-02-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220217
|
14
|
+
|
3
15
|
### v0.28.0 (2022-02-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220210
|
@@ -437,11 +437,11 @@ module Google
|
|
437
437
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
438
438
|
# day and time zone are either specified elsewhere or are insignificant. The
|
439
439
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
440
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
441
|
-
# and day, with a zero year (
|
442
|
-
# zero month and a zero day * A year and month, with a zero day (
|
443
|
-
# card expiration date) Related types: * google.type.
|
444
|
-
# DateTime * google.protobuf.Timestamp
|
440
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
441
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
442
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
443
|
+
# example, a credit card expiration date). Related types: * google.type.
|
444
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
445
445
|
# Corresponds to the JSON property `partitionDate`
|
446
446
|
# @return [Google::Apis::RetailV2::GoogleTypeDate]
|
447
447
|
attr_accessor :partition_date
|
@@ -719,8 +719,9 @@ module Google
|
|
719
719
|
alias_method :searchable?, :searchable
|
720
720
|
|
721
721
|
# The textual values of this custom attribute. For example, `["yellow", "green"]`
|
722
|
-
# when the key is "color".
|
723
|
-
#
|
722
|
+
# when the key is "color". Empty string is not allowed. Otherwise, an
|
723
|
+
# INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be
|
724
|
+
# set. Otherwise, an INVALID_ARGUMENT error is returned.
|
724
725
|
# Corresponds to the JSON property `text`
|
725
726
|
# @return [Array<String>]
|
726
727
|
attr_accessor :text
|
@@ -846,7 +847,10 @@ module Google
|
|
846
847
|
end
|
847
848
|
end
|
848
849
|
|
849
|
-
# Product
|
850
|
+
# Product image. Recommendations AI and Retail Search do not use product images
|
851
|
+
# to improve prediction and search results. However, product images can be
|
852
|
+
# returned in results, and are shown in prediction or search previews in the
|
853
|
+
# console.
|
850
854
|
class GoogleCloudRetailV2Image
|
851
855
|
include Google::Apis::Core::Hashable
|
852
856
|
|
@@ -936,9 +940,9 @@ module Google
|
|
936
940
|
class GoogleCloudRetailV2ImportErrorsConfig
|
937
941
|
include Google::Apis::Core::Hashable
|
938
942
|
|
939
|
-
# Google Cloud Storage
|
940
|
-
# Cloud Storage
|
941
|
-
# one per line, as a JSON-encoded `google.rpc.Status` message.
|
943
|
+
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
944
|
+
# Cloud Storage directory. Import errors will be written to sharded files in
|
945
|
+
# this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
942
946
|
# Corresponds to the JSON property `gcsPrefix`
|
943
947
|
# @return [String]
|
944
948
|
attr_accessor :gcs_prefix
|
@@ -1258,9 +1262,11 @@ module Google
|
|
1258
1262
|
# do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR "
|
1259
1263
|
# Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(-
|
1260
1264
|
# "promotional") * filterOutOfStockItems If your filter blocks all prediction
|
1261
|
-
# results,
|
1262
|
-
#
|
1263
|
-
# PredictRequest.params
|
1265
|
+
# results, the API will return generic (unfiltered) popular products. If you
|
1266
|
+
# only want results strictly matching the filters, set `strictFiltering` to True
|
1267
|
+
# in `PredictRequest.params` to receive empty results instead. Note that the API
|
1268
|
+
# will never return items with storageStatus of "EXPIRED" or "DELETED"
|
1269
|
+
# regardless of filter choices.
|
1264
1270
|
# Corresponds to the JSON property `filter`
|
1265
1271
|
# @return [String]
|
1266
1272
|
attr_accessor :filter
|
@@ -1531,9 +1537,9 @@ module Google
|
|
1531
1537
|
# be a UTF-8 encoded string with a length limit of 128 characters. * For
|
1532
1538
|
# indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
|
1533
1539
|
# `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400
|
1534
|
-
# values are allowed. Empty values are not allowed. Each value must be a
|
1535
|
-
# encoded string with a length limit of 256 characters. * For number
|
1536
|
-
# at most 400 values are allowed.
|
1540
|
+
# values are allowed. Empty values are not allowed. Each value must be a non-
|
1541
|
+
# empty UTF-8 encoded string with a length limit of 256 characters. * For number
|
1542
|
+
# attributes, at most 400 values are allowed.
|
1537
1543
|
# Corresponds to the JSON property `attributes`
|
1538
1544
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
1539
1545
|
attr_accessor :attributes
|
@@ -1667,7 +1673,7 @@ module Google
|
|
1667
1673
|
# @return [String]
|
1668
1674
|
attr_accessor :id
|
1669
1675
|
|
1670
|
-
# Product images for the product.
|
1676
|
+
# Product images for the product. We highly recommend putting the main image
|
1671
1677
|
# first. A maximum of 300 images are allowed. Corresponding properties: Google
|
1672
1678
|
# Merchant Center property [image_link](https://support.google.com/merchants/
|
1673
1679
|
# answer/6324350). Schema.org property [Product.image](https://schema.org/image).
|
@@ -2341,12 +2347,13 @@ module Google
|
|
2341
2347
|
# @return [String]
|
2342
2348
|
attr_accessor :branch
|
2343
2349
|
|
2344
|
-
# The filter
|
2345
|
-
#
|
2346
|
-
#
|
2347
|
-
#
|
2348
|
-
#
|
2349
|
-
#
|
2350
|
+
# The default filter that is applied when a user performs a search without
|
2351
|
+
# checking any filters on the search page. The filter applied to every search
|
2352
|
+
# request when quality improvement such as query expansion is needed. For
|
2353
|
+
# example, if a query does not have enough results, an expanded query with
|
2354
|
+
# SearchRequest.canonical_filter will be returned as a supplement of the
|
2355
|
+
# original query. This field is strongly recommended to achieve high search
|
2356
|
+
# quality. See SearchRequest.filter for more details about filter syntax.
|
2350
2357
|
# Corresponds to the JSON property `canonicalFilter`
|
2351
2358
|
# @return [String]
|
2352
2359
|
attr_accessor :canonical_filter
|
@@ -3045,11 +3052,20 @@ module Google
|
|
3045
3052
|
include Google::Apis::Core::Hashable
|
3046
3053
|
|
3047
3054
|
# The final component of the resource name of a branch. This field must be one
|
3048
|
-
# of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned.
|
3055
|
+
# of "0", "1" or "2". Otherwise, an INVALID_ARGUMENT error is returned. If there
|
3056
|
+
# are no sufficient active products in the targeted branch and force is not set,
|
3057
|
+
# a FAILED_PRECONDITION error is returned.
|
3049
3058
|
# Corresponds to the JSON property `branchId`
|
3050
3059
|
# @return [String]
|
3051
3060
|
attr_accessor :branch_id
|
3052
3061
|
|
3062
|
+
# If set to true, it permits switching to a branch with branch_id even if it has
|
3063
|
+
# no sufficient active products.
|
3064
|
+
# Corresponds to the JSON property `force`
|
3065
|
+
# @return [Boolean]
|
3066
|
+
attr_accessor :force
|
3067
|
+
alias_method :force?, :force
|
3068
|
+
|
3053
3069
|
# Some note on this request, this can be retrieved by CatalogService.
|
3054
3070
|
# GetDefaultBranch before next valid default branch set occurs. This field must
|
3055
3071
|
# be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise,
|
@@ -3065,6 +3081,7 @@ module Google
|
|
3065
3081
|
# Update properties of this object
|
3066
3082
|
def update!(**args)
|
3067
3083
|
@branch_id = args[:branch_id] if args.key?(:branch_id)
|
3084
|
+
@force = args[:force] if args.key?(:force)
|
3068
3085
|
@note = args[:note] if args.key?(:note)
|
3069
3086
|
end
|
3070
3087
|
end
|
@@ -3149,15 +3166,21 @@ module Google
|
|
3149
3166
|
class GoogleCloudRetailV2UserEvent
|
3150
3167
|
include Google::Apis::Core::Hashable
|
3151
3168
|
|
3152
|
-
# Extra user event features to include in the recommendation model.
|
3153
|
-
#
|
3154
|
-
#
|
3155
|
-
#
|
3156
|
-
#
|
3157
|
-
#
|
3158
|
-
#
|
3159
|
-
#
|
3160
|
-
#
|
3169
|
+
# Extra user event features to include in the recommendation model. If you
|
3170
|
+
# provide custom attributes for ingested user events, also include them in the
|
3171
|
+
# user events that you associate with prediction requests. Custom attribute
|
3172
|
+
# formatting must be consistent between imported events and events provided with
|
3173
|
+
# prediction requests. This lets the Retail API use those custom attributes when
|
3174
|
+
# training models and serving predictions, which helps improve recommendation
|
3175
|
+
# quality. This field needs to pass all below criteria, otherwise an
|
3176
|
+
# INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string
|
3177
|
+
# with a length limit of 5,000 characters. * For text attributes, at most 400
|
3178
|
+
# values are allowed. Empty values are not allowed. Each value must be a UTF-8
|
3179
|
+
# encoded string with a length limit of 256 characters. * For number attributes,
|
3180
|
+
# at most 400 values are allowed. For product recommendations, an example of
|
3181
|
+
# extra user information is traffic_channel, which is how a user arrives at the
|
3182
|
+
# site. Users can arrive at the site by coming to the site directly, coming
|
3183
|
+
# through Google search, or in other ways.
|
3161
3184
|
# Corresponds to the JSON property `attributes`
|
3162
3185
|
# @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
|
3163
3186
|
attr_accessor :attributes
|
@@ -3681,9 +3704,9 @@ module Google
|
|
3681
3704
|
class GoogleCloudRetailV2alphaImportErrorsConfig
|
3682
3705
|
include Google::Apis::Core::Hashable
|
3683
3706
|
|
3684
|
-
# Google Cloud Storage
|
3685
|
-
# Cloud Storage
|
3686
|
-
# one per line, as a JSON-encoded `google.rpc.Status` message.
|
3707
|
+
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
3708
|
+
# Cloud Storage directory. Import errors will be written to sharded files in
|
3709
|
+
# this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
3687
3710
|
# Corresponds to the JSON property `gcsPrefix`
|
3688
3711
|
# @return [String]
|
3689
3712
|
attr_accessor :gcs_prefix
|
@@ -3828,6 +3851,74 @@ module Google
|
|
3828
3851
|
end
|
3829
3852
|
end
|
3830
3853
|
|
3854
|
+
# Metadata related to the progress of the PurgeProducts operation. This will be
|
3855
|
+
# returned by the google.longrunning.Operation.metadata field.
|
3856
|
+
class GoogleCloudRetailV2alphaPurgeProductsMetadata
|
3857
|
+
include Google::Apis::Core::Hashable
|
3858
|
+
|
3859
|
+
# Operation create time.
|
3860
|
+
# Corresponds to the JSON property `createTime`
|
3861
|
+
# @return [String]
|
3862
|
+
attr_accessor :create_time
|
3863
|
+
|
3864
|
+
# Count of entries that encountered errors while processing.
|
3865
|
+
# Corresponds to the JSON property `failureCount`
|
3866
|
+
# @return [Fixnum]
|
3867
|
+
attr_accessor :failure_count
|
3868
|
+
|
3869
|
+
# Count of entries that were deleted successfully.
|
3870
|
+
# Corresponds to the JSON property `successCount`
|
3871
|
+
# @return [Fixnum]
|
3872
|
+
attr_accessor :success_count
|
3873
|
+
|
3874
|
+
# Operation last update time. If the operation is done, this is also the finish
|
3875
|
+
# time.
|
3876
|
+
# Corresponds to the JSON property `updateTime`
|
3877
|
+
# @return [String]
|
3878
|
+
attr_accessor :update_time
|
3879
|
+
|
3880
|
+
def initialize(**args)
|
3881
|
+
update!(**args)
|
3882
|
+
end
|
3883
|
+
|
3884
|
+
# Update properties of this object
|
3885
|
+
def update!(**args)
|
3886
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3887
|
+
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
3888
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
3889
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3890
|
+
end
|
3891
|
+
end
|
3892
|
+
|
3893
|
+
# Response of the PurgeProductsRequest. If the long running operation is
|
3894
|
+
# successfully done, then this message is returned by the google.longrunning.
|
3895
|
+
# Operations.response field.
|
3896
|
+
class GoogleCloudRetailV2alphaPurgeProductsResponse
|
3897
|
+
include Google::Apis::Core::Hashable
|
3898
|
+
|
3899
|
+
# The total count of products purged as a result of the operation.
|
3900
|
+
# Corresponds to the JSON property `purgeCount`
|
3901
|
+
# @return [Fixnum]
|
3902
|
+
attr_accessor :purge_count
|
3903
|
+
|
3904
|
+
# A sample of the product names that will be deleted. Only populated if `force`
|
3905
|
+
# is set to false. A max of 100 names will be returned and the names are chosen
|
3906
|
+
# at random.
|
3907
|
+
# Corresponds to the JSON property `purgeSample`
|
3908
|
+
# @return [Array<String>]
|
3909
|
+
attr_accessor :purge_sample
|
3910
|
+
|
3911
|
+
def initialize(**args)
|
3912
|
+
update!(**args)
|
3913
|
+
end
|
3914
|
+
|
3915
|
+
# Update properties of this object
|
3916
|
+
def update!(**args)
|
3917
|
+
@purge_count = args[:purge_count] if args.key?(:purge_count)
|
3918
|
+
@purge_sample = args[:purge_sample] if args.key?(:purge_sample)
|
3919
|
+
end
|
3920
|
+
end
|
3921
|
+
|
3831
3922
|
# Response of the PurgeUserEventsRequest. If the long running operation is
|
3832
3923
|
# successfully done, then this message is returned by the google.longrunning.
|
3833
3924
|
# Operations.response field.
|
@@ -4151,9 +4242,9 @@ module Google
|
|
4151
4242
|
class GoogleCloudRetailV2betaImportErrorsConfig
|
4152
4243
|
include Google::Apis::Core::Hashable
|
4153
4244
|
|
4154
|
-
# Google Cloud Storage
|
4155
|
-
# Cloud Storage
|
4156
|
-
# one per line, as a JSON-encoded `google.rpc.Status` message.
|
4245
|
+
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
4246
|
+
# Cloud Storage directory. Import errors will be written to sharded files in
|
4247
|
+
# this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
4157
4248
|
# Corresponds to the JSON property `gcsPrefix`
|
4158
4249
|
# @return [String]
|
4159
4250
|
attr_accessor :gcs_prefix
|
@@ -4582,11 +4673,11 @@ module Google
|
|
4582
4673
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4583
4674
|
# day and time zone are either specified elsewhere or are insignificant. The
|
4584
4675
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
4585
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
4586
|
-
# and day, with a zero year (
|
4587
|
-
# zero month and a zero day * A year and month, with a zero day (
|
4588
|
-
# card expiration date) Related types: * google.type.
|
4589
|
-
# DateTime * google.protobuf.Timestamp
|
4676
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
4677
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
4678
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
4679
|
+
# example, a credit card expiration date). Related types: * google.type.
|
4680
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
4590
4681
|
class GoogleTypeDate
|
4591
4682
|
include Google::Apis::Core::Hashable
|
4592
4683
|
|
@@ -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.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220310"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -580,6 +580,18 @@ module Google
|
|
580
580
|
include Google::Apis::Core::JsonObjectSupport
|
581
581
|
end
|
582
582
|
|
583
|
+
class GoogleCloudRetailV2alphaPurgeProductsMetadata
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
589
|
+
class GoogleCloudRetailV2alphaPurgeProductsResponse
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
583
595
|
class GoogleCloudRetailV2alphaPurgeUserEventsResponse
|
584
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
597
|
|
@@ -1508,6 +1520,7 @@ module Google
|
|
1508
1520
|
# @private
|
1509
1521
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1510
1522
|
property :branch_id, as: 'branchId'
|
1523
|
+
property :force, as: 'force'
|
1511
1524
|
property :note, as: 'note'
|
1512
1525
|
end
|
1513
1526
|
end
|
@@ -1718,6 +1731,24 @@ module Google
|
|
1718
1731
|
end
|
1719
1732
|
end
|
1720
1733
|
|
1734
|
+
class GoogleCloudRetailV2alphaPurgeProductsMetadata
|
1735
|
+
# @private
|
1736
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1737
|
+
property :create_time, as: 'createTime'
|
1738
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
1739
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
1740
|
+
property :update_time, as: 'updateTime'
|
1741
|
+
end
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
class GoogleCloudRetailV2alphaPurgeProductsResponse
|
1745
|
+
# @private
|
1746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1747
|
+
property :purge_count, :numeric_string => true, as: 'purgeCount'
|
1748
|
+
collection :purge_sample, as: 'purgeSample'
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1721
1752
|
class GoogleCloudRetailV2alphaPurgeUserEventsResponse
|
1722
1753
|
# @private
|
1723
1754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -72,10 +72,12 @@ module Google
|
|
72
72
|
# `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
|
73
73
|
# `OTHER_`, e.g. `OTHER_IPHONE`.
|
74
74
|
# @param [Array<String>, String] language_codes
|
75
|
-
# The
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
75
|
+
# The language filters applied to the output suggestions. If set, it should
|
76
|
+
# contain the language of the query. If not set, suggestions are returned
|
77
|
+
# without considering language restrictions. This is the BCP-47 language code,
|
78
|
+
# such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying
|
79
|
+
# Languages](https://tools.ietf.org/html/bcp47). The maximum number of language
|
80
|
+
# codes is 3.
|
79
81
|
# @param [Fixnum] max_suggestions
|
80
82
|
# Completion max suggestions. If left unset or set to 0, then will fallback to
|
81
83
|
# the configured value CompletionConfig.max_suggestions. The maximum allowed max
|
@@ -84,12 +86,12 @@ module Google
|
|
84
86
|
# Required. The query used to generate suggestions. The maximum number of
|
85
87
|
# allowed characters is 255.
|
86
88
|
# @param [String] visitor_id
|
87
|
-
# A unique identifier for tracking visitors. For example, this
|
88
|
-
# implemented with an HTTP cookie, which should be able to uniquely
|
89
|
-
# visitor on a single device. This unique identifier should not
|
90
|
-
# visitor logs in or out of the website. The field must be a UTF-8
|
91
|
-
# string with a length limit of 128 characters. Otherwise, an
|
92
|
-
# error is returned.
|
89
|
+
# Required field. A unique identifier for tracking visitors. For example, this
|
90
|
+
# could be implemented with an HTTP cookie, which should be able to uniquely
|
91
|
+
# identify a visitor on a single device. This unique identifier should not
|
92
|
+
# change if the visitor logs in or out of the website. The field must be a UTF-8
|
93
|
+
# encoded string with a length limit of 128 characters. Otherwise, an
|
94
|
+
# INVALID_ARGUMENT error is returned.
|
93
95
|
# @param [String] fields
|
94
96
|
# Selector specifying which fields to include in a partial response.
|
95
97
|
# @param [String] quota_user
|
@@ -682,7 +684,7 @@ module Google
|
|
682
684
|
# CreateProduct or UpdateProduct request. If no inventory fields are set in
|
683
685
|
# CreateProductRequest.product, then any pre-existing inventory information for
|
684
686
|
# this product will be used. If no inventory fields are set in
|
685
|
-
#
|
687
|
+
# SetInventoryRequest.set_mask, then any existing inventory information will be
|
686
688
|
# preserved. Pre-existing inventory information can only be updated with
|
687
689
|
# SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature
|
688
690
|
# is only available for users who have Retail Search enabled. Please submit a
|
@@ -1035,13 +1037,14 @@ module Google
|
|
1035
1037
|
execute_or_queue_command(command, &block)
|
1036
1038
|
end
|
1037
1039
|
|
1038
|
-
#
|
1039
|
-
#
|
1040
|
-
#
|
1040
|
+
# Starts a user event rejoin operation with latest product catalog. Events will
|
1041
|
+
# not be annotated with detailed product information if product is missing from
|
1042
|
+
# the catalog at the time the user event is ingested, and these events are
|
1041
1043
|
# stored as unjoined events with a limited usage on training and serving. This
|
1042
|
-
#
|
1044
|
+
# method can be used to start a join operation on specified events with latest
|
1043
1045
|
# version of product catalog. It can also be used to correct events joined with
|
1044
|
-
# wrong product catalog.
|
1046
|
+
# the wrong product catalog. A rejoin operation can take hours or days to
|
1047
|
+
# complete.
|
1045
1048
|
# @param [String] parent
|
1046
1049
|
# Required. The parent catalog resource name, such as `projects/1234/locations/
|
1047
1050
|
# global/catalogs/default_catalog`.
|
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.31.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-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.31.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: []
|