google-apis-retail_v2beta 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: b4ae5c159102eceee6a75b1af141ce67c693172052cba99763faf8835139f823
4
- data.tar.gz: '06538825e61b814c6ec0e638f9d676a68c11b32175f333ca01072430ccc3737e'
3
+ metadata.gz: fe1ad345392a272bc19696b86cd5929d77cb082ad7d91ba93ac964001423a299
4
+ data.tar.gz: e919d71557788072a73c792f0f50ddad80909c7a0a21b4343e2697c8d533ba4b
5
5
  SHA512:
6
- metadata.gz: c775bbe40e64862c176467644e659791fd22805ae5845a9ecd0a259b9f1b3081570bf068018874edde9e6b02645cfd1572ae7896acb8504956ea20d5e5280572
7
- data.tar.gz: 395cb00c06842741f5abb6d4dedbb115ae6d5604352d88295c2a17a808547c39fc3d273fe92d8f21152205d6b29aea6e59863b98619037bd10491d6b7bc24a58
6
+ metadata.gz: 06d6fb6b31f74fd592275644d9cd7ba75c4b803f3888f51db06e0bd33ca0b9b9d443a2d877f8d837649e867224f90ca9c546a456a5b50841a61d0134fb02e20e
7
+ data.tar.gz: e09afaf475dc7791afa6406c4b063c28e995e691751ec1c7fa69dc0e3c61439ef76b71f0075690cd350ebd0f03142bda6d195b82f9a5b7c53d0fd214cb49f78b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-retail_v2beta
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
@@ -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
 
@@ -633,8 +633,8 @@ module Google
633
633
  end
634
634
  end
635
635
 
636
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
637
- # is no meaningful response populated from the AddFulfillmentPlaces method.
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, an INVALID_ARGUMENT error is returned if
1091
- # the Product is not found.
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 RemoveFulfillmentPlacesRequest. Currently empty because there
1134
- # is no meaningful response populated from the AddFulfillmentPlaces method.
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 5 colors are allowed. Each value must be a UTF-8
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).
@@ -1623,8 +1623,8 @@ module Google
1623
1623
 
1624
1624
  # The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-
1625
1625
  # in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A
1626
- # maximum of 2000 values are allowed. Each value must be a string with a length
1627
- # limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1"
1626
+ # maximum of 3000 values are allowed. Each value must be a string with a length
1627
+ # limit of 30 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1"
1628
1628
  # or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
1629
1629
  # Corresponds to the JSON property `placeIds`
1630
1630
  # @return [Array<String>]
@@ -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. Google Merchant Center property [
2501
- # expiration_date](https://support.google.com/merchants/answer/6324499).
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
@@ -3126,8 +3127,8 @@ module Google
3126
3127
 
3127
3128
  # If set to true, and the Product is not found, the fulfillment information will
3128
3129
  # still be processed and retained for at most 1 day and processed once the
3129
- # Product is created. If set to false, an INVALID_ARGUMENT error is returned if
3130
- # the Product is not found.
3130
+ # Product is created. If set to false, a NOT_FOUND error is returned if the
3131
+ # Product is not found.
3131
3132
  # Corresponds to the JSON property `allowMissing`
3132
3133
  # @return [Boolean]
3133
3134
  attr_accessor :allow_missing
@@ -3228,9 +3229,9 @@ module Google
3228
3229
 
3229
3230
  # The filter syntax consists of an expression language for constructing a
3230
3231
  # predicate from one or more fields of the products being filtered. Filter
3231
- # expression is case-sensitive. See more details at this [user guide](/retail/
3232
- # private/docs/filter-and-order#filter). If this field is unrecognizable, an
3233
- # INVALID_ARGUMENT is returned.
3232
+ # expression is case-sensitive. See more details at this [user guide](https://
3233
+ # cloud.google.com/retail/docs/filter-and-order#filter). If this field is
3234
+ # unrecognizable, an INVALID_ARGUMENT is returned.
3234
3235
  # Corresponds to the JSON property `filter`
3235
3236
  # @return [String]
3236
3237
  attr_accessor :filter
@@ -3245,9 +3246,9 @@ module Google
3245
3246
 
3246
3247
  # The order in which products are returned. Products can be ordered by a field
3247
3248
  # in an Product object. Leave it unset if ordered by relevance. OrderBy
3248
- # expression is case-sensitive. See more details at this [user guide](/retail/
3249
- # private/docs/filter-and-order#order). If this field is unrecognizable, an
3250
- # INVALID_ARGUMENT is returned.
3249
+ # expression is case-sensitive. See more details at this [user guide](https://
3250
+ # cloud.google.com/retail/docs/filter-and-order#order). If this field is
3251
+ # unrecognizable, an INVALID_ARGUMENT is returned.
3251
3252
  # Corresponds to the JSON property `orderBy`
3252
3253
  # @return [String]
3253
3254
  attr_accessor :order_by
@@ -3301,16 +3302,17 @@ module Google
3301
3302
  # and a fulfillment ID must be provided in the format of "fulfillmentType.
3302
3303
  # fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
3303
3304
  # fulfillment type and "store123" is the store ID. Supported keys are: *
3304
- # colorFamilies * price * originalPrice * discount * attributes.key, where key
3305
- # is any key in the Product.attributes map. * pickupInStore.id, where id is any
3306
- # FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
3307
- # shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
3308
- # type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
3309
- # place_ids for FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id,
3310
- # where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-
3311
- # delivery". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids
3312
- # for FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is
3313
- # any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
3305
+ # colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
3306
+ # attributes.key, where key is any key in the Product.attributes map. *
3307
+ # pickupInStore.id, where id is any FulfillmentInfo.place_ids for
3308
+ # FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
3309
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
3310
+ # sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
3311
+ # FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
3312
+ # any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
3313
+ # customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
3314
+ # FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
3315
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
3314
3316
  # customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
3315
3317
  # FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
3316
3318
  # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
@@ -3528,7 +3530,8 @@ module Google
3528
3530
  # * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
3529
3531
  # customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
3530
3532
  # customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
3531
- # discount" * "rating" * "ratingCount" * "attributes.key"
3533
+ # discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
3534
+ # price)"
3532
3535
  # Corresponds to the JSON property `key`
3533
3536
  # @return [String]
3534
3537
  attr_accessor :key
@@ -3767,7 +3770,7 @@ module Google
3767
3770
  alias_method :expanded_query?, :expanded_query
3768
3771
 
3769
3772
  # Number of pinned results. This field will only be set when expansion happens
3770
- # and SearchRequest.query_expansion_spec.pin_unexpanded_results is set to true.
3773
+ # and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.
3771
3774
  # Corresponds to the JSON property `pinnedResultCount`
3772
3775
  # @return [Fixnum]
3773
3776
  attr_accessor :pinned_result_count
@@ -3893,8 +3896,8 @@ module Google
3893
3896
 
3894
3897
  # If set to true, and the Product with name Product.name is not found, the
3895
3898
  # inventory update will still be processed and retained for at most 1 day until
3896
- # the Product is created. If set to false, an INVALID_ARGUMENT error is returned
3897
- # if the Product is not found.
3899
+ # the Product is created. If set to false, a NOT_FOUND error is returned if the
3900
+ # Product is not found.
3898
3901
  # Corresponds to the JSON property `allowMissing`
3899
3902
  # @return [Boolean]
3900
3903
  attr_accessor :allow_missing
@@ -3978,7 +3981,7 @@ module Google
3978
3981
  # @return [String]
3979
3982
  attr_accessor :attribution_token
3980
3983
 
3981
- # The id or name of the associated shopping cart. This id is used to associate
3984
+ # The ID or name of the associated shopping cart. This ID is used to associate
3982
3985
  # multiple items added or present in the cart before purchase. This can only be
3983
3986
  # set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view`
3984
3987
  # events.
@@ -4059,7 +4062,7 @@ module Google
4059
4062
  # @return [Array<String>]
4060
4063
  attr_accessor :page_categories
4061
4064
 
4062
- # A unique id of a web page view. This should be kept the same for all user
4065
+ # A unique ID of a web page view. This should be kept the same for all user
4063
4066
  # events triggered from the same pageview. For example, an item detail page view
4064
4067
  # could trigger multiple events as the user is browsing the page. The `
4065
4068
  # pageViewId` property should be kept the same for all these events so that they
@@ -4073,11 +4076,11 @@ module Google
4073
4076
  # The main product details related to the event. This field is required for the
4074
4077
  # following event types: * `add-to-cart` * `detail-page-view` * `purchase-
4075
4078
  # complete` In a `search` event, this field represents the products returned to
4076
- # the end user on the current page (the end user may have not finished broswing
4079
+ # the end user on the current page (the end user may have not finished browsing
4077
4080
  # the whole page yet). When a new page is returned to the end user, after
4078
4081
  # pagination/filtering/ordering even for the same query, a new `search` event
4079
4082
  # with different product_details is desired. The end user may have not finished
4080
- # broswing the whole page yet.
4083
+ # browsing the whole page yet.
4081
4084
  # Corresponds to the JSON property `productDetails`
4082
4085
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail>]
4083
4086
  attr_accessor :product_details
@@ -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.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
@@ -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 set of models that will be used to make the
892
- # search. We currently support one placement with the following ID: * `
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.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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []