google-apis-retail_v2beta 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e4c9b6f61716b441d9527107dae77e7e364ccfd6e10832d561126f96a51d552
4
- data.tar.gz: 345b2644a668eb1887d7ce956c7831305c121d8d6b15a2a35bdd00649607bebf
3
+ metadata.gz: bade106c80b97fded5acbd709fcab36e3dc7723667c5f1722de6ead5ac9d981a
4
+ data.tar.gz: ff639764226b8ef0d318af28cc6b7937d915289c1cbd7d9ab08d139765ba4ebf
5
5
  SHA512:
6
- metadata.gz: 7aa96ad3b9a65b3e619ff3b13085ac9b3d87fa45e997b8279ad171c742018e1c8c92f57c00778b75b7b08bdad043590682dc6c423435a5913abd27f6bb429c81
7
- data.tar.gz: 2c227135eaf42d1863271e4ed6fd6a12e0fcfd54a7987ea65fc7c3f421ed94370a144517fd4444c27a4120e85f80eb52949d2ec513cdc6fa3ec6da83baefa67f
6
+ metadata.gz: '0825792a3e45053be5fd7aa0ed3e729ecc593d05170e56940edc6eed4375d891a8716fca931fb93f55f02bde2cfd3ab15310d9c791f240a5839d862345e8662a'
7
+ data.tar.gz: 5a0de2ac1bfcf7f5e1aa0254a3076299cd79f34d783fe73e32e66e81b56eda8aa4197b464e4ebbb4f2d4f6e12f992a72185f8770caef179518be5f8b03971434
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release history for google-apis-retail_v2beta
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
- # GCS file path of the import source. Can be set for batch operation error.
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 id (can be project # or id) that the BigQuery source is in with a
843
- # length limit of 128 characters. If not specified, inherits the project id from
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#mcc). Supported values for user events
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 expected file
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 for the predict request. * Label keys can contain lowercase letters,
1341
- # digits and hyphens, must start with a letter, and must end with a letter or
1342
- # digit. * Non-zero label values can contain lowercase letters, digits and
1343
- # hyphens, must start with a letter, and must end with a letter or digit. * No
1344
- # more than 64 labels can be associated with a given request. See https://goo.gl/
1345
- # xmQnxf for more information on and examples of labels.
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 adjusts 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
+ # adjusts 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: 150 by default; 100
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,8 +1663,8 @@ module Google
1650
1663
  # @return [String]
1651
1664
  attr_accessor :title
1652
1665
 
1653
- # Immutable. The type of the product. This field is output-only. Default to
1654
- # Catalog.product_level_config.ingestion_product_type if unset.
1666
+ # Immutable. The type of the product. Default to Catalog.product_level_config.
1667
+ # ingestion_product_type if unset.
1655
1668
  # Corresponds to the JSON property `type`
1656
1669
  # @return [String]
1657
1670
  attr_accessor :type
@@ -2034,11 +2047,12 @@ module Google
2034
2047
 
2035
2048
  # Required. User event type. Allowed values are: * `add-to-cart`: Products being
2036
2049
  # added to cart. * `category-page-view`: Special pages such as sale or promotion
2037
- # pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-
2038
- # view`: Homepage viewed. * `promotion-offered`: Promotion is offered to a user.
2039
- # * `promotion-not-offered`: Promotion is not offered to a user. * `purchase-
2040
- # complete`: User finishing a purchase. * `search`: Product search. * `shopping-
2041
- # cart-page-view`: User viewing a shopping cart.
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.
2042
2056
  # Corresponds to the JSON property `eventType`
2043
2057
  # @return [String]
2044
2058
  attr_accessor :event_type
@@ -2125,7 +2139,9 @@ module Google
2125
2139
  # a visitor on a single device. This unique identifier should not change if the
2126
2140
  # visitor log in/out of the website. The field must be a UTF-8 encoded string
2127
2141
  # with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
2128
- # 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.
2129
2145
  # Corresponds to the JSON property `visitorId`
2130
2146
  # @return [String]
2131
2147
  attr_accessor :visitor_id
@@ -2246,9 +2262,10 @@ module Google
2246
2262
  attr_accessor :direct_user_request
2247
2263
  alias_method :direct_user_request?, :direct_user_request
2248
2264
 
2249
- # The end user's IP address. This field is used to extract location information
2250
- # for personalization. This field must be either an IPv4 address (e.g. "104.133.
2251
- # 9.80") or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
2265
+ # The end user's IP address. Required for getting SearchRespons.
2266
+ # sponsored_results. This field is used to extract location information for
2267
+ # personalization. This field must be either an IPv4 address (e.g. "104.133.9.80"
2268
+ # ) or an IPv6 address (e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334").
2252
2269
  # Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when
2253
2270
  # using the JavaScript tag in UserEventService.CollectUserEvent or if
2254
2271
  # direct_user_request is set.
@@ -2256,11 +2273,12 @@ module Google
2256
2273
  # @return [String]
2257
2274
  attr_accessor :ip_address
2258
2275
 
2259
- # User agent as included in the HTTP header. The field must be a UTF-8 encoded
2260
- # string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT
2261
- # error is returned. This should not be set when using the client side event
2262
- # reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or
2263
- # if direct_user_request is set.
2276
+ # User agent as included in the HTTP header. Required for getting SearchRespons.
2277
+ # sponsored_results. The field must be a UTF-8 encoded string with a length
2278
+ # limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
2279
+ # This should not be set when using the client side event reporting with GTM or
2280
+ # JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request
2281
+ # is set.
2264
2282
  # Corresponds to the JSON property `userAgent`
2265
2283
  # @return [String]
2266
2284
  attr_accessor :user_agent
@@ -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.6.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.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
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_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.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-04-05 00:00:00.000000000 Z
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.1'
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: '0.1'
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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.11.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.13
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