google-apis-retail_v2alpha 0.6.0 → 0.11.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 +22 -0
- data/lib/google/apis/retail_v2alpha/classes.rb +38 -22
- data/lib/google/apis/retail_v2alpha/gem_version.rb +3 -3
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f7da513e9128abf98203df9f1a288d25ce0d66debad715a5927be89f4b53eb5
|
4
|
+
data.tar.gz: 257aa84480f7213b13afb5f70952803f853572faa51fd3301f63a5333dec4003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ca547759706563833e1c9537c0c15a6112d2c8b25ebdeacfe874d0409a74d6f8bf907e9284d19d879a27ab708471613e44edfb9cf3d993d151e2f04d46b5dbd
|
7
|
+
data.tar.gz: 68097d4c311b16683cd83b14912b2d8ba4d93e1ed23c1c460a7e43000f4564bc31f7045199d2f3473cb8c6ac02b54d6e6d4f44a9a80f6df42089638fbb054037
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.11.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210614
|
6
|
+
|
7
|
+
### v0.10.0 (2021-06-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210528
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.9.0 (2021-05-28)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210521
|
15
|
+
|
16
|
+
### v0.8.0 (2021-05-22)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210514
|
19
|
+
* Unspecified changes
|
20
|
+
|
21
|
+
### v0.7.0 (2021-05-11)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210430
|
24
|
+
|
3
25
|
### v0.6.0 (2021-04-02)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210326
|
@@ -197,7 +197,8 @@ module Google
|
|
197
197
|
# @return [String]
|
198
198
|
attr_accessor :catalog_item
|
199
199
|
|
200
|
-
#
|
200
|
+
# Cloud Storage file path of the import source. Can be set for batch operation
|
201
|
+
# error.
|
201
202
|
# Corresponds to the JSON property `gcsPath`
|
202
203
|
# @return [String]
|
203
204
|
attr_accessor :gcs_path
|
@@ -522,8 +523,8 @@ module Google
|
|
522
523
|
# @return [String]
|
523
524
|
attr_accessor :gcs_staging_dir
|
524
525
|
|
525
|
-
# The project
|
526
|
-
# length limit of 128 characters. If not specified, inherits the project
|
526
|
+
# The project ID (can be project # or ID) that the BigQuery source is in with a
|
527
|
+
# length limit of 128 characters. If not specified, inherits the project ID from
|
527
528
|
# the parent request.
|
528
529
|
# Corresponds to the JSON property `projectId`
|
529
530
|
# @return [String]
|
@@ -726,7 +727,7 @@ module Google
|
|
726
727
|
# product imports: * `product` (default): One JSON Product per line. Each
|
727
728
|
# product must have a valid Product.id. * `product_merchant_center`: See [
|
728
729
|
# Importing catalog data from Merchant Center](https://cloud.google.com/retail/
|
729
|
-
# recommendations-ai/docs/upload-catalog#
|
730
|
+
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
730
731
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
731
732
|
# user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?
|
732
733
|
# hl=en.
|
@@ -739,8 +740,8 @@ module Google
|
|
739
740
|
# bucket/directory/object.json`) or a pattern matching one or more files, such
|
740
741
|
# as `gs://bucket/directory/*.json`. A request can contain at most 100 files,
|
741
742
|
# and each file can be up to 2 GB. See [Importing product information](https://
|
742
|
-
# cloud.google.com/recommendations-ai/docs/upload-catalog) for the
|
743
|
-
# format and setup instructions.
|
743
|
+
# cloud.google.com/retail/recommendations-ai/docs/upload-catalog) for the
|
744
|
+
# expected file format and setup instructions.
|
744
745
|
# Corresponds to the JSON property `inputUris`
|
745
746
|
# @return [Array<String>]
|
746
747
|
attr_accessor :input_uris
|
@@ -1020,12 +1021,17 @@ module Google
|
|
1020
1021
|
# @return [String]
|
1021
1022
|
attr_accessor :filter
|
1022
1023
|
|
1023
|
-
# The labels
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
#
|
1024
|
+
# The labels applied to a resource must meet the following requirements: * Each
|
1025
|
+
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
1026
|
+
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
1027
|
+
# length of 63 characters, and cannot be empty. Values can be empty, and have a
|
1028
|
+
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
1029
|
+
# letters, numeric characters, underscores, and dashes. All characters must use
|
1030
|
+
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
1031
|
+
# a label must be unique. However, you can use the same key with multiple
|
1032
|
+
# resources. * Keys must start with a lowercase letter or international
|
1033
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
1034
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
1029
1035
|
# Corresponds to the JSON property `labels`
|
1030
1036
|
# @return [Hash<String,String>]
|
1031
1037
|
attr_accessor :labels
|
@@ -1052,7 +1058,14 @@ module Google
|
|
1052
1058
|
# being clicked/purchased given the user's context and history. * `
|
1053
1059
|
# strictFiltering`: Boolean. True by default. If set to false, the service will
|
1054
1060
|
# return generic (unfiltered) popular products instead of empty if your filter
|
1055
|
-
# blocks all prediction results.
|
1061
|
+
# blocks all prediction results. * `priceRerankLevel`: String. Default empty. If
|
1062
|
+
# set to be non-empty, then it needs to be one of `'no-price-reranking', 'low-
|
1063
|
+
# price-reranking', 'medium-price-reranking', 'high-price-reranking'`. This
|
1064
|
+
# gives request level control and adjust prediction results based on product
|
1065
|
+
# price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
|
1066
|
+
# it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
|
1067
|
+
# high-diversity', 'auto-diversity'`. This gives request level control and
|
1068
|
+
# adjust prediction results based on product category.
|
1056
1069
|
# Corresponds to the JSON property `params`
|
1057
1070
|
# @return [Hash<String,Object>]
|
1058
1071
|
attr_accessor :params
|
@@ -1216,7 +1229,7 @@ module Google
|
|
1216
1229
|
# product, or age of a customer. For example: `` "vendor": `"text": ["vendor123",
|
1217
1230
|
# "vendor456"]`, "lengths_cm": `"numbers":[2.3, 15.4]`, "heights_cm": `"numbers"
|
1218
1231
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
1219
|
-
# INVALID_ARGUMENT error is returned: * Max entries count:
|
1232
|
+
# INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100
|
1220
1233
|
# for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit
|
1221
1234
|
# of 128 characters.
|
1222
1235
|
# Corresponds to the JSON property `attributes`
|
@@ -1333,8 +1346,8 @@ module Google
|
|
1333
1346
|
# @return [String]
|
1334
1347
|
attr_accessor :title
|
1335
1348
|
|
1336
|
-
# Immutable. The type of the product.
|
1337
|
-
#
|
1349
|
+
# Immutable. The type of the product. Default to Catalog.product_level_config.
|
1350
|
+
# ingestion_product_type if unset.
|
1338
1351
|
# Corresponds to the JSON property `type`
|
1339
1352
|
# @return [String]
|
1340
1353
|
attr_accessor :type
|
@@ -1717,11 +1730,12 @@ module Google
|
|
1717
1730
|
|
1718
1731
|
# Required. User event type. Allowed values are: * `add-to-cart`: Products being
|
1719
1732
|
# added to cart. * `category-page-view`: Special pages such as sale or promotion
|
1720
|
-
# pages viewed. * `
|
1721
|
-
# view`:
|
1722
|
-
# * `promotion-
|
1723
|
-
#
|
1724
|
-
#
|
1733
|
+
# pages viewed. * `completion`: Completion query result showed/clicked. * `
|
1734
|
+
# detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
|
1735
|
+
# viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
|
1736
|
+
# not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
|
1737
|
+
# finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
|
1738
|
+
# User viewing a shopping cart.
|
1725
1739
|
# Corresponds to the JSON property `eventType`
|
1726
1740
|
# @return [String]
|
1727
1741
|
attr_accessor :event_type
|
@@ -1808,7 +1822,9 @@ module Google
|
|
1808
1822
|
# a visitor on a single device. This unique identifier should not change if the
|
1809
1823
|
# visitor log in/out of the website. The field must be a UTF-8 encoded string
|
1810
1824
|
# with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
|
1811
|
-
# returned.
|
1825
|
+
# returned. The field should not contain PII or user-data. We recommend to use
|
1826
|
+
# Google Analystics [Client ID](https://developers.google.com/analytics/
|
1827
|
+
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
1812
1828
|
# Corresponds to the JSON property `visitorId`
|
1813
1829
|
# @return [String]
|
1814
1830
|
attr_accessor :visitor_id
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210614"
|
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_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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-06-28 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.3'
|
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.3'
|
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 V2alpha. 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_v2alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.11.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Retail API V2alpha
|