google-apis-retail_v2alpha 0.14.0 → 0.18.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: 124b77e227ad584c4e1cd230d72b1cc14aea9cb11878cca82d4ed5b69dc6c789
4
- data.tar.gz: 2ffa641222e07ed2f016b28773b73cc4901d5a57ad646cf6b5c1a10e83997ed3
3
+ metadata.gz: 979a61c9bea98add223463ecc7f69fee01ffdabe509ad4f1ca6c7242acff84e0
4
+ data.tar.gz: c37ce9a2688d841244edce7dfc3e10c2867d6b93f03b1945b67441d5a191f241
5
5
  SHA512:
6
- metadata.gz: e4cc827c473d958c584a6e91c91971fc856383672d989bb1b0d0771b07f02caa0ebd2eda092d29b4c3c736454b1ba464cae3edc2fe465cae1763894675eba59d
7
- data.tar.gz: 7af2fd3488519bc32f558061067051c56ad5c4a6e86d06ef84f78efcdef79eb598679ab31c7ad7e9abc4c59ab06c67813bcfe074abce950aa5ffd5e56a4aa76c
6
+ metadata.gz: d86fc2207b328b9a50f5b53b94438ac4852280ab070f69780222be68b7eee0134546b87cd2bde5dfb346b54fc4d07653b26fae59d6953935c646f29e684ce3fc
7
+ data.tar.gz: 51e70ad6a3954b3e9027fa630e3a25ca9ede81caed8bd043823b8b757aaf7d706bef31bd898d8c9690d504d20c76e42fe0851e07d0f740a2c8b86f8735e20180
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.18.0 (2021-10-13)
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
@@ -294,8 +294,8 @@ module Google
294
294
  end
295
295
  end
296
296
 
297
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
298
- # is no meaningful response populated from the AddFulfillmentPlaces method.
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
 
@@ -646,8 +646,8 @@ module Google
646
646
 
647
647
  # If set to true, and the Product is not found, the fulfillment information will
648
648
  # still be processed and retained for at most 1 day and processed once the
649
- # Product is created. If set to false, an INVALID_ARGUMENT error is returned if
650
- # the Product is not found.
649
+ # Product is created. If set to false, a NOT_FOUND error is returned if the
650
+ # Product is not found.
651
651
  # Corresponds to the JSON property `allowMissing`
652
652
  # @return [Boolean]
653
653
  attr_accessor :allow_missing
@@ -689,8 +689,8 @@ module Google
689
689
  end
690
690
  end
691
691
 
692
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
693
- # is no meaningful response populated from the AddFulfillmentPlaces method.
692
+ # Response of the AddFulfillmentPlacesRequest. Currently empty because there is
693
+ # no meaningful response populated from the AddFulfillmentPlaces method.
694
694
  class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
695
695
  include Google::Apis::Core::Hashable
696
696
 
@@ -870,8 +870,8 @@ module Google
870
870
  # The color display names, which may be different from standard color family
871
871
  # names, such as the color aliases used in the website frontend. Normally it is
872
872
  # expected to have only 1 color. May consider using single "Mixed" instead of
873
- # multiple values. A maximum of 5 colors are allowed. Each value must be a UTF-8
874
- # encoded string with a length limit of 128 characters. Otherwise, an
873
+ # multiple values. A maximum of 25 colors are allowed. Each value must be a UTF-
874
+ # 8 encoded string with a length limit of 128 characters. Otherwise, an
875
875
  # INVALID_ARGUMENT error is returned. Google Merchant Center property [color](
876
876
  # https://support.google.com/merchants/answer/6324487). Schema.org property [
877
877
  # Product.color](https://schema.org/color).
@@ -1189,8 +1189,8 @@ module Google
1189
1189
 
1190
1190
  # The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-
1191
1191
  # in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A
1192
- # maximum of 2000 values are allowed. Each value must be a string with a length
1193
- # limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1"
1192
+ # maximum of 3000 values are allowed. Each value must be a string with a length
1193
+ # limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1"
1194
1194
  # or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
1195
1195
  # Corresponds to the JSON property `placeIds`
1196
1196
  # @return [Array<String>]
@@ -2135,8 +2135,10 @@ module Google
2135
2135
  # The timestamp when this product becomes unavailable for SearchService.Search.
2136
2136
  # If it is set, the Product is not available for SearchService.Search after
2137
2137
  # expire_time. However, the product can still be retrieved by ProductService.
2138
- # GetProduct and ProductService.ListProducts. Google Merchant Center property [
2139
- # expiration_date](https://support.google.com/merchants/answer/6324499).
2138
+ # GetProduct and ProductService.ListProducts. expire_time must be later than
2139
+ # available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
2140
+ # Google Merchant Center property [expiration_date](https://support.google.com/
2141
+ # merchants/answer/6324499).
2140
2142
  # Corresponds to the JSON property `expireTime`
2141
2143
  # @return [String]
2142
2144
  attr_accessor :expire_time
@@ -2202,7 +2204,6 @@ module Google
2202
2204
 
2203
2205
  # Immutable. Full resource name of the product, such as `projects/*/locations/
2204
2206
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
2205
- # The branch ID must be "default_branch".
2206
2207
  # Corresponds to the JSON property `name`
2207
2208
  # @return [String]
2208
2209
  attr_accessor :name
@@ -2764,8 +2765,8 @@ module Google
2764
2765
 
2765
2766
  # If set to true, and the Product is not found, the fulfillment information will
2766
2767
  # still be processed and retained for at most 1 day and processed once the
2767
- # Product is created. If set to false, an INVALID_ARGUMENT error is returned if
2768
- # the Product is not found.
2768
+ # Product is created. If set to false, a NOT_FOUND error is returned if the
2769
+ # Product is not found.
2769
2770
  # Corresponds to the JSON property `allowMissing`
2770
2771
  # @return [Boolean]
2771
2772
  attr_accessor :allow_missing
@@ -2866,9 +2867,9 @@ module Google
2866
2867
 
2867
2868
  # The filter syntax consists of an expression language for constructing a
2868
2869
  # predicate from one or more fields of the products being filtered. Filter
2869
- # expression is case-sensitive. See more details at this [user guide](/retail/
2870
- # private/docs/filter-and-order#filter). If this field is unrecognizable, an
2871
- # INVALID_ARGUMENT is returned.
2870
+ # expression is case-sensitive. See more details at this [user guide](https://
2871
+ # cloud.google.com/retail/docs/filter-and-order#filter). If this field is
2872
+ # unrecognizable, an INVALID_ARGUMENT is returned.
2872
2873
  # Corresponds to the JSON property `filter`
2873
2874
  # @return [String]
2874
2875
  attr_accessor :filter
@@ -2883,9 +2884,9 @@ module Google
2883
2884
 
2884
2885
  # The order in which products are returned. Products can be ordered by a field
2885
2886
  # in an Product object. Leave it unset if ordered by relevance. OrderBy
2886
- # expression is case-sensitive. See more details at this [user guide](/retail/
2887
- # private/docs/filter-and-order#order). If this field is unrecognizable, an
2888
- # INVALID_ARGUMENT is returned.
2887
+ # expression is case-sensitive. See more details at this [user guide](https://
2888
+ # cloud.google.com/retail/docs/filter-and-order#order). If this field is
2889
+ # unrecognizable, an INVALID_ARGUMENT is returned.
2889
2890
  # Corresponds to the JSON property `orderBy`
2890
2891
  # @return [String]
2891
2892
  attr_accessor :order_by
@@ -2929,8 +2930,8 @@ module Google
2929
2930
 
2930
2931
  # The relevance threshold of the search results. Defaults to RelevanceThreshold.
2931
2932
  # HIGH, which means only the most relevant results are shown, and the least
2932
- # number of results are returned. See more details at this [user guide](/retail/
2933
- # private/docs/result-size#relevance_thresholding).
2933
+ # number of results are returned. See more details at this [user guide](https://
2934
+ # cloud.google.com/retail/docs/result-size#relevance_thresholding).
2934
2935
  # Corresponds to the JSON property `relevanceThreshold`
2935
2936
  # @return [String]
2936
2937
  attr_accessor :relevance_threshold
@@ -2947,16 +2948,17 @@ module Google
2947
2948
  # and a fulfillment ID must be provided in the format of "fulfillmentType.
2948
2949
  # fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
2949
2950
  # fulfillment type and "store123" is the store ID. Supported keys are: *
2950
- # colorFamilies * price * originalPrice * discount * attributes.key, where key
2951
- # is any key in the Product.attributes map. * pickupInStore.id, where id is any
2952
- # FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
2953
- # shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
2954
- # type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
2955
- # place_ids for FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id,
2956
- # where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-
2957
- # delivery". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids
2958
- # for FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is
2959
- # any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
2951
+ # colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
2952
+ # attributes.key, where key is any key in the Product.attributes map. *
2953
+ # pickupInStore.id, where id is any FulfillmentInfo.place_ids for
2954
+ # FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
2955
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
2956
+ # sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
2957
+ # FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
2958
+ # any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
2959
+ # customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
2960
+ # FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
2961
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
2960
2962
  # customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
2961
2963
  # FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
2962
2964
  # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
@@ -3175,7 +3177,8 @@ module Google
3175
3177
  # * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
3176
3178
  # customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
3177
3179
  # customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
3178
- # discount" * "rating" * "ratingCount" * "attributes.key"
3180
+ # discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
3181
+ # price)"
3179
3182
  # Corresponds to the JSON property `key`
3180
3183
  # @return [String]
3181
3184
  attr_accessor :key
@@ -3414,7 +3417,7 @@ module Google
3414
3417
  alias_method :expanded_query?, :expanded_query
3415
3418
 
3416
3419
  # Number of pinned results. This field will only be set when expansion happens
3417
- # and SearchRequest.query_expansion_spec.pin_unexpanded_results is set to true.
3420
+ # and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.
3418
3421
  # Corresponds to the JSON property `pinnedResultCount`
3419
3422
  # @return [Fixnum]
3420
3423
  attr_accessor :pinned_result_count
@@ -3540,8 +3543,8 @@ module Google
3540
3543
 
3541
3544
  # If set to true, and the Product with name Product.name is not found, the
3542
3545
  # inventory update will still be processed and retained for at most 1 day until
3543
- # the Product is created. If set to false, an INVALID_ARGUMENT error is returned
3544
- # if the Product is not found.
3546
+ # the Product is created. If set to false, a NOT_FOUND error is returned if the
3547
+ # Product is not found.
3545
3548
  # Corresponds to the JSON property `allowMissing`
3546
3549
  # @return [Boolean]
3547
3550
  attr_accessor :allow_missing
@@ -3625,7 +3628,7 @@ module Google
3625
3628
  # @return [String]
3626
3629
  attr_accessor :attribution_token
3627
3630
 
3628
- # The id or name of the associated shopping cart. This id is used to associate
3631
+ # The ID or name of the associated shopping cart. This ID is used to associate
3629
3632
  # multiple items added or present in the cart before purchase. This can only be
3630
3633
  # set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view`
3631
3634
  # events.
@@ -3706,7 +3709,7 @@ module Google
3706
3709
  # @return [Array<String>]
3707
3710
  attr_accessor :page_categories
3708
3711
 
3709
- # A unique id of a web page view. This should be kept the same for all user
3712
+ # A unique ID of a web page view. This should be kept the same for all user
3710
3713
  # events triggered from the same pageview. For example, an item detail page view
3711
3714
  # could trigger multiple events as the user is browsing the page. The `
3712
3715
  # pageViewId` property should be kept the same for all these events so that they
@@ -3720,11 +3723,11 @@ module Google
3720
3723
  # The main product details related to the event. This field is required for the
3721
3724
  # following event types: * `add-to-cart` * `detail-page-view` * `purchase-
3722
3725
  # complete` In a `search` event, this field represents the products returned to
3723
- # the end user on the current page (the end user may have not finished broswing
3726
+ # the end user on the current page (the end user may have not finished browsing
3724
3727
  # the whole page yet). When a new page is returned to the end user, after
3725
3728
  # pagination/filtering/ordering even for the same query, a new `search` event
3726
3729
  # with different product_details is desired. The end user may have not finished
3727
- # broswing the whole page yet.
3730
+ # browsing the whole page yet.
3728
3731
  # Corresponds to the JSON property `productDetails`
3729
3732
  # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductDetail>]
3730
3733
  attr_accessor :product_details
@@ -3960,8 +3963,8 @@ module Google
3960
3963
  end
3961
3964
  end
3962
3965
 
3963
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
3964
- # is no meaningful response populated from the AddFulfillmentPlaces method.
3966
+ # Response of the AddFulfillmentPlacesRequest. Currently empty because there is
3967
+ # no meaningful response populated from the AddFulfillmentPlaces method.
3965
3968
  class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
3966
3969
  include Google::Apis::Core::Hashable
3967
3970
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha gem
19
- GEM_VERSION = "0.14.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 = "20210819"
25
+ REVISION = "20211011"
26
26
  end
27
27
  end
28
28
  end
@@ -594,7 +594,6 @@ module Google
594
594
  # @param [String] name
595
595
  # Immutable. Full resource name of the product, such as `projects/*/locations/
596
596
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
597
- # The branch ID must be "default_branch".
598
597
  # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct] google_cloud_retail_v2alpha_product_object
599
598
  # @param [Boolean] allow_missing
600
599
  # If set to true, and the Product is not found, a new Product will be created.
@@ -702,7 +701,6 @@ module Google
702
701
  # @param [String] name
703
702
  # Immutable. Full resource name of the product, such as `projects/*/locations/
704
703
  # global/catalogs/default_catalog/branches/default_branch/products/product_id`.
705
- # The branch ID must be "default_branch".
706
704
  # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSetInventoryRequest] google_cloud_retail_v2alpha_set_inventory_request_object
707
705
  # @param [String] fields
708
706
  # Selector specifying which fields to include in a partial response.
@@ -893,9 +891,8 @@ module Google
893
891
  # @param [String] placement
894
892
  # Required. The resource name of the search engine placement, such as `projects/*
895
893
  # /locations/global/catalogs/default_catalog/placements/default_search`. This
896
- # field is used to identify the set of models that will be used to make the
897
- # search. We currently support one placement with the following ID: * `
898
- # default_search`.
894
+ # field is used to identify the serving configuration name and the set of models
895
+ # that will be used to make the search.
899
896
  # @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
900
897
  # @param [String] fields
901
898
  # 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_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.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-09-06 00:00:00.000000000 Z
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_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []