google-apis-retail_v2 0.8.0 → 0.12.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 +18 -0
- data/lib/google/apis/retail_v2/classes.rb +25 -15
- data/lib/google/apis/retail_v2/gem_version.rb +3 -3
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb9a6a1ca59caf9b0143e11dd3205503cd54ab38b4cf16545d1ad6da3311d5c0
|
4
|
+
data.tar.gz: 979e276c118924f657b93594b2c2cc4fdd53aa1042cabfbb4532712191664aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f0f17a3b126e171d2940dbe5a48c6a063be974df5c0ed8dd166f44922a8102bc5cb6dd0f5315aa9cbe82144fac6d698f13abad474af74015192b590073b81a7
|
7
|
+
data.tar.gz: d0b22e22e301176c21f5fb0dec8994049e93f2e55aae33e548dc937bfa50e7396462eed2951022283b9037d8eabd0034060c6b082986ddc885e3272b61fb84f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.12.0 (2021-07-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210702
|
6
|
+
|
7
|
+
### v0.11.0 (2021-07-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210625
|
10
|
+
* Regenerated using generator version 0.4.0
|
11
|
+
|
12
|
+
### v0.10.0 (2021-06-24)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210614
|
15
|
+
|
16
|
+
### v0.9.0 (2021-06-07)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210528
|
19
|
+
* Regenerated using generator version 0.3.0
|
20
|
+
|
3
21
|
### v0.8.0 (2021-05-22)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20210514
|
@@ -741,7 +741,14 @@ module Google
|
|
741
741
|
# being clicked/purchased given the user's context and history. * `
|
742
742
|
# strictFiltering`: Boolean. True by default. If set to false, the service will
|
743
743
|
# return generic (unfiltered) popular products instead of empty if your filter
|
744
|
-
# blocks all prediction results.
|
744
|
+
# blocks all prediction results. * `priceRerankLevel`: String. Default empty. If
|
745
|
+
# set to be non-empty, then it needs to be one of `'no-price-reranking', 'low-
|
746
|
+
# price-reranking', 'medium-price-reranking', 'high-price-reranking'`. This
|
747
|
+
# gives request-level control and adjusts prediction results based on product
|
748
|
+
# price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
|
749
|
+
# it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
|
750
|
+
# high-diversity', 'auto-diversity'`. This gives request-level control and
|
751
|
+
# adjusts prediction results based on product category.
|
745
752
|
# Corresponds to the JSON property `params`
|
746
753
|
# @return [Hash<String,Object>]
|
747
754
|
attr_accessor :params
|
@@ -1097,7 +1104,7 @@ module Google
|
|
1097
1104
|
include Google::Apis::Core::Hashable
|
1098
1105
|
|
1099
1106
|
# Required. A list of products to update/create. Each product must have a valid
|
1100
|
-
# Product.id. Recommended max of
|
1107
|
+
# Product.id. Recommended max of 100 items.
|
1101
1108
|
# Corresponds to the JSON property `products`
|
1102
1109
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Product>]
|
1103
1110
|
attr_accessor :products
|
@@ -1406,11 +1413,12 @@ module Google
|
|
1406
1413
|
|
1407
1414
|
# Required. User event type. Allowed values are: * `add-to-cart`: Products being
|
1408
1415
|
# added to cart. * `category-page-view`: Special pages such as sale or promotion
|
1409
|
-
# pages viewed. * `
|
1410
|
-
# view`:
|
1411
|
-
# * `promotion-
|
1412
|
-
#
|
1413
|
-
#
|
1416
|
+
# pages viewed. * `completion`: Completion query result showed/clicked. * `
|
1417
|
+
# detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
|
1418
|
+
# viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
|
1419
|
+
# not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
|
1420
|
+
# finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
|
1421
|
+
# User viewing a shopping cart.
|
1414
1422
|
# Corresponds to the JSON property `eventType`
|
1415
1423
|
# @return [String]
|
1416
1424
|
attr_accessor :event_type
|
@@ -1620,9 +1628,10 @@ module Google
|
|
1620
1628
|
attr_accessor :direct_user_request
|
1621
1629
|
alias_method :direct_user_request?, :direct_user_request
|
1622
1630
|
|
1623
|
-
# The end user's IP address.
|
1624
|
-
#
|
1625
|
-
#
|
1631
|
+
# The end user's IP address. Required for getting SearchRespons.
|
1632
|
+
# sponsored_results. This field is used to extract location information for
|
1633
|
+
# personalization. This field must be either an IPv4 address (e.g. "104.133.9.80"
|
1634
|
+
# ) or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
|
1626
1635
|
# Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when
|
1627
1636
|
# using the JavaScript tag in UserEventService.CollectUserEvent or if
|
1628
1637
|
# direct_user_request is set.
|
@@ -1630,11 +1639,12 @@ module Google
|
|
1630
1639
|
# @return [String]
|
1631
1640
|
attr_accessor :ip_address
|
1632
1641
|
|
1633
|
-
# User agent as included in the HTTP header.
|
1634
|
-
#
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
#
|
1642
|
+
# User agent as included in the HTTP header. Required for getting SearchRespons.
|
1643
|
+
# sponsored_results. The field must be a UTF-8 encoded string with a length
|
1644
|
+
# limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
1645
|
+
# This should not be set when using the client side event reporting with GTM or
|
1646
|
+
# JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request
|
1647
|
+
# is set.
|
1638
1648
|
# Corresponds to the JSON property `userAgent`
|
1639
1649
|
# @return [String]
|
1640
1650
|
attr_accessor :user_agent
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210702"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.12.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: 2021-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Retail API V2. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.12.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|