google-apis-retail_v2 0.14.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/retail_v2/classes.rb +44 -41
- data/lib/google/apis/retail_v2/gem_version.rb +2 -2
- data/lib/google/apis/retail_v2/service.rb +2 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 407fc1823f60a7eb0c8219df2c1b87639884ccfe4e74bbc48bff918275042e23
|
4
|
+
data.tar.gz: 2672dfa81cd204a9fa78f6adf03b064e7d1964ec767365926d7c648b62966f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34f5e60c5182e8d22c6f127224a93145e08bd5dcf28d85a49f9dc514b436241824947578e4168c68c6b38ea2fb1a2a0b141e539093e4e71220c666fffd53834d
|
7
|
+
data.tar.gz: 4b752ea7e00a59861cc2ae33e557d1167c4f344011ffad168c914fb064205974b509e376db5da1af9891b58e92bef023c5841a1c9fc6d3dff42f7a32364616e9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-retail_v2
|
2
2
|
|
3
|
+
### v0.18.0 (2021-10-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211011
|
6
|
+
|
7
|
+
### v0.17.0 (2021-10-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210930
|
10
|
+
|
11
|
+
### v0.16.0 (2021-09-25)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210924
|
14
|
+
|
15
|
+
### v0.15.0 (2021-09-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210906
|
18
|
+
|
3
19
|
### v0.14.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210819
|
@@ -307,8 +307,8 @@ module Google
|
|
307
307
|
|
308
308
|
# If set to true, and the Product is not found, the fulfillment information will
|
309
309
|
# still be processed and retained for at most 1 day and processed once the
|
310
|
-
# Product is created. If set to false,
|
311
|
-
#
|
310
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
311
|
+
# Product is not found.
|
312
312
|
# Corresponds to the JSON property `allowMissing`
|
313
313
|
# @return [Boolean]
|
314
314
|
attr_accessor :allow_missing
|
@@ -350,8 +350,8 @@ module Google
|
|
350
350
|
end
|
351
351
|
end
|
352
352
|
|
353
|
-
# Response of the
|
354
|
-
#
|
353
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
354
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
355
355
|
class GoogleCloudRetailV2AddFulfillmentPlacesResponse
|
356
356
|
include Google::Apis::Core::Hashable
|
357
357
|
|
@@ -524,8 +524,8 @@ module Google
|
|
524
524
|
# The color display names, which may be different from standard color family
|
525
525
|
# names, such as the color aliases used in the website frontend. Normally it is
|
526
526
|
# expected to have only 1 color. May consider using single "Mixed" instead of
|
527
|
-
# multiple values. A maximum of
|
528
|
-
# encoded string with a length limit of 128 characters. Otherwise, an
|
527
|
+
# multiple values. A maximum of 25 colors are allowed. Each value must be a UTF-
|
528
|
+
# 8 encoded string with a length limit of 128 characters. Otherwise, an
|
529
529
|
# INVALID_ARGUMENT error is returned. Google Merchant Center property [color](
|
530
530
|
# https://support.google.com/merchants/answer/6324487). Schema.org property [
|
531
531
|
# Product.color](https://schema.org/color).
|
@@ -741,8 +741,8 @@ module Google
|
|
741
741
|
|
742
742
|
# The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-
|
743
743
|
# in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A
|
744
|
-
# maximum of
|
745
|
-
# limit of
|
744
|
+
# maximum of 3000 values are allowed. Each value must be a string with a length
|
745
|
+
# limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1"
|
746
746
|
# or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
|
747
747
|
# Corresponds to the JSON property `placeIds`
|
748
748
|
# @return [Array<String>]
|
@@ -1615,8 +1615,10 @@ module Google
|
|
1615
1615
|
# The timestamp when this product becomes unavailable for SearchService.Search.
|
1616
1616
|
# If it is set, the Product is not available for SearchService.Search after
|
1617
1617
|
# expire_time. However, the product can still be retrieved by ProductService.
|
1618
|
-
# GetProduct and ProductService.ListProducts.
|
1619
|
-
#
|
1618
|
+
# GetProduct and ProductService.ListProducts. expire_time must be later than
|
1619
|
+
# available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
|
1620
|
+
# Google Merchant Center property [expiration_date](https://support.google.com/
|
1621
|
+
# merchants/answer/6324499).
|
1620
1622
|
# Corresponds to the JSON property `expireTime`
|
1621
1623
|
# @return [String]
|
1622
1624
|
attr_accessor :expire_time
|
@@ -1682,7 +1684,6 @@ module Google
|
|
1682
1684
|
|
1683
1685
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1684
1686
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
1685
|
-
# The branch ID must be "default_branch".
|
1686
1687
|
# Corresponds to the JSON property `name`
|
1687
1688
|
# @return [String]
|
1688
1689
|
attr_accessor :name
|
@@ -2244,8 +2245,8 @@ module Google
|
|
2244
2245
|
|
2245
2246
|
# If set to true, and the Product is not found, the fulfillment information will
|
2246
2247
|
# still be processed and retained for at most 1 day and processed once the
|
2247
|
-
# Product is created. If set to false,
|
2248
|
-
#
|
2248
|
+
# Product is created. If set to false, a NOT_FOUND error is returned if the
|
2249
|
+
# Product is not found.
|
2249
2250
|
# Corresponds to the JSON property `allowMissing`
|
2250
2251
|
# @return [Boolean]
|
2251
2252
|
attr_accessor :allow_missing
|
@@ -2346,9 +2347,9 @@ module Google
|
|
2346
2347
|
|
2347
2348
|
# The filter syntax consists of an expression language for constructing a
|
2348
2349
|
# predicate from one or more fields of the products being filtered. Filter
|
2349
|
-
# expression is case-sensitive. See more details at this [user guide](
|
2350
|
-
#
|
2351
|
-
# INVALID_ARGUMENT is returned.
|
2350
|
+
# expression is case-sensitive. See more details at this [user guide](https://
|
2351
|
+
# cloud.google.com/retail/docs/filter-and-order#filter). If this field is
|
2352
|
+
# unrecognizable, an INVALID_ARGUMENT is returned.
|
2352
2353
|
# Corresponds to the JSON property `filter`
|
2353
2354
|
# @return [String]
|
2354
2355
|
attr_accessor :filter
|
@@ -2363,9 +2364,9 @@ module Google
|
|
2363
2364
|
|
2364
2365
|
# The order in which products are returned. Products can be ordered by a field
|
2365
2366
|
# in an Product object. Leave it unset if ordered by relevance. OrderBy
|
2366
|
-
# expression is case-sensitive. See more details at this [user guide](
|
2367
|
-
#
|
2368
|
-
# INVALID_ARGUMENT is returned.
|
2367
|
+
# expression is case-sensitive. See more details at this [user guide](https://
|
2368
|
+
# cloud.google.com/retail/docs/filter-and-order#order). If this field is
|
2369
|
+
# unrecognizable, an INVALID_ARGUMENT is returned.
|
2369
2370
|
# Corresponds to the JSON property `orderBy`
|
2370
2371
|
# @return [String]
|
2371
2372
|
attr_accessor :order_by
|
@@ -2419,16 +2420,17 @@ module Google
|
|
2419
2420
|
# and a fulfillment ID must be provided in the format of "fulfillmentType.
|
2420
2421
|
# fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
|
2421
2422
|
# fulfillment type and "store123" is the store ID. Supported keys are: *
|
2422
|
-
# colorFamilies * price * originalPrice * discount *
|
2423
|
-
# is any key in the Product.attributes map. *
|
2424
|
-
#
|
2425
|
-
# shipToStore.id, where id is any
|
2426
|
-
# type "ship-to-store". *
|
2427
|
-
#
|
2428
|
-
#
|
2429
|
-
#
|
2430
|
-
#
|
2431
|
-
#
|
2423
|
+
# colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
|
2424
|
+
# attributes.key, where key is any key in the Product.attributes map. *
|
2425
|
+
# pickupInStore.id, where id is any FulfillmentInfo.place_ids for
|
2426
|
+
# FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
|
2427
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
|
2428
|
+
# sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
|
2429
|
+
# FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
|
2430
|
+
# any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
|
2431
|
+
# customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
|
2432
|
+
# FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
|
2433
|
+
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
|
2432
2434
|
# customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
|
2433
2435
|
# FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
|
2434
2436
|
# FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
|
@@ -2646,7 +2648,8 @@ module Google
|
|
2646
2648
|
# * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
|
2647
2649
|
# customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
|
2648
2650
|
# customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
|
2649
|
-
# discount" * "rating" * "ratingCount" * "attributes.key"
|
2651
|
+
# discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
|
2652
|
+
# price)"
|
2650
2653
|
# Corresponds to the JSON property `key`
|
2651
2654
|
# @return [String]
|
2652
2655
|
attr_accessor :key
|
@@ -2885,7 +2888,7 @@ module Google
|
|
2885
2888
|
alias_method :expanded_query?, :expanded_query
|
2886
2889
|
|
2887
2890
|
# Number of pinned results. This field will only be set when expansion happens
|
2888
|
-
# and SearchRequest.
|
2891
|
+
# and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.
|
2889
2892
|
# Corresponds to the JSON property `pinnedResultCount`
|
2890
2893
|
# @return [Fixnum]
|
2891
2894
|
attr_accessor :pinned_result_count
|
@@ -3011,8 +3014,8 @@ module Google
|
|
3011
3014
|
|
3012
3015
|
# If set to true, and the Product with name Product.name is not found, the
|
3013
3016
|
# inventory update will still be processed and retained for at most 1 day until
|
3014
|
-
# the Product is created. If set to false,
|
3015
|
-
#
|
3017
|
+
# the Product is created. If set to false, a NOT_FOUND error is returned if the
|
3018
|
+
# Product is not found.
|
3016
3019
|
# Corresponds to the JSON property `allowMissing`
|
3017
3020
|
# @return [Boolean]
|
3018
3021
|
attr_accessor :allow_missing
|
@@ -3096,7 +3099,7 @@ module Google
|
|
3096
3099
|
# @return [String]
|
3097
3100
|
attr_accessor :attribution_token
|
3098
3101
|
|
3099
|
-
# The
|
3102
|
+
# The ID or name of the associated shopping cart. This ID is used to associate
|
3100
3103
|
# multiple items added or present in the cart before purchase. This can only be
|
3101
3104
|
# set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view`
|
3102
3105
|
# events.
|
@@ -3177,7 +3180,7 @@ module Google
|
|
3177
3180
|
# @return [Array<String>]
|
3178
3181
|
attr_accessor :page_categories
|
3179
3182
|
|
3180
|
-
# A unique
|
3183
|
+
# A unique ID of a web page view. This should be kept the same for all user
|
3181
3184
|
# events triggered from the same pageview. For example, an item detail page view
|
3182
3185
|
# could trigger multiple events as the user is browsing the page. The `
|
3183
3186
|
# pageViewId` property should be kept the same for all these events so that they
|
@@ -3191,11 +3194,11 @@ module Google
|
|
3191
3194
|
# The main product details related to the event. This field is required for the
|
3192
3195
|
# following event types: * `add-to-cart` * `detail-page-view` * `purchase-
|
3193
3196
|
# complete` In a `search` event, this field represents the products returned to
|
3194
|
-
# the end user on the current page (the end user may have not finished
|
3197
|
+
# the end user on the current page (the end user may have not finished browsing
|
3195
3198
|
# the whole page yet). When a new page is returned to the end user, after
|
3196
3199
|
# pagination/filtering/ordering even for the same query, a new `search` event
|
3197
3200
|
# with different product_details is desired. The end user may have not finished
|
3198
|
-
#
|
3201
|
+
# browsing the whole page yet.
|
3199
3202
|
# Corresponds to the JSON property `productDetails`
|
3200
3203
|
# @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail>]
|
3201
3204
|
attr_accessor :product_details
|
@@ -3431,8 +3434,8 @@ module Google
|
|
3431
3434
|
end
|
3432
3435
|
end
|
3433
3436
|
|
3434
|
-
# Response of the
|
3435
|
-
#
|
3437
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
3438
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
3436
3439
|
class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
|
3437
3440
|
include Google::Apis::Core::Hashable
|
3438
3441
|
|
@@ -3872,8 +3875,8 @@ module Google
|
|
3872
3875
|
end
|
3873
3876
|
end
|
3874
3877
|
|
3875
|
-
# Response of the
|
3876
|
-
#
|
3878
|
+
# Response of the AddFulfillmentPlacesRequest. Currently empty because there is
|
3879
|
+
# no meaningful response populated from the AddFulfillmentPlaces method.
|
3877
3880
|
class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
|
3878
3881
|
include Google::Apis::Core::Hashable
|
3879
3882
|
|
@@ -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.18.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 = "20211011"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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::RetailV2::GoogleCloudRetailV2Product] google_cloud_retail_v2_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::RetailV2::GoogleCloudRetailV2SetInventoryRequest] google_cloud_retail_v2_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::RetailV2::GoogleCloudRetailV2SearchRequest] google_cloud_retail_v2_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_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|