google-apis-retail_v2alpha 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cd1dbd1af8a0b74de3452a57d0eb060099fe1af4e9eddd86589d4b9d3807fd3
4
- data.tar.gz: c2f2dc64766c607f77d8294b608f4d9db50ddcc0064d749f23a0fe1911d480ab
3
+ metadata.gz: 4b69e62f043afa7d318778baab466521b7cc9b2f35ac1400615fb858e89ed55f
4
+ data.tar.gz: b21ffc8dbee074c012fd3038c991b0fe5681c10ad432ea96ce44e94f6e8a8d93
5
5
  SHA512:
6
- metadata.gz: aec23349b643941dfb98b5d31c8db263456f9947952f14649ea7820ff49108f21cd4a4f8df0d66b4ab069251b71954e964a0544a1d97bfb33f5a6de93d2a71a9
7
- data.tar.gz: e6d6e74634a5882a22a1999cc89f66ce274fba1fd0fd5297c79afd582164a66a5c72d599b258d51e2aaacf45a1820d34a2ada6df3c538ad02a5dda629b90ddd3
6
+ metadata.gz: 379b6c96d6ff3abb005634c782e9e01f091883e982149035688cfe154b6cceed567b78346d734c217d76b30456f41b6220568fb5399d20d116c36874f6f24efc
7
+ data.tar.gz: 6cec285cc41d1c04e4043cd50526ad207d4db756954146df551ce040e091c4a229f8471850b8c5ab1ea4d4663fd0860958c2f6151c6a724ffee4b56eef4b5b5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.19.0 (2021-10-26)
4
+
5
+ * Regenerated from discovery document revision 20211021
6
+
7
+ ### v0.18.0 (2021-10-13)
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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 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).
@@ -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
@@ -2306,12 +2307,13 @@ module Google
2306
2307
  # @return [String]
2307
2308
  attr_accessor :title
2308
2309
 
2309
- # Input only. The TTL (time to live) of the product. If it is set, expire_time
2310
- # is set as current timestamp plus ttl. The derived expire_time is returned in
2311
- # the output and ttl is left blank when retrieving the Product. If it is set,
2312
- # the product is not available for SearchService.Search after current timestamp
2313
- # plus ttl. However, the product can still be retrieved by ProductService.
2314
- # GetProduct and ProductService.ListProducts.
2310
+ # Input only. The TTL (time to live) of the product. If it is set, it must be a
2311
+ # non-negative value, and expire_time is set as current timestamp plus ttl. The
2312
+ # derived expire_time is returned in the output and ttl is left blank when
2313
+ # retrieving the Product. If it is set, the product is not available for
2314
+ # SearchService.Search after current timestamp plus ttl. However, the product
2315
+ # can still be retrieved by ProductService.GetProduct and ProductService.
2316
+ # ListProducts.
2315
2317
  # Corresponds to the JSON property `ttl`
2316
2318
  # @return [String]
2317
2319
  attr_accessor :ttl
@@ -2764,8 +2766,8 @@ module Google
2764
2766
 
2765
2767
  # If set to true, and the Product is not found, the fulfillment information will
2766
2768
  # 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.
2769
+ # Product is created. If set to false, a NOT_FOUND error is returned if the
2770
+ # Product is not found.
2769
2771
  # Corresponds to the JSON property `allowMissing`
2770
2772
  # @return [Boolean]
2771
2773
  attr_accessor :allow_missing
@@ -2935,6 +2937,12 @@ module Google
2935
2937
  # @return [String]
2936
2938
  attr_accessor :relevance_threshold
2937
2939
 
2940
+ # The search mode of the search request. If not specified, a single search
2941
+ # request triggers both product search and faceted search.
2942
+ # Corresponds to the JSON property `searchMode`
2943
+ # @return [String]
2944
+ attr_accessor :search_mode
2945
+
2938
2946
  # Information of an end user.
2939
2947
  # Corresponds to the JSON property `userInfo`
2940
2948
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo]
@@ -2947,16 +2955,17 @@ module Google
2947
2955
  # and a fulfillment ID must be provided in the format of "fulfillmentType.
2948
2956
  # fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
2949
2957
  # 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". *
2958
+ # colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
2959
+ # attributes.key, where key is any key in the Product.attributes map. *
2960
+ # pickupInStore.id, where id is any FulfillmentInfo.place_ids for
2961
+ # FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
2962
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
2963
+ # sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
2964
+ # FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
2965
+ # any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
2966
+ # customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
2967
+ # FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
2968
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
2960
2969
  # customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
2961
2970
  # FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
2962
2971
  # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
@@ -2997,6 +3006,7 @@ module Google
2997
3006
  @query = args[:query] if args.key?(:query)
2998
3007
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
2999
3008
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
3009
+ @search_mode = args[:search_mode] if args.key?(:search_mode)
3000
3010
  @user_info = args[:user_info] if args.key?(:user_info)
3001
3011
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
3002
3012
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -3175,7 +3185,8 @@ module Google
3175
3185
  # * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
3176
3186
  # customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
3177
3187
  # customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
3178
- # discount" * "rating" * "ratingCount" * "attributes.key"
3188
+ # discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
3189
+ # price)"
3179
3190
  # Corresponds to the JSON property `key`
3180
3191
  # @return [String]
3181
3192
  attr_accessor :key
@@ -3540,8 +3551,8 @@ module Google
3540
3551
 
3541
3552
  # If set to true, and the Product with name Product.name is not found, the
3542
3553
  # 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.
3554
+ # the Product is created. If set to false, a NOT_FOUND error is returned if the
3555
+ # Product is not found.
3545
3556
  # Corresponds to the JSON property `allowMissing`
3546
3557
  # @return [Boolean]
3547
3558
  attr_accessor :allow_missing
@@ -3960,8 +3971,8 @@ module Google
3960
3971
  end
3961
3972
  end
3962
3973
 
3963
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
3964
- # is no meaningful response populated from the AddFulfillmentPlaces method.
3974
+ # Response of the AddFulfillmentPlacesRequest. Currently empty because there is
3975
+ # no meaningful response populated from the AddFulfillmentPlaces method.
3965
3976
  class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
3966
3977
  include Google::Apis::Core::Hashable
3967
3978
 
@@ -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.15.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 = "20210906"
25
+ REVISION = "20211021"
26
26
  end
27
27
  end
28
28
  end
@@ -1527,6 +1527,7 @@ module Google
1527
1527
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec::Representation
1528
1528
 
1529
1529
  property :relevance_threshold, as: 'relevanceThreshold'
1530
+ property :search_mode, as: 'searchMode'
1530
1531
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
1531
1532
 
1532
1533
  collection :variant_rollup_keys, as: 'variantRollupKeys'
@@ -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.15.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-09-13 00:00:00.000000000 Z
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/master/generated/google-apis-retail_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.15.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.19.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: