google-apis-retail_v2 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 +23 -0
- data/lib/google/apis/retail_v2/classes.rb +48 -30
- data/lib/google/apis/retail_v2/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: 7a048d60f159e6e10ce57467be3e3ac3d3b4f041cfefd5b9e0017863d3e0f65a
|
4
|
+
data.tar.gz: 321b52a96e3311687f4cca7ffc17540de7c59ae9317c377ea5fd20678854814b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575bf31dc62f076ec1bdbc7ebaa8a97962979280493bc087842fc75683fac12d3923e6661acd0a2e1fb5e4453c0b38f85fe4aac9ae90bf14c779da5c7d702696
|
7
|
+
data.tar.gz: 8de8d62eee3b4751d8d4525359a8dd824246545a1add9c0d482d170a1ccbc6eb722754e9a15416935cf4f6d26216a0861207c6a360ba358f024884d487534c30
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.11.0 (2021-07-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210625
|
6
|
+
* Regenerated using generator version 0.4.0
|
7
|
+
|
8
|
+
### v0.10.0 (2021-06-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210614
|
11
|
+
|
12
|
+
### v0.9.0 (2021-06-07)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210528
|
15
|
+
* Regenerated using generator version 0.3.0
|
16
|
+
|
17
|
+
### v0.8.0 (2021-05-22)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20210514
|
20
|
+
* Unspecified changes
|
21
|
+
|
22
|
+
### v0.7.0 (2021-05-11)
|
23
|
+
|
24
|
+
* Regenerated from discovery document revision 20210430
|
25
|
+
|
3
26
|
### v0.6.0 (2021-04-02)
|
4
27
|
|
5
28
|
* 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
|
@@ -307,8 +308,8 @@ module Google
|
|
307
308
|
# @return [String]
|
308
309
|
attr_accessor :gcs_staging_dir
|
309
310
|
|
310
|
-
# The project
|
311
|
-
# length limit of 128 characters. If not specified, inherits the project
|
311
|
+
# The project ID (can be project # or ID) that the BigQuery source is in with a
|
312
|
+
# length limit of 128 characters. If not specified, inherits the project ID from
|
312
313
|
# the parent request.
|
313
314
|
# Corresponds to the JSON property `projectId`
|
314
315
|
# @return [String]
|
@@ -409,7 +410,7 @@ module Google
|
|
409
410
|
# product imports: * `product` (default): One JSON Product per line. Each
|
410
411
|
# product must have a valid Product.id. * `product_merchant_center`: See [
|
411
412
|
# Importing catalog data from Merchant Center](https://cloud.google.com/retail/
|
412
|
-
# recommendations-ai/docs/upload-catalog#
|
413
|
+
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
413
414
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
414
415
|
# user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?
|
415
416
|
# hl=en.
|
@@ -422,8 +423,8 @@ module Google
|
|
422
423
|
# bucket/directory/object.json`) or a pattern matching one or more files, such
|
423
424
|
# as `gs://bucket/directory/*.json`. A request can contain at most 100 files,
|
424
425
|
# and each file can be up to 2 GB. See [Importing product information](https://
|
425
|
-
# cloud.google.com/recommendations-ai/docs/upload-catalog) for the
|
426
|
-
# format and setup instructions.
|
426
|
+
# cloud.google.com/retail/recommendations-ai/docs/upload-catalog) for the
|
427
|
+
# expected file format and setup instructions.
|
427
428
|
# Corresponds to the JSON property `inputUris`
|
428
429
|
# @return [Array<String>]
|
429
430
|
attr_accessor :input_uris
|
@@ -703,12 +704,17 @@ module Google
|
|
703
704
|
# @return [String]
|
704
705
|
attr_accessor :filter
|
705
706
|
|
706
|
-
# The labels
|
707
|
-
#
|
708
|
-
#
|
709
|
-
#
|
710
|
-
#
|
711
|
-
#
|
707
|
+
# The labels applied to a resource must meet the following requirements: * Each
|
708
|
+
# resource can have multiple labels, up to a maximum of 64. * Each label must be
|
709
|
+
# a key-value pair. * Keys have a minimum length of 1 character and a maximum
|
710
|
+
# length of 63 characters, and cannot be empty. Values can be empty, and have a
|
711
|
+
# maximum length of 63 characters. * Keys and values can contain only lowercase
|
712
|
+
# letters, numeric characters, underscores, and dashes. All characters must use
|
713
|
+
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
714
|
+
# a label must be unique. However, you can use the same key with multiple
|
715
|
+
# resources. * Keys must start with a lowercase letter or international
|
716
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
717
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
712
718
|
# Corresponds to the JSON property `labels`
|
713
719
|
# @return [Hash<String,String>]
|
714
720
|
attr_accessor :labels
|
@@ -735,7 +741,14 @@ module Google
|
|
735
741
|
# being clicked/purchased given the user's context and history. * `
|
736
742
|
# strictFiltering`: Boolean. True by default. If set to false, the service will
|
737
743
|
# return generic (unfiltered) popular products instead of empty if your filter
|
738
|
-
# 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.
|
739
752
|
# Corresponds to the JSON property `params`
|
740
753
|
# @return [Hash<String,Object>]
|
741
754
|
attr_accessor :params
|
@@ -899,7 +912,7 @@ module Google
|
|
899
912
|
# product, or age of a customer. For example: `` "vendor": `"text": ["vendor123",
|
900
913
|
# "vendor456"]`, "lengths_cm": `"numbers":[2.3, 15.4]`, "heights_cm": `"numbers"
|
901
914
|
# :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
|
902
|
-
# INVALID_ARGUMENT error is returned: * Max entries count:
|
915
|
+
# INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100
|
903
916
|
# for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit
|
904
917
|
# of 128 characters.
|
905
918
|
# Corresponds to the JSON property `attributes`
|
@@ -1016,8 +1029,8 @@ module Google
|
|
1016
1029
|
# @return [String]
|
1017
1030
|
attr_accessor :title
|
1018
1031
|
|
1019
|
-
# Immutable. The type of the product.
|
1020
|
-
#
|
1032
|
+
# Immutable. The type of the product. Default to Catalog.product_level_config.
|
1033
|
+
# ingestion_product_type if unset.
|
1021
1034
|
# Corresponds to the JSON property `type`
|
1022
1035
|
# @return [String]
|
1023
1036
|
attr_accessor :type
|
@@ -1400,11 +1413,12 @@ module Google
|
|
1400
1413
|
|
1401
1414
|
# Required. User event type. Allowed values are: * `add-to-cart`: Products being
|
1402
1415
|
# added to cart. * `category-page-view`: Special pages such as sale or promotion
|
1403
|
-
# pages viewed. * `
|
1404
|
-
# view`:
|
1405
|
-
# * `promotion-
|
1406
|
-
#
|
1407
|
-
#
|
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.
|
1408
1422
|
# Corresponds to the JSON property `eventType`
|
1409
1423
|
# @return [String]
|
1410
1424
|
attr_accessor :event_type
|
@@ -1491,7 +1505,9 @@ module Google
|
|
1491
1505
|
# a visitor on a single device. This unique identifier should not change if the
|
1492
1506
|
# visitor log in/out of the website. The field must be a UTF-8 encoded string
|
1493
1507
|
# with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
|
1494
|
-
# returned.
|
1508
|
+
# returned. The field should not contain PII or user-data. We recommend to use
|
1509
|
+
# Google Analystics [Client ID](https://developers.google.com/analytics/
|
1510
|
+
# devguides/collection/analyticsjs/field-reference#clientId) for this field.
|
1495
1511
|
# Corresponds to the JSON property `visitorId`
|
1496
1512
|
# @return [String]
|
1497
1513
|
attr_accessor :visitor_id
|
@@ -1612,9 +1628,10 @@ module Google
|
|
1612
1628
|
attr_accessor :direct_user_request
|
1613
1629
|
alias_method :direct_user_request?, :direct_user_request
|
1614
1630
|
|
1615
|
-
# The end user's IP address.
|
1616
|
-
#
|
1617
|
-
#
|
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").
|
1618
1635
|
# Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when
|
1619
1636
|
# using the JavaScript tag in UserEventService.CollectUserEvent or if
|
1620
1637
|
# direct_user_request is set.
|
@@ -1622,11 +1639,12 @@ module Google
|
|
1622
1639
|
# @return [String]
|
1623
1640
|
attr_accessor :ip_address
|
1624
1641
|
|
1625
|
-
# User agent as included in the HTTP header.
|
1626
|
-
#
|
1627
|
-
#
|
1628
|
-
#
|
1629
|
-
#
|
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.
|
1630
1648
|
# Corresponds to the JSON property `userAgent`
|
1631
1649
|
# @return [String]
|
1632
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.11.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 = "20210625"
|
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.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-07-05 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.11.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: []
|
@@ -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 V2
|