google-apis-retail_v2 0.26.0 → 0.27.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: aabae2c3c0eeb2902db7cc0ae776090140f88f54b756fc48582afac856df59f6
|
4
|
+
data.tar.gz: ac7abf0ce698c0d6dad2d95d368086a865d956e3a74d8b68173e5da72a54fda5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e14fd09be344914f7c2c1b48d0949e2f3b1f97f2b16de37d05086c1881356c915e54736a6905004e97c96be036dea07556cdf220b44910d94d1796eb86fa4c6
|
7
|
+
data.tar.gz: 992e443e049a016f75e9422319aa953eb045fe19e87bd6e3c0a2a60f28425be44d1cf4549699119d630c00f0ede33de8d61a15bb1c46b22aa1fef107fb7e672a
|
data/CHANGELOG.md
CHANGED
@@ -1723,7 +1723,8 @@ module Google
|
|
1723
1723
|
attr_accessor :primary_product_id
|
1724
1724
|
|
1725
1725
|
# The promotions applied to the product. A maximum of 10 values are allowed per
|
1726
|
-
# Product.
|
1726
|
+
# Product. Only Promotion.promotion_id will be used, other fields will be
|
1727
|
+
# ignored if set.
|
1727
1728
|
# Corresponds to the JSON property `promotions`
|
1728
1729
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Promotion>]
|
1729
1730
|
attr_accessor :promotions
|
@@ -2002,7 +2003,7 @@ module Google
|
|
2002
2003
|
class GoogleCloudRetailV2Promotion
|
2003
2004
|
include Google::Apis::Core::Hashable
|
2004
2005
|
|
2005
|
-
# ID of the promotion. For example, "free gift". The value
|
2006
|
+
# ID of the promotion. For example, "free gift". The value must be a UTF-8
|
2006
2007
|
# encoded string with a length limit of 128 characters, and match the pattern: `
|
2007
2008
|
# a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
|
2008
2009
|
# INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion]
|
@@ -2407,6 +2408,11 @@ module Google
|
|
2407
2408
|
# @return [String]
|
2408
2409
|
attr_accessor :page_token
|
2409
2410
|
|
2411
|
+
# The specification for personalization.
|
2412
|
+
# Corresponds to the JSON property `personalizationSpec`
|
2413
|
+
# @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec]
|
2414
|
+
attr_accessor :personalization_spec
|
2415
|
+
|
2410
2416
|
# Raw search query.
|
2411
2417
|
# Corresponds to the JSON property `query`
|
2412
2418
|
# @return [String]
|
@@ -2485,6 +2491,7 @@ module Google
|
|
2485
2491
|
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
2486
2492
|
@page_size = args[:page_size] if args.key?(:page_size)
|
2487
2493
|
@page_token = args[:page_token] if args.key?(:page_token)
|
2494
|
+
@personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
|
2488
2495
|
@query = args[:query] if args.key?(:query)
|
2489
2496
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
2490
2497
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
@@ -2734,6 +2741,25 @@ module Google
|
|
2734
2741
|
end
|
2735
2742
|
end
|
2736
2743
|
|
2744
|
+
# The specification for personalization.
|
2745
|
+
class GoogleCloudRetailV2SearchRequestPersonalizationSpec
|
2746
|
+
include Google::Apis::Core::Hashable
|
2747
|
+
|
2748
|
+
# Defaults to Mode.AUTO.
|
2749
|
+
# Corresponds to the JSON property `mode`
|
2750
|
+
# @return [String]
|
2751
|
+
attr_accessor :mode
|
2752
|
+
|
2753
|
+
def initialize(**args)
|
2754
|
+
update!(**args)
|
2755
|
+
end
|
2756
|
+
|
2757
|
+
# Update properties of this object
|
2758
|
+
def update!(**args)
|
2759
|
+
@mode = args[:mode] if args.key?(:mode)
|
2760
|
+
end
|
2761
|
+
end
|
2762
|
+
|
2737
2763
|
# Specification to determine under which conditions query expansion should occur.
|
2738
2764
|
class GoogleCloudRetailV2SearchRequestQueryExpansionSpec
|
2739
2765
|
include Google::Apis::Core::Hashable
|
@@ -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.27.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 = "20220127"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -400,6 +400,12 @@ module Google
|
|
400
400
|
include Google::Apis::Core::JsonObjectSupport
|
401
401
|
end
|
402
402
|
|
403
|
+
class GoogleCloudRetailV2SearchRequestPersonalizationSpec
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
403
409
|
class GoogleCloudRetailV2SearchRequestQueryExpansionSpec
|
404
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
411
|
|
@@ -1361,6 +1367,8 @@ module Google
|
|
1361
1367
|
collection :page_categories, as: 'pageCategories'
|
1362
1368
|
property :page_size, as: 'pageSize'
|
1363
1369
|
property :page_token, as: 'pageToken'
|
1370
|
+
property :personalization_spec, as: 'personalizationSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestPersonalizationSpec::Representation
|
1371
|
+
|
1364
1372
|
property :query, as: 'query'
|
1365
1373
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
|
1366
1374
|
|
@@ -1420,6 +1428,13 @@ module Google
|
|
1420
1428
|
end
|
1421
1429
|
end
|
1422
1430
|
|
1431
|
+
class GoogleCloudRetailV2SearchRequestPersonalizationSpec
|
1432
|
+
# @private
|
1433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1434
|
+
property :mode, as: 'mode'
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1423
1438
|
class GoogleCloudRetailV2SearchRequestQueryExpansionSpec
|
1424
1439
|
# @private
|
1425
1440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.27.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-02-07 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.27.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: []
|