google-apis-retail_v2beta 0.15.0 → 0.19.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/retail_v2beta/classes.rb +45 -34
- data/lib/google/apis/retail_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2beta/representations.rb +1 -0
- data/lib/google/apis/retail_v2beta/service.rb +2 -5
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7d15d05d3a8d805fe4e2bb098670c6e91ca1ecda14c338c409573b2477f77e4
|
4
|
+
data.tar.gz: 66b541010c5ed88e07e9b7b4b3255679179c2c81737c9a646594bb89b1f25207
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 153c8d0c9290de93b4e3d453e2bb2c3bafe24f805df11e06e347034adef7d81749fd74198d2b76a90bcb983401381bf7bac902ea64578e296f60f06a151518c9
|
7
|
+
data.tar.gz: 87079c1602dca343cea8498a1a215bdb512e6beb9f30f989bc30061bcfbc39f079c78038a65c0785672bcdeea228c8c825ad8e082d84a389a728e62ba97a0167
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.19.0 (2021-10-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211021
|
6
|
+
|
7
|
+
### v0.18.0 (2021-10-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211011
|
10
|
+
|
11
|
+
### v0.17.0 (2021-10-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210930
|
14
|
+
|
15
|
+
### v0.16.0 (2021-09-25)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210924
|
18
|
+
|
3
19
|
### v0.15.0 (2021-09-08)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210906
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Retail service in particular.)
|
67
67
|
|
@@ -294,8 +294,8 @@ module Google
|
|
294
294
|
end
|
295
295
|
end
|
296
296
|
|
297
|
-
# Response of the
|
298
|
-
#
|
297
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
298
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
299
299
|
class GoogleCloudRetailV2AddFulfillmentPlacesResponse
|
300
300
|
include Google::Apis::Core::Hashable
|
301
301
|
|
@@ -633,8 +633,8 @@ module Google
|
|
633
633
|
end
|
634
634
|
end
|
635
635
|
|
636
|
-
# Response of the
|
637
|
-
#
|
636
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
637
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
638
638
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
639
639
|
include Google::Apis::Core::Hashable
|
640
640
|
|
@@ -1087,8 +1087,8 @@ module Google
|
|
1087
1087
|
|
1088
1088
|
# If set to true, and the Product is not found, the fulfillment information will
|
1089
1089
|
# still be processed and retained for at most 1 day and processed once the
|
1090
|
-
# Product is created. If set to false,
|
1091
|
-
#
|
1090
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
1091
|
+
# Product is not found.
|
1092
1092
|
# Corresponds to the JSON property `allowMissing`
|
1093
1093
|
# @return [Boolean]
|
1094
1094
|
attr_accessor :allow_missing
|
@@ -1130,8 +1130,8 @@ module Google
|
|
1130
1130
|
end
|
1131
1131
|
end
|
1132
1132
|
|
1133
|
-
# Response of the
|
1134
|
-
#
|
1133
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
1134
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
1135
1135
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
1136
1136
|
include Google::Apis::Core::Hashable
|
1137
1137
|
|
@@ -1304,8 +1304,8 @@ module Google
|
|
1304
1304
|
# The color display names, which may be different from standard color family
|
1305
1305
|
# names, such as the color aliases used in the website frontend. Normally it is
|
1306
1306
|
# expected to have only 1 color. May consider using single "Mixed" instead of
|
1307
|
-
# multiple values. A maximum of
|
1308
|
-
# encoded string with a length limit of 128 characters. Otherwise, an
|
1307
|
+
# multiple values. A maximum of 25 colors are allowed. Each value must be a UTF-
|
1308
|
+
# 8 encoded string with a length limit of 128 characters. Otherwise, an
|
1309
1309
|
# INVALID_ARGUMENT error is returned. Google Merchant Center property [color](
|
1310
1310
|
# https://support.google.com/merchants/answer/6324487). Schema.org property [
|
1311
1311
|
# Product.color](https://schema.org/color).
|
@@ -2497,8 +2497,10 @@ module Google
|
|
2497
2497
|
# The timestamp when this product becomes unavailable for SearchService.Search.
|
2498
2498
|
# If it is set, the Product is not available for SearchService.Search after
|
2499
2499
|
# expire_time. However, the product can still be retrieved by ProductService.
|
2500
|
-
# GetProduct and ProductService.ListProducts.
|
2501
|
-
#
|
2500
|
+
# GetProduct and ProductService.ListProducts. expire_time must be later than
|
2501
|
+
# available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
|
2502
|
+
# Google Merchant Center property [expiration_date](https://support.google.com/
|
2503
|
+
# merchants/answer/6324499).
|
2502
2504
|
# Corresponds to the JSON property `expireTime`
|
2503
2505
|
# @return [String]
|
2504
2506
|
attr_accessor :expire_time
|
@@ -2564,7 +2566,6 @@ module Google
|
|
2564
2566
|
|
2565
2567
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
2566
2568
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
2567
|
-
# The branch ID must be "default_branch".
|
2568
2569
|
# Corresponds to the JSON property `name`
|
2569
2570
|
# @return [String]
|
2570
2571
|
attr_accessor :name
|
@@ -2668,12 +2669,13 @@ module Google
|
|
2668
2669
|
# @return [String]
|
2669
2670
|
attr_accessor :title
|
2670
2671
|
|
2671
|
-
# Input only. The TTL (time to live) of the product. If it is set,
|
2672
|
-
# is set as current timestamp plus ttl. The
|
2673
|
-
# the output and ttl is left blank when
|
2674
|
-
# the product is not available for
|
2675
|
-
# plus ttl. However, the product
|
2676
|
-
# GetProduct and ProductService.
|
2672
|
+
# Input only. The TTL (time to live) of the product. If it is set, it must be a
|
2673
|
+
# non-negative value, and expire_time is set as current timestamp plus ttl. The
|
2674
|
+
# derived expire_time is returned in the output and ttl is left blank when
|
2675
|
+
# retrieving the Product. If it is set, the product is not available for
|
2676
|
+
# SearchService.Search after current timestamp plus ttl. However, the product
|
2677
|
+
# can still be retrieved by ProductService.GetProduct and ProductService.
|
2678
|
+
# ListProducts.
|
2677
2679
|
# Corresponds to the JSON property `ttl`
|
2678
2680
|
# @return [String]
|
2679
2681
|
attr_accessor :ttl
|
@@ -3126,8 +3128,8 @@ module Google
|
|
3126
3128
|
|
3127
3129
|
# If set to true, and the Product is not found, the fulfillment information will
|
3128
3130
|
# still be processed and retained for at most 1 day and processed once the
|
3129
|
-
# Product is created. If set to false,
|
3130
|
-
#
|
3131
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
3132
|
+
# Product is not found.
|
3131
3133
|
# Corresponds to the JSON property `allowMissing`
|
3132
3134
|
# @return [Boolean]
|
3133
3135
|
attr_accessor :allow_missing
|
@@ -3289,6 +3291,12 @@ module Google
|
|
3289
3291
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec]
|
3290
3292
|
attr_accessor :query_expansion_spec
|
3291
3293
|
|
3294
|
+
# The search mode of the search request. If not specified, a single search
|
3295
|
+
# request triggers both product search and faceted search.
|
3296
|
+
# Corresponds to the JSON property `searchMode`
|
3297
|
+
# @return [String]
|
3298
|
+
attr_accessor :search_mode
|
3299
|
+
|
3292
3300
|
# Information of an end user.
|
3293
3301
|
# Corresponds to the JSON property `userInfo`
|
3294
3302
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
|
@@ -3301,16 +3309,17 @@ module Google
|
|
3301
3309
|
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
3302
3310
|
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
3303
3311
|
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
3304
|
-
# colorFamilies * price * originalPrice * discount *
|
3305
|
-
# is any key in the Product.attributes map. *
|
3306
|
-
#
|
3307
|
-
# shipToStore.id, where id is any
|
3308
|
-
# type "ship-to-store". *
|
3309
|
-
#
|
3310
|
-
#
|
3311
|
-
#
|
3312
|
-
#
|
3313
|
-
#
|
3312
|
+
# colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
|
3313
|
+
# attributes.key, where key is any key in the Product.attributes map. *
|
3314
|
+
# pickupInStore.id, where id is any FulfillmentInfo.place_ids for
|
3315
|
+
# FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
|
3316
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
|
3317
|
+
# sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
|
3318
|
+
# FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
|
3319
|
+
# any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
|
3320
|
+
# customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
|
3321
|
+
# FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
|
3322
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
|
3314
3323
|
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
3315
3324
|
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
3316
3325
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
@@ -3350,6 +3359,7 @@ module Google
|
|
3350
3359
|
@page_token = args[:page_token] if args.key?(:page_token)
|
3351
3360
|
@query = args[:query] if args.key?(:query)
|
3352
3361
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
3362
|
+
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
3353
3363
|
@user_info = args[:user_info] if args.key?(:user_info)
|
3354
3364
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
3355
3365
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -3528,7 +3538,8 @@ module Google
|
|
3528
3538
|
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
3529
3539
|
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
3530
3540
|
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
3531
|
-
# discount" * "rating" * "ratingCount" * "attributes.key"
|
3541
|
+
# discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
|
3542
|
+
# price)"
|
3532
3543
|
# Corresponds to the JSON property `key`
|
3533
3544
|
# @return [String]
|
3534
3545
|
attr_accessor :key
|
@@ -3893,8 +3904,8 @@ module Google
|
|
3893
3904
|
|
3894
3905
|
# If set to true, and the Product with name Product.name is not found, the
|
3895
3906
|
# inventory update will still be processed and retained for at most 1 day until
|
3896
|
-
# the Product is created. If set to false,
|
3897
|
-
#
|
3907
|
+
# the Product is created. If set to false, a NOT_FOUND error is returned if the
|
3908
|
+
# Product is not found.
|
3898
3909
|
# Corresponds to the JSON property `allowMissing`
|
3899
3910
|
# @return [Boolean]
|
3900
3911
|
attr_accessor :allow_missing
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211021"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1648,6 +1648,7 @@ module Google
|
|
1648
1648
|
property :query, as: 'query'
|
1649
1649
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec::Representation
|
1650
1650
|
|
1651
|
+
property :search_mode, as: 'searchMode'
|
1651
1652
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
|
1652
1653
|
|
1653
1654
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -589,7 +589,6 @@ module Google
|
|
589
589
|
# @param [String] name
|
590
590
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
591
591
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
592
|
-
# The branch ID must be "default_branch".
|
593
592
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct] google_cloud_retail_v2beta_product_object
|
594
593
|
# @param [Boolean] allow_missing
|
595
594
|
# If set to true, and the Product is not found, a new Product will be created.
|
@@ -697,7 +696,6 @@ module Google
|
|
697
696
|
# @param [String] name
|
698
697
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
699
698
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
700
|
-
# The branch ID must be "default_branch".
|
701
699
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSetInventoryRequest] google_cloud_retail_v2beta_set_inventory_request_object
|
702
700
|
# @param [String] fields
|
703
701
|
# Selector specifying which fields to include in a partial response.
|
@@ -888,9 +886,8 @@ module Google
|
|
888
886
|
# @param [String] placement
|
889
887
|
# Required. The resource name of the search engine placement, such as `projects/*
|
890
888
|
# /locations/global/catalogs/default_catalog/placements/default_search`. This
|
891
|
-
# field is used to identify the
|
892
|
-
#
|
893
|
-
# default_search`.
|
889
|
+
# field is used to identify the serving configuration name and the set of models
|
890
|
+
# that will be used to make the search.
|
894
891
|
# @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequest] google_cloud_retail_v2beta_search_request_object
|
895
892
|
# @param [String] fields
|
896
893
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.19.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.19.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|