google-apis-retail_v2 0.17.0 → 0.21.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: 74572904cb04af93d243eda58d9b77c7ad4559658934c6da5a9c3d3061dbf336
4
- data.tar.gz: 3b11130e1a02ca4d58d5dbddd1ca3b84771c82d2de26885cd4cdfcbfb7c33912
3
+ metadata.gz: e8bb45145477a776ceb72b50db2b46adbacefb13b3b67eeabd2af3e8bc0dcea3
4
+ data.tar.gz: 31601e2aaee2576e131c9acdf5cf597609912ee38d4440ce26878605a5548110
5
5
  SHA512:
6
- metadata.gz: 4187419442b09c33b846674d362ad64c738a9b050c283d4a77a0471239db736cebc88884893694e09952556fbdd54afd732a97dd6e7bab9f7604f90492181341
7
- data.tar.gz: ff129f5e07a3745b9ac90ea4269e55a4328b5617029b736cb5d7299398498863b202dd341bae40204c5929d99af640995fa2c01c3acb25aa50cac6dec3200b54
6
+ metadata.gz: 80023b3c5d7b14adcf00cc87d5f139af3adaaf1ccfc7d67a9d68e09ebf80afc6283d4b8f762da50d7936b8049ac4f032e980db43d4f6782665953bdf006e00a6
7
+ data.tar.gz: da322e2cec277b5ebef0d92ad342277f9e943770c39af1d278cd7be3355379d9ddd2335cf440c4d78f6019a27bbcc2276e8eea3bc60a42d679a650519a58518b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.21.0 (2021-11-10)
4
+
5
+ * Regenerated from discovery document revision 20211104
6
+
7
+ ### v0.20.0 (2021-11-03)
8
+
9
+ * Regenerated from discovery document revision 20211028
10
+
11
+ ### v0.19.0 (2021-10-26)
12
+
13
+ * Regenerated from discovery document revision 20211021
14
+
15
+ ### v0.18.0 (2021-10-12)
16
+
17
+ * Regenerated from discovery document revision 20211011
18
+
3
19
  ### v0.17.0 (2021-10-05)
4
20
 
5
21
  * Regenerated from discovery document revision 20210930
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
 
@@ -318,7 +318,7 @@ module Google
318
318
  # or the region IDs for "same-day-delivery" to be added for this type. Duplicate
319
319
  # IDs will be automatically ignored. At least 1 value is required, and a maximum
320
320
  # of 2000 values are allowed. Each value must be a string with a length limit of
321
- # 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as "store1" or "
321
+ # 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "
322
322
  # REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. If the total
323
323
  # number of place IDs exceeds 2000 for this type after adding, then the update
324
324
  # will be rejected.
@@ -350,8 +350,8 @@ module Google
350
350
  end
351
351
  end
352
352
 
353
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
354
- # is no meaningful response populated from the AddFulfillmentPlaces method.
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
 
@@ -742,7 +742,7 @@ module Google
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
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"
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>]
@@ -1032,8 +1032,8 @@ module Google
1032
1032
 
1033
1033
  # Unique identifier provided by client, within the ancestor dataset scope.
1034
1034
  # Ensures idempotency and used for request deduplication. Server-generated if
1035
- # unspecified. Up to 128 characters long and must match the pattern: "[a-zA-Z0-
1036
- # 9_]+". This is returned as Operation.name in ImportMetadata. Only supported
1035
+ # unspecified. Up to 128 characters long and must match the pattern: `[a-zA-Z0-
1036
+ # 9_]+`. This is returned as Operation.name in ImportMetadata. Only supported
1037
1037
  # when ImportProductsRequest.reconciliation_mode is set to `FULL`.
1038
1038
  # Corresponds to the JSON property `requestId`
1039
1039
  # @return [String]
@@ -1522,7 +1522,7 @@ module Google
1522
1522
  # :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
1523
1523
  # INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must
1524
1524
  # be a UTF-8 encoded string with a length limit of 128 characters. * For
1525
- # indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example,
1525
+ # indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example,
1526
1526
  # key0LikeThis or KEY_1_LIKE_THIS.
1527
1527
  # Corresponds to the JSON property `attributes`
1528
1528
  # @return [Hash<String,Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute>]
@@ -1787,12 +1787,13 @@ module Google
1787
1787
  # @return [String]
1788
1788
  attr_accessor :title
1789
1789
 
1790
- # Input only. The TTL (time to live) of the product. If it is set, expire_time
1791
- # is set as current timestamp plus ttl. The derived expire_time is returned in
1792
- # the output and ttl is left blank when retrieving the Product. If it is set,
1793
- # the product is not available for SearchService.Search after current timestamp
1794
- # plus ttl. However, the product can still be retrieved by ProductService.
1795
- # GetProduct and ProductService.ListProducts.
1790
+ # Input only. The TTL (time to live) of the product. If it is set, it must be a
1791
+ # non-negative value, and expire_time is set as current timestamp plus ttl. The
1792
+ # derived expire_time is returned in the output and ttl is left blank when
1793
+ # retrieving the Product. If it is set, the product is not available for
1794
+ # SearchService.Search after current timestamp plus ttl. However, the product
1795
+ # can still be retrieved by ProductService.GetProduct and ProductService.
1796
+ # ListProducts.
1796
1797
  # Corresponds to the JSON property `ttl`
1797
1798
  # @return [String]
1798
1799
  attr_accessor :ttl
@@ -1951,15 +1952,15 @@ module Google
1951
1952
  include Google::Apis::Core::Hashable
1952
1953
 
1953
1954
  # The type of Products allowed to be ingested into the catalog. Acceptable
1954
- # values are: * `primary` (default): You can only ingest Product.Type.PRIMARY
1955
- # Products. This means Product.primary_product_id can only be empty or set to
1956
- # the same value as Product.id. * `variant`: You can only ingest Product.Type.
1957
- # VARIANT Products. This means Product.primary_product_id cannot be empty. If
1958
- # this field is set to an invalid value other than these, an INVALID_ARGUMENT
1959
- # error is returned. If this field is `variant` and
1960
- # merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error
1961
- # is returned. See [Using product levels](https://cloud.google.com/retail/
1962
- # recommendations-ai/docs/catalog#product-levels) for more details.
1955
+ # values are: * `primary` (default): You can ingest Products of all types. When
1956
+ # ingesting a Product, its type will default to Product.Type.PRIMARY if unset. *
1957
+ # `variant`: You can only ingest Product.Type.VARIANT Products. This means
1958
+ # Product.primary_product_id cannot be empty. If this field is set to an invalid
1959
+ # value other than these, an INVALID_ARGUMENT error is returned. If this field
1960
+ # is `variant` and merchant_center_product_id_field is `itemGroupId`, an
1961
+ # INVALID_ARGUMENT error is returned. See [Using product levels](https://cloud.
1962
+ # google.com/retail/recommendations-ai/docs/catalog#product-levels) for more
1963
+ # details.
1963
1964
  # Corresponds to the JSON property `ingestionProductType`
1964
1965
  # @return [String]
1965
1966
  attr_accessor :ingestion_product_type
@@ -1994,8 +1995,8 @@ module Google
1994
1995
  include Google::Apis::Core::Hashable
1995
1996
 
1996
1997
  # ID of the promotion. For example, "free gift". The value value must be a UTF-8
1997
- # encoded string with a length limit of 128 characters, and match the pattern: a-
1998
- # zA-Z*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
1998
+ # encoded string with a length limit of 128 characters, and match the pattern: `
1999
+ # a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an
1999
2000
  # INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion]
2000
2001
  # (https://support.google.com/merchants/answer/7050148).
2001
2002
  # Corresponds to the JSON property `promotionId`
@@ -2256,7 +2257,7 @@ module Google
2256
2257
  # or the region IDs for "same-day-delivery", to be removed for this type. At
2257
2258
  # least 1 value is required, and a maximum of 2000 values are allowed. Each
2258
2259
  # value must be a string with a length limit of 10 characters, matching the
2259
- # pattern [a-zA-Z0-9_-]+, such as "store1" or "REGION-2". Otherwise, an
2260
+ # pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an
2260
2261
  # INVALID_ARGUMENT error is returned.
2261
2262
  # Corresponds to the JSON property `placeIds`
2262
2263
  # @return [Array<String>]
@@ -2408,6 +2409,12 @@ module Google
2408
2409
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec]
2409
2410
  attr_accessor :query_expansion_spec
2410
2411
 
2412
+ # The search mode of the search request. If not specified, a single search
2413
+ # request triggers both product search and faceted search.
2414
+ # Corresponds to the JSON property `searchMode`
2415
+ # @return [String]
2416
+ attr_accessor :search_mode
2417
+
2411
2418
  # Information of an end user.
2412
2419
  # Corresponds to the JSON property `userInfo`
2413
2420
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo]
@@ -2420,16 +2427,17 @@ module Google
2420
2427
  # and a fulfillment ID must be provided in the format of "fulfillmentType.
2421
2428
  # fulfillmentId". E.g., in "pickupInStore.store123", "pickupInStore" is
2422
2429
  # fulfillment type and "store123" is the store ID. Supported keys are: *
2423
- # colorFamilies * price * originalPrice * discount * attributes.key, where key
2424
- # is any key in the Product.attributes map. * pickupInStore.id, where id is any
2425
- # FulfillmentInfo.place_ids for FulfillmentInfo.type "pickup-in-store". *
2426
- # shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.
2427
- # type "ship-to-store". * sameDayDelivery.id, where id is any FulfillmentInfo.
2428
- # place_ids for FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id,
2429
- # where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-
2430
- # delivery". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids
2431
- # for FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is
2432
- # any FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
2430
+ # colorFamilies * price * originalPrice * discount * inventory(place_id,price) *
2431
+ # attributes.key, where key is any key in the Product.attributes map. *
2432
+ # pickupInStore.id, where id is any FulfillmentInfo.place_ids for
2433
+ # FulfillmentInfo.type "pickup-in-store". * shipToStore.id, where id is any
2434
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "ship-to-store". *
2435
+ # sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for
2436
+ # FulfillmentInfo.type "same-day-delivery". * nextDayDelivery.id, where id is
2437
+ # any FulfillmentInfo.place_ids for FulfillmentInfo.type "next-day-delivery". *
2438
+ # customFulfillment1.id, where id is any FulfillmentInfo.place_ids for
2439
+ # FulfillmentInfo.type "custom-type-1". * customFulfillment2.id, where id is any
2440
+ # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-2". *
2433
2441
  # customFulfillment3.id, where id is any FulfillmentInfo.place_ids for
2434
2442
  # FulfillmentInfo.type "custom-type-3". * customFulfillment4.id, where id is any
2435
2443
  # FulfillmentInfo.place_ids for FulfillmentInfo.type "custom-type-4". *
@@ -2469,6 +2477,7 @@ module Google
2469
2477
  @page_token = args[:page_token] if args.key?(:page_token)
2470
2478
  @query = args[:query] if args.key?(:query)
2471
2479
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
2480
+ @search_mode = args[:search_mode] if args.key?(:search_mode)
2472
2481
  @user_info = args[:user_info] if args.key?(:user_info)
2473
2482
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
2474
2483
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -2647,7 +2656,8 @@ module Google
2647
2656
  # * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "
2648
2657
  # customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "
2649
2658
  # customFulfillment4" * "customFulfillment5" * numerical_field = * "price" * "
2650
- # discount" * "rating" * "ratingCount" * "attributes.key"
2659
+ # discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,
2660
+ # price)"
2651
2661
  # Corresponds to the JSON property `key`
2652
2662
  # @return [String]
2653
2663
  attr_accessor :key
@@ -3432,8 +3442,8 @@ module Google
3432
3442
  end
3433
3443
  end
3434
3444
 
3435
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
3436
- # is no meaningful response populated from the AddFulfillmentPlaces method.
3445
+ # Response of the AddFulfillmentPlacesRequest. Currently empty because there is
3446
+ # no meaningful response populated from the AddFulfillmentPlaces method.
3437
3447
  class GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse
3438
3448
  include Google::Apis::Core::Hashable
3439
3449
 
@@ -3446,9 +3456,24 @@ module Google
3446
3456
  end
3447
3457
  end
3448
3458
 
3449
- # Metadata related to the EnrollSolution method. This will be returned by the
3450
- # google.longrunning.Operation.metadata field.
3451
- class GoogleCloudRetailV2alphaEnrollSolutionMetadata
3459
+ # Metadata related to the progress of the AddLocalInventories operation.
3460
+ # Currently empty because there is no meaningful metadata populated from the
3461
+ # AddLocalInventories method.
3462
+ class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
3463
+ include Google::Apis::Core::Hashable
3464
+
3465
+ def initialize(**args)
3466
+ update!(**args)
3467
+ end
3468
+
3469
+ # Update properties of this object
3470
+ def update!(**args)
3471
+ end
3472
+ end
3473
+
3474
+ # Response of the AddLocalInventories API. Currently empty because there is no
3475
+ # meaningful response populated from the AddLocalInventories method.
3476
+ class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
3452
3477
  include Google::Apis::Core::Hashable
3453
3478
 
3454
3479
  def initialize(**args)
@@ -3816,6 +3841,35 @@ module Google
3816
3841
  end
3817
3842
  end
3818
3843
 
3844
+ # Metadata related to the progress of the RemoveLocalInventories operation.
3845
+ # Currently empty because there is no meaningful metadata populated from the
3846
+ # RemoveLocalInventories method.
3847
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
3848
+ include Google::Apis::Core::Hashable
3849
+
3850
+ def initialize(**args)
3851
+ update!(**args)
3852
+ end
3853
+
3854
+ # Update properties of this object
3855
+ def update!(**args)
3856
+ end
3857
+ end
3858
+
3859
+ # Response of the RemoveLocalInventories API. Currently empty because there is
3860
+ # no meaningful response populated from the RemoveLocalInventories method.
3861
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
3862
+ include Google::Apis::Core::Hashable
3863
+
3864
+ def initialize(**args)
3865
+ update!(**args)
3866
+ end
3867
+
3868
+ # Update properties of this object
3869
+ def update!(**args)
3870
+ end
3871
+ end
3872
+
3819
3873
  # Metadata related to the progress of the SetInventory operation. Currently
3820
3874
  # empty because there is no meaningful metadata populated from the SetInventory
3821
3875
  # method.
@@ -3887,8 +3941,8 @@ module Google
3887
3941
  end
3888
3942
  end
3889
3943
 
3890
- # Response of the RemoveFulfillmentPlacesRequest. Currently empty because there
3891
- # is no meaningful response populated from the AddFulfillmentPlaces method.
3944
+ # Response of the AddFulfillmentPlacesRequest. Currently empty because there is
3945
+ # no meaningful response populated from the AddFulfillmentPlaces method.
3892
3946
  class GoogleCloudRetailV2betaAddFulfillmentPlacesResponse
3893
3947
  include Google::Apis::Core::Hashable
3894
3948
 
@@ -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.17.0"
19
+ GEM_VERSION = "0.21.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 = "20210930"
25
+ REVISION = "20211104"
26
26
  end
27
27
  end
28
28
  end
@@ -502,7 +502,13 @@ module Google
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
- class GoogleCloudRetailV2alphaEnrollSolutionMetadata
505
+ class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
506
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
513
 
508
514
  include Google::Apis::Core::JsonObjectSupport
@@ -598,6 +604,18 @@ module Google
598
604
  include Google::Apis::Core::JsonObjectSupport
599
605
  end
600
606
 
607
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
601
619
  class GoogleCloudRetailV2alphaSetInventoryMetadata
602
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
621
 
@@ -1346,6 +1364,7 @@ module Google
1346
1364
  property :query, as: 'query'
1347
1365
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequestQueryExpansionSpec::Representation
1348
1366
 
1367
+ property :search_mode, as: 'searchMode'
1349
1368
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo::Representation
1350
1369
 
1351
1370
  collection :variant_rollup_keys, as: 'variantRollupKeys'
@@ -1578,7 +1597,13 @@ module Google
1578
1597
  end
1579
1598
  end
1580
1599
 
1581
- class GoogleCloudRetailV2alphaEnrollSolutionMetadata
1600
+ class GoogleCloudRetailV2alphaAddLocalInventoriesMetadata
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ end
1604
+ end
1605
+
1606
+ class GoogleCloudRetailV2alphaAddLocalInventoriesResponse
1582
1607
  # @private
1583
1608
  class Representation < Google::Apis::Core::JsonRepresentation
1584
1609
  end
@@ -1706,6 +1731,18 @@ module Google
1706
1731
  end
1707
1732
  end
1708
1733
 
1734
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata
1735
+ # @private
1736
+ class Representation < Google::Apis::Core::JsonRepresentation
1737
+ end
1738
+ end
1739
+
1740
+ class GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse
1741
+ # @private
1742
+ class Representation < Google::Apis::Core::JsonRepresentation
1743
+ end
1744
+ end
1745
+
1709
1746
  class GoogleCloudRetailV2alphaSetInventoryMetadata
1710
1747
  # @private
1711
1748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -67,10 +67,10 @@ module Google
67
67
  # cloud-retail, contact Cloud Retail support team first.
68
68
  # @param [String] device_type
69
69
  # The device type context for completion suggestions. It is useful to apply
70
- # different suggestions on different device types, e.g. DESKTOP, MOBILE. If it
71
- # is empty, the suggestions are across all device types. Supported formats: *
72
- # UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with
73
- # OTHER_, e.g. OTHER_IPHONE.
70
+ # different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If
71
+ # it is empty, the suggestions are across all device types. Supported formats: *
72
+ # `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with
73
+ # `OTHER_`, e.g. `OTHER_IPHONE`.
74
74
  # @param [Array<String>, String] language_codes
75
75
  # The list of languages of the query. This is the BCP-47 language code, such as "
76
76
  # en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages]
@@ -886,9 +886,8 @@ module Google
886
886
  # @param [String] placement
887
887
  # Required. The resource name of the search engine placement, such as `projects/*
888
888
  # /locations/global/catalogs/default_catalog/placements/default_search`. This
889
- # field is used to identify the set of models that will be used to make the
890
- # search. We currently support one placement with the following ID: * `
891
- # 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.
892
891
  # @param [Google::Apis::RetailV2::GoogleCloudRetailV2SearchRequest] google_cloud_retail_v2_search_request_object
893
892
  # @param [String] fields
894
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.17.0
4
+ version: 0.21.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-10-11 00:00:00.000000000 Z
11
+ date: 2021-11-15 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.17.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.21.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: