google-apis-retail_v2beta 0.5.0 → 0.10.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: f1ddd8a575843fd27ccc2710a63f55373703250de5965b684da86d59f453db89
|
4
|
+
data.tar.gz: c1c1dc73189a171dc6adf5a0c6cd4e283d7077cd036a5acb7d0fa7a245de675a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9320083f37c84f9a7d4c97bfabb8be54ee6cde6309752e6c3a17d08b1488af008e1779fb41579a00729377d6247df633265d77ba28c9b4b777bb84d33f96c07a
|
7
|
+
data.tar.gz: 43e06734bfedb78d744aca9168d3efa834b69e0710938fd82102d363dfef994b45631455eff650710d948e41fe7f639128dc68d3aee871a704826f928c82331c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.10.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210614
|
6
|
+
|
7
|
+
### v0.9.0 (2021-06-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210528
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.8.0 (2021-05-22)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210514
|
15
|
+
* Unspecified changes
|
16
|
+
|
17
|
+
### v0.7.0 (2021-05-11)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20210430
|
20
|
+
|
21
|
+
### v0.6.0 (2021-04-02)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210326
|
24
|
+
|
3
25
|
### v0.5.0 (2021-03-20)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210312
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V2beta'
|
33
33
|
|
34
|
-
#
|
34
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
@@ -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
|
@@ -839,8 +840,8 @@ module Google
|
|
839
840
|
# @return [String]
|
840
841
|
attr_accessor :gcs_staging_dir
|
841
842
|
|
842
|
-
# The project
|
843
|
-
# length limit of 128 characters. If not specified, inherits the project
|
843
|
+
# The project ID (can be project # or ID) that the BigQuery source is in with a
|
844
|
+
# length limit of 128 characters. If not specified, inherits the project ID from
|
844
845
|
# the parent request.
|
845
846
|
# Corresponds to the JSON property `projectId`
|
846
847
|
# @return [String]
|
@@ -1043,7 +1044,7 @@ module Google
|
|
1043
1044
|
# product imports: * `product` (default): One JSON Product per line. Each
|
1044
1045
|
# product must have a valid Product.id. * `product_merchant_center`: See [
|
1045
1046
|
# Importing catalog data from Merchant Center](https://cloud.google.com/retail/
|
1046
|
-
# recommendations-ai/docs/upload-catalog#
|
1047
|
+
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
1047
1048
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
1048
1049
|
# user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?
|
1049
1050
|
# hl=en.
|
@@ -1056,8 +1057,8 @@ module Google
|
|
1056
1057
|
# bucket/directory/object.json`) or a pattern matching one or more files, such
|
1057
1058
|
# as `gs://bucket/directory/*.json`. A request can contain at most 100 files,
|
1058
1059
|
# and each file can be up to 2 GB. See [Importing product information](https://
|
1059
|
-
# cloud.google.com/recommendations-ai/docs/upload-catalog) for the
|
1060
|
-
# format and setup instructions.
|
1060
|
+
# cloud.google.com/retail/recommendations-ai/docs/upload-catalog) for the
|
1061
|
+
# expected file format and setup instructions.
|
1061
1062
|
# Corresponds to the JSON property `inputUris`
|
1062
1063
|
# @return [Array<String>]
|
1063
1064
|
attr_accessor :input_uris
|
@@ -1337,12 +1338,17 @@ module Google
|
|
1337
1338
|
# @return [String]
|
1338
1339
|
attr_accessor :filter
|
1339
1340
|
|
1340
|
-
# The labels
|
1341
|
-
#
|
1342
|
-
#
|
1343
|
-
#
|
1344
|
-
#
|
1345
|
-
#
|
1341
|
+
# The labels applied to a resource must meet the following requirements: * Each
|
1342
|
+
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
1343
|
+
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
1344
|
+
# length of 63 characters, and cannot be empty. Values can be empty, and have a
|
1345
|
+
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
1346
|
+
# letters, numeric characters, underscores, and dashes. All characters must use
|
1347
|
+
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
1348
|
+
# a label must be unique. However, you can use the same key with multiple
|
1349
|
+
# resources. * Keys must start with a lowercase letter or international
|
1350
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
1351
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
1346
1352
|
# Corresponds to the JSON property `labels`
|
1347
1353
|
# @return [Hash<String,String>]
|
1348
1354
|
attr_accessor :labels
|
@@ -1369,7 +1375,14 @@ module Google
|
|
1369
1375
|
# being clicked/purchased given the user's context and history. * `
|
1370
1376
|
# strictFiltering`: Boolean. True by default. If set to false, the service will
|
1371
1377
|
# return generic (unfiltered) popular products instead of empty if your filter
|
1372
|
-
# blocks all prediction results.
|
1378
|
+
# blocks all prediction results. * `priceRerankLevel`: String. Default empty. If
|
1379
|
+
# set to be non-empty, then it needs to be one of `'no-price-reranking', 'low-
|
1380
|
+
# price-reranking', 'medium-price-reranking', 'high-price-reranking'`. This
|
1381
|
+
# gives request level control and adjust prediction results based on product
|
1382
|
+
# price. * `diversityLevel`: String. Default empty. If set to be non-empty, then
|
1383
|
+
# it needs to be one of `'no-diversity', 'low-diversity', 'medium-diversity', '
|
1384
|
+
# high-diversity', 'auto-diversity'`. This gives request level control and
|
1385
|
+
# adjust prediction results based on product category.
|
1373
1386
|
# Corresponds to the JSON property `params`
|
1374
1387
|
# @return [Hash<String,Object>]
|
1375
1388
|
attr_accessor :params
|
@@ -1533,7 +1546,7 @@ module Google
|
|
1533
1546
|
# product, or age of a customer. For example: `` "vendor": `"text": ["vendor123",
|
1534
1547
|
# "vendor456"]`, "lengths_cm": `"numbers":[2.3, 15.4]`, "heights_cm": `"numbers"
|
1535
1548
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
1536
|
-
# INVALID_ARGUMENT error is returned: * Max entries count:
|
1549
|
+
# INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100
|
1537
1550
|
# for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit
|
1538
1551
|
# of 128 characters.
|
1539
1552
|
# Corresponds to the JSON property `attributes`
|
@@ -1650,7 +1663,8 @@ module Google
|
|
1650
1663
|
# @return [String]
|
1651
1664
|
attr_accessor :title
|
1652
1665
|
|
1653
|
-
# Immutable. The type of the product.
|
1666
|
+
# Immutable. The type of the product. Default to Catalog.product_level_config.
|
1667
|
+
# ingestion_product_type if unset.
|
1654
1668
|
# Corresponds to the JSON property `type`
|
1655
1669
|
# @return [String]
|
1656
1670
|
attr_accessor :type
|
@@ -1783,8 +1797,8 @@ module Google
|
|
1783
1797
|
# this field is set to an invalid value other than these, an INVALID_ARGUMENT
|
1784
1798
|
# error is returned. If this field is `variant` and
|
1785
1799
|
# merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error
|
1786
|
-
# is returned. See [Using
|
1787
|
-
# catalog#
|
1800
|
+
# is returned. See [Using product levels](https://cloud.google.com/retail/
|
1801
|
+
# recommendations-ai/docs/catalog#product-levels) for more details.
|
1788
1802
|
# Corresponds to the JSON property `ingestionProductType`
|
1789
1803
|
# @return [String]
|
1790
1804
|
attr_accessor :ingestion_product_type
|
@@ -1797,8 +1811,8 @@ module Google
|
|
1797
1811
|
# the item group. If this field is set to an invalid value other than these, an
|
1798
1812
|
# INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and
|
1799
1813
|
# ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned.
|
1800
|
-
# See [Using
|
1801
|
-
# levels) for more details.
|
1814
|
+
# See [Using product levels](https://cloud.google.com/retail/recommendations-ai/
|
1815
|
+
# docs/catalog#product-levels) for more details.
|
1802
1816
|
# Corresponds to the JSON property `merchantCenterProductIdField`
|
1803
1817
|
# @return [String]
|
1804
1818
|
attr_accessor :merchant_center_product_id_field
|
@@ -2033,11 +2047,12 @@ module Google
|
|
2033
2047
|
|
2034
2048
|
# Required. User event type. Allowed values are: * `add-to-cart`: Products being
|
2035
2049
|
# added to cart. * `category-page-view`: Special pages such as sale or promotion
|
2036
|
-
# pages viewed. * `
|
2037
|
-
# view`:
|
2038
|
-
# * `promotion-
|
2039
|
-
#
|
2040
|
-
#
|
2050
|
+
# pages viewed. * `completion`: Completion query result showed/clicked. * `
|
2051
|
+
# detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
|
2052
|
+
# viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
|
2053
|
+
# not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
|
2054
|
+
# finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
|
2055
|
+
# User viewing a shopping cart.
|
2041
2056
|
# Corresponds to the JSON property `eventType`
|
2042
2057
|
# @return [String]
|
2043
2058
|
attr_accessor :event_type
|
@@ -2124,7 +2139,9 @@ module Google
|
|
2124
2139
|
# a visitor on a single device. This unique identifier should not change if the
|
2125
2140
|
# visitor log in/out of the website. The field must be a UTF-8 encoded string
|
2126
2141
|
# with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
|
2127
|
-
# returned.
|
2142
|
+
# returned. The field should not contain PII or user-data. We recommend to use
|
2143
|
+
# Google Analystics [Client ID](https://developers.google.com/analytics/
|
2144
|
+
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
2128
2145
|
# Corresponds to the JSON property `visitorId`
|
2129
2146
|
# @return [String]
|
2130
2147
|
attr_accessor :visitor_id
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.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
|
@@ -100,10 +100,8 @@ module Google
|
|
100
100
|
# Required. Immutable. The fully qualified resource name of the catalog.
|
101
101
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalog] google_cloud_retail_v2beta_catalog_object
|
102
102
|
# @param [String] update_mask
|
103
|
-
# Indicates which fields in the provided Catalog to update. If
|
104
|
-
#
|
105
|
-
# currently supported field to update. If an unsupported or unknown field is
|
106
|
-
# provided, an INVALID_ARGUMENT error is returned.
|
103
|
+
# Indicates which fields in the provided Catalog to update. If an unsupported or
|
104
|
+
# unknown field is provided, an INVALID_ARGUMENT error is returned.
|
107
105
|
# @param [String] fields
|
108
106
|
# Selector specifying which fields to include in a partial response.
|
109
107
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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 V2beta. 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_v2beta/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2beta
|
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 V2beta
|