google-apis-retail_v2beta 0.68.0 → 0.70.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: 4a537066a6261bd21833fe4e347d0253a32b8bde2b81a68250fb59ce661d40b4
4
- data.tar.gz: e0fd5bba3c189feb79089516628af86f6bdfe9b4468ff1d2d3156348b68c0aaa
3
+ metadata.gz: 9453812076fa8d8ea9a232ef3c7899a9b45fb180804790520d98a2977d6ee861
4
+ data.tar.gz: eb5bbee381c806a3a1e81873b9db6d0cb7531a636859819e8445d5c252a8860c
5
5
  SHA512:
6
- metadata.gz: 2d30ab68d27d3ae4cbaec9edc5089ad312a62c17c5d8fbd38fca32bb3101e2d21bfbf6e7e97621739aa7f45fd7b7e6a93badec14e0d3e0edc4a1249f54a58fad
7
- data.tar.gz: f566db64524730dadfbd177062a02a3fdd283c7aca0c5b09a02c266b060389bb6e161efcdb8af6f4353a236542ac671f3c98e1c2d106b433a968b95f17cb8a2d
6
+ metadata.gz: d03c9af0f11a2d9cf07629d1a214af11736e219db5ee6ac01a9870266252fa9eae8716baa1c34c04d707c3ddb55f52341dc214e22c8514b10cc349ba8cfeccfc
7
+ data.tar.gz: df4386bff199bb77047075aadb79c3ddf8b5a248b3e708970e17c154a54820495fca83a6e64caee6c608f3ea663324ab6c018214f6c62e7bd15d447450d3d40f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.70.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230321
6
+
7
+ ### v0.69.0 (2023-03-19)
8
+
9
+ * Regenerated from discovery document revision 20230309
10
+
3
11
  ### v0.68.0 (2023-03-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20230223
@@ -979,6 +979,32 @@ module Google
979
979
  end
980
980
  end
981
981
 
982
+ # Common metadata related to the progress of the operations.
983
+ class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
984
+ include Google::Apis::Core::Hashable
985
+
986
+ # Operation create time.
987
+ # Corresponds to the JSON property `createTime`
988
+ # @return [String]
989
+ attr_accessor :create_time
990
+
991
+ # Operation last update time. If the operation is done, this is also the finish
992
+ # time.
993
+ # Corresponds to the JSON property `updateTime`
994
+ # @return [String]
995
+ attr_accessor :update_time
996
+
997
+ def initialize(**args)
998
+ update!(**args)
999
+ end
1000
+
1001
+ # Update properties of this object
1002
+ def update!(**args)
1003
+ @create_time = args[:create_time] if args.key?(:create_time)
1004
+ @update_time = args[:update_time] if args.key?(:update_time)
1005
+ end
1006
+ end
1007
+
982
1008
  # Metadata associated with a create operation.
983
1009
  class GoogleCloudRetailV2alphaCreateModelMetadata
984
1010
  include Google::Apis::Core::Hashable
@@ -1298,6 +1324,120 @@ module Google
1298
1324
  end
1299
1325
  end
1300
1326
 
1327
+ # Represents a link between a Merchant Center account and a branch. Once a link
1328
+ # is established, products from the linked merchant center account will be
1329
+ # streamed to the linked branch. LINT.IfChange(MerchantCenterAccountLink)
1330
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLink
1331
+ include Google::Apis::Core::Hashable
1332
+
1333
+ # Required. The branch id (e.g. 0/1/2) within the catalog that products from
1334
+ # merchant_center_account_id are streamed to. When updating this field, an empty
1335
+ # value will use the currently configured default branch. However, changing the
1336
+ # default branch later on won't change the linked branch here. A single branch
1337
+ # id can only have one linked merchant center account id.
1338
+ # Corresponds to the JSON property `branchId`
1339
+ # @return [String]
1340
+ attr_accessor :branch_id
1341
+
1342
+ # Criteria for the Merchant Center feeds to be ingested via the link. All offers
1343
+ # will be ingested if the list is empty. Otherwise the offers will be ingested
1344
+ # from selected feeds.
1345
+ # Corresponds to the JSON property `feedFilters`
1346
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
1347
+ attr_accessor :feed_filters
1348
+
1349
+ # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
1350
+ # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
1351
+ # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
1352
+ # Corresponds to the JSON property `feedLabel`
1353
+ # @return [String]
1354
+ attr_accessor :feed_label
1355
+
1356
+ # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
1357
+ # final component of name. This field is auto generated and follows the
1358
+ # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
1359
+ # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
1360
+ # Corresponds to the JSON property `id`
1361
+ # @return [String]
1362
+ attr_accessor :id
1363
+
1364
+ # Language of the title/description and other string attributes. Use language
1365
+ # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
1366
+ # 639-1. This specifies the language of offers in Merchant Center that will be
1367
+ # accepted. If empty, no language filtering will be performed. Example value: `
1368
+ # en`.
1369
+ # Corresponds to the JSON property `languageCode`
1370
+ # @return [String]
1371
+ attr_accessor :language_code
1372
+
1373
+ # Required. The linked [Merchant center account id](https://developers.google.
1374
+ # com/shopping-content/guides/accountstatuses). The account must be a standalone
1375
+ # account or a sub-account of a MCA.
1376
+ # Corresponds to the JSON property `merchantCenterAccountId`
1377
+ # @return [Fixnum]
1378
+ attr_accessor :merchant_center_account_id
1379
+
1380
+ # Output only. Immutable. Full resource name of the Merchant Center Account Link,
1381
+ # such as `projects/*/locations/global/catalogs/default_catalog/
1382
+ # merchantCenterAccountLinks/merchant_center_account_link`.
1383
+ # Corresponds to the JSON property `name`
1384
+ # @return [String]
1385
+ attr_accessor :name
1386
+
1387
+ # Output only. GCP project ID.
1388
+ # Corresponds to the JSON property `projectId`
1389
+ # @return [String]
1390
+ attr_accessor :project_id
1391
+
1392
+ # Output only. Represents the state of the link.
1393
+ # Corresponds to the JSON property `state`
1394
+ # @return [String]
1395
+ attr_accessor :state
1396
+
1397
+ def initialize(**args)
1398
+ update!(**args)
1399
+ end
1400
+
1401
+ # Update properties of this object
1402
+ def update!(**args)
1403
+ @branch_id = args[:branch_id] if args.key?(:branch_id)
1404
+ @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
1405
+ @feed_label = args[:feed_label] if args.key?(:feed_label)
1406
+ @id = args[:id] if args.key?(:id)
1407
+ @language_code = args[:language_code] if args.key?(:language_code)
1408
+ @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
1409
+ @name = args[:name] if args.key?(:name)
1410
+ @project_id = args[:project_id] if args.key?(:project_id)
1411
+ @state = args[:state] if args.key?(:state)
1412
+ end
1413
+ end
1414
+
1415
+ # Merchant Center Feed filter criterion.
1416
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
1417
+ include Google::Apis::Core::Hashable
1418
+
1419
+ # Merchant Center primary feed ID.
1420
+ # Corresponds to the JSON property `primaryFeedId`
1421
+ # @return [Fixnum]
1422
+ attr_accessor :primary_feed_id
1423
+
1424
+ # Merchant Center primary feed name. The name is used for the display purposes
1425
+ # only.
1426
+ # Corresponds to the JSON property `primaryFeedName`
1427
+ # @return [String]
1428
+ attr_accessor :primary_feed_name
1429
+
1430
+ def initialize(**args)
1431
+ update!(**args)
1432
+ end
1433
+
1434
+ # Update properties of this object
1435
+ def update!(**args)
1436
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
1437
+ @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
1438
+ end
1439
+ end
1440
+
1301
1441
  # Metadata that describes the training and serving parameters of a Model. A
1302
1442
  # Model can be associated with a ServingConfig and then queried through the
1303
1443
  # Predict API.
@@ -2911,6 +3051,32 @@ module Google
2911
3051
  end
2912
3052
  end
2913
3053
 
3054
+ # Common metadata related to the progress of the operations.
3055
+ class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
3056
+ include Google::Apis::Core::Hashable
3057
+
3058
+ # Operation create time.
3059
+ # Corresponds to the JSON property `createTime`
3060
+ # @return [String]
3061
+ attr_accessor :create_time
3062
+
3063
+ # Operation last update time. If the operation is done, this is also the finish
3064
+ # time.
3065
+ # Corresponds to the JSON property `updateTime`
3066
+ # @return [String]
3067
+ attr_accessor :update_time
3068
+
3069
+ def initialize(**args)
3070
+ update!(**args)
3071
+ end
3072
+
3073
+ # Update properties of this object
3074
+ def update!(**args)
3075
+ @create_time = args[:create_time] if args.key?(:create_time)
3076
+ @update_time = args[:update_time] if args.key?(:update_time)
3077
+ end
3078
+ end
3079
+
2914
3080
  # Metadata associated with a create operation.
2915
3081
  class GoogleCloudRetailV2betaCreateModelMetadata
2916
3082
  include Google::Apis::Core::Hashable
@@ -3812,6 +3978,120 @@ module Google
3812
3978
  end
3813
3979
  end
3814
3980
 
3981
+ # Represents a link between a Merchant Center account and a branch. Once a link
3982
+ # is established, products from the linked merchant center account will be
3983
+ # streamed to the linked branch. LINT.IfChange(MerchantCenterAccountLink)
3984
+ class GoogleCloudRetailV2betaMerchantCenterAccountLink
3985
+ include Google::Apis::Core::Hashable
3986
+
3987
+ # Required. The branch id (e.g. 0/1/2) within the catalog that products from
3988
+ # merchant_center_account_id are streamed to. When updating this field, an empty
3989
+ # value will use the currently configured default branch. However, changing the
3990
+ # default branch later on won't change the linked branch here. A single branch
3991
+ # id can only have one linked merchant center account id.
3992
+ # Corresponds to the JSON property `branchId`
3993
+ # @return [String]
3994
+ attr_accessor :branch_id
3995
+
3996
+ # Criteria for the Merchant Center feeds to be ingested via the link. All offers
3997
+ # will be ingested if the list is empty. Otherwise the offers will be ingested
3998
+ # from selected feeds.
3999
+ # Corresponds to the JSON property `feedFilters`
4000
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
4001
+ attr_accessor :feed_filters
4002
+
4003
+ # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
4004
+ # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
4005
+ # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
4006
+ # Corresponds to the JSON property `feedLabel`
4007
+ # @return [String]
4008
+ attr_accessor :feed_label
4009
+
4010
+ # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
4011
+ # final component of name. This field is auto generated and follows the
4012
+ # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
4013
+ # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
4014
+ # Corresponds to the JSON property `id`
4015
+ # @return [String]
4016
+ attr_accessor :id
4017
+
4018
+ # Language of the title/description and other string attributes. Use language
4019
+ # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
4020
+ # 639-1. This specifies the language of offers in Merchant Center that will be
4021
+ # accepted. If empty, no language filtering will be performed. Example value: `
4022
+ # en`.
4023
+ # Corresponds to the JSON property `languageCode`
4024
+ # @return [String]
4025
+ attr_accessor :language_code
4026
+
4027
+ # Required. The linked [Merchant center account id](https://developers.google.
4028
+ # com/shopping-content/guides/accountstatuses). The account must be a standalone
4029
+ # account or a sub-account of a MCA.
4030
+ # Corresponds to the JSON property `merchantCenterAccountId`
4031
+ # @return [Fixnum]
4032
+ attr_accessor :merchant_center_account_id
4033
+
4034
+ # Output only. Immutable. Full resource name of the Merchant Center Account Link,
4035
+ # such as `projects/*/locations/global/catalogs/default_catalog/
4036
+ # merchantCenterAccountLinks/merchant_center_account_link`.
4037
+ # Corresponds to the JSON property `name`
4038
+ # @return [String]
4039
+ attr_accessor :name
4040
+
4041
+ # Output only. GCP project ID.
4042
+ # Corresponds to the JSON property `projectId`
4043
+ # @return [String]
4044
+ attr_accessor :project_id
4045
+
4046
+ # Output only. Represents the state of the link.
4047
+ # Corresponds to the JSON property `state`
4048
+ # @return [String]
4049
+ attr_accessor :state
4050
+
4051
+ def initialize(**args)
4052
+ update!(**args)
4053
+ end
4054
+
4055
+ # Update properties of this object
4056
+ def update!(**args)
4057
+ @branch_id = args[:branch_id] if args.key?(:branch_id)
4058
+ @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
4059
+ @feed_label = args[:feed_label] if args.key?(:feed_label)
4060
+ @id = args[:id] if args.key?(:id)
4061
+ @language_code = args[:language_code] if args.key?(:language_code)
4062
+ @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
4063
+ @name = args[:name] if args.key?(:name)
4064
+ @project_id = args[:project_id] if args.key?(:project_id)
4065
+ @state = args[:state] if args.key?(:state)
4066
+ end
4067
+ end
4068
+
4069
+ # Merchant Center Feed filter criterion.
4070
+ class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
4071
+ include Google::Apis::Core::Hashable
4072
+
4073
+ # Merchant Center primary feed ID.
4074
+ # Corresponds to the JSON property `primaryFeedId`
4075
+ # @return [Fixnum]
4076
+ attr_accessor :primary_feed_id
4077
+
4078
+ # Merchant Center primary feed name. The name is used for the display purposes
4079
+ # only.
4080
+ # Corresponds to the JSON property `primaryFeedName`
4081
+ # @return [String]
4082
+ attr_accessor :primary_feed_name
4083
+
4084
+ def initialize(**args)
4085
+ update!(**args)
4086
+ end
4087
+
4088
+ # Update properties of this object
4089
+ def update!(**args)
4090
+ @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
4091
+ @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
4092
+ end
4093
+ end
4094
+
3815
4095
  # Merchant Center Feed filter criterion.
3816
4096
  class GoogleCloudRetailV2betaMerchantCenterFeedFilter
3817
4097
  include Google::Apis::Core::Hashable
@@ -4150,9 +4430,9 @@ module Google
4150
4430
  # filterSyntaxV2` is set to true under the `params` field, then attribute-based
4151
4431
  # expressions are expected instead of the above described tag-based syntax.
4152
4432
  # Examples: * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) *
4153
- # (brands: ANY("Pixel")) AND (colors: ANY("Red") OR categories: ANY("Phones"))
4154
- # For more information, see [Filter recommendations](https://cloud.google.com/
4155
- # retail/docs/filter-recs).
4433
+ # (availability: ANY("IN_STOCK")) AND (colors: ANY("Red") OR categories: ANY("
4434
+ # Phones")) For more information, see [Filter recommendations](https://cloud.
4435
+ # google.com/retail/docs/filter-recs).
4156
4436
  # Corresponds to the JSON property `filter`
4157
4437
  # @return [String]
4158
4438
  attr_accessor :filter
@@ -5719,6 +5999,13 @@ module Google
5719
5999
  class GoogleCloudRetailV2betaSearchRequest
5720
6000
  include Google::Apis::Core::Hashable
5721
6001
 
6002
+ # Represents the banner in request, for projects that combine banners. For
6003
+ # example: a retailer can sell products under different banners like retailer-
6004
+ # main, retailer-baby, retailer-meds, etc. under one project.
6005
+ # Corresponds to the JSON property `banner`
6006
+ # @return [String]
6007
+ attr_accessor :banner
6008
+
5722
6009
  # Boost specification to boost certain items.
5723
6010
  # Corresponds to the JSON property `boostSpec`
5724
6011
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpec]
@@ -5900,6 +6187,7 @@ module Google
5900
6187
 
5901
6188
  # Update properties of this object
5902
6189
  def update!(**args)
6190
+ @banner = args[:banner] if args.key?(:banner)
5903
6191
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
5904
6192
  @branch = args[:branch] if args.key?(:branch)
5905
6193
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
@@ -6103,9 +6391,13 @@ module Google
6103
6391
  # @return [Array<String>]
6104
6392
  attr_accessor :contains
6105
6393
 
6106
- # Set only if values should be bucketized into intervals. Must be set for facets
6107
- # with numerical values. Must not be set for facet with text values. Maximum
6108
- # number of intervals is 30.
6394
+ # For all numerical facet keys that appear in the list of products from the
6395
+ # catalog, the percentiles 0, 10, 30, 50, 70, 90 and 100 are computed from their
6396
+ # distribution weekly. If the model assigns a high score to a numerical facet
6397
+ # key and its intervals are not specified in the search request, these
6398
+ # percentiles will become the bounds for its intervals and will be returned in
6399
+ # the response. If the facet key intervals are specified in the request, then
6400
+ # the specified intervals will be returned instead.
6109
6401
  # Corresponds to the JSON property `intervals`
6110
6402
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval>]
6111
6403
  attr_accessor :intervals
@@ -6922,6 +7214,13 @@ module Google
6922
7214
  # @return [String]
6923
7215
  attr_accessor :attribution_token
6924
7216
 
7217
+ # Represents the banner of the user event, for projects that combine banners.
7218
+ # For example: retailer can have events from multiple banners like retailer-main,
7219
+ # retailer-baby, retailer-meds, etc. under one project.
7220
+ # Corresponds to the JSON property `banner`
7221
+ # @return [String]
7222
+ attr_accessor :banner
7223
+
6925
7224
  # The ID or name of the associated shopping cart. This ID is used to associate
6926
7225
  # multiple items added or present in the cart before purchase. This can only be
6927
7226
  # set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view`
@@ -7089,6 +7388,7 @@ module Google
7089
7388
  def update!(**args)
7090
7389
  @attributes = args[:attributes] if args.key?(:attributes)
7091
7390
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
7391
+ @banner = args[:banner] if args.key?(:banner)
7092
7392
  @cart_id = args[:cart_id] if args.key?(:cart_id)
7093
7393
  @completion_detail = args[:completion_detail] if args.key?(:completion_detail)
7094
7394
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -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.68.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230223"
25
+ REVISION = "20230321"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class GoogleCloudRetailV2alphaCreateModelMetadata
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -310,6 +316,18 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLink
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
313
331
  class GoogleCloudRetailV2alphaModel
314
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
333
 
@@ -604,6 +622,12 @@ module Google
604
622
  include Google::Apis::Core::JsonObjectSupport
605
623
  end
606
624
 
625
+ class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
607
631
  class GoogleCloudRetailV2betaCreateModelMetadata
608
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
633
 
@@ -772,6 +796,18 @@ module Google
772
796
  include Google::Apis::Core::JsonObjectSupport
773
797
  end
774
798
 
799
+ class GoogleCloudRetailV2betaMerchantCenterAccountLink
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
775
811
  class GoogleCloudRetailV2betaMerchantCenterFeedFilter
776
812
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
813
 
@@ -1526,6 +1562,14 @@ module Google
1526
1562
  end
1527
1563
  end
1528
1564
 
1565
+ class GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ property :create_time, as: 'createTime'
1569
+ property :update_time, as: 'updateTime'
1570
+ end
1571
+ end
1572
+
1529
1573
  class GoogleCloudRetailV2alphaCreateModelMetadata
1530
1574
  # @private
1531
1575
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1630,6 +1674,30 @@ module Google
1630
1674
  end
1631
1675
  end
1632
1676
 
1677
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLink
1678
+ # @private
1679
+ class Representation < Google::Apis::Core::JsonRepresentation
1680
+ property :branch_id, as: 'branchId'
1681
+ collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
1682
+
1683
+ property :feed_label, as: 'feedLabel'
1684
+ property :id, as: 'id'
1685
+ property :language_code, as: 'languageCode'
1686
+ property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
1687
+ property :name, as: 'name'
1688
+ property :project_id, as: 'projectId'
1689
+ property :state, as: 'state'
1690
+ end
1691
+ end
1692
+
1693
+ class GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter
1694
+ # @private
1695
+ class Representation < Google::Apis::Core::JsonRepresentation
1696
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
1697
+ property :primary_feed_name, as: 'primaryFeedName'
1698
+ end
1699
+ end
1700
+
1633
1701
  class GoogleCloudRetailV2alphaModel
1634
1702
  # @private
1635
1703
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2061,6 +2129,14 @@ module Google
2061
2129
  end
2062
2130
  end
2063
2131
 
2132
+ class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
2133
+ # @private
2134
+ class Representation < Google::Apis::Core::JsonRepresentation
2135
+ property :create_time, as: 'createTime'
2136
+ property :update_time, as: 'updateTime'
2137
+ end
2138
+ end
2139
+
2064
2140
  class GoogleCloudRetailV2betaCreateModelMetadata
2065
2141
  # @private
2066
2142
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2324,6 +2400,30 @@ module Google
2324
2400
  end
2325
2401
  end
2326
2402
 
2403
+ class GoogleCloudRetailV2betaMerchantCenterAccountLink
2404
+ # @private
2405
+ class Representation < Google::Apis::Core::JsonRepresentation
2406
+ property :branch_id, as: 'branchId'
2407
+ collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
2408
+
2409
+ property :feed_label, as: 'feedLabel'
2410
+ property :id, as: 'id'
2411
+ property :language_code, as: 'languageCode'
2412
+ property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
2413
+ property :name, as: 'name'
2414
+ property :project_id, as: 'projectId'
2415
+ property :state, as: 'state'
2416
+ end
2417
+ end
2418
+
2419
+ class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
2420
+ # @private
2421
+ class Representation < Google::Apis::Core::JsonRepresentation
2422
+ property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
2423
+ property :primary_feed_name, as: 'primaryFeedName'
2424
+ end
2425
+ end
2426
+
2327
2427
  class GoogleCloudRetailV2betaMerchantCenterFeedFilter
2328
2428
  # @private
2329
2429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2771,6 +2871,7 @@ module Google
2771
2871
  class GoogleCloudRetailV2betaSearchRequest
2772
2872
  # @private
2773
2873
  class Representation < Google::Apis::Core::JsonRepresentation
2874
+ property :banner, as: 'banner'
2774
2875
  property :boost_spec, as: 'boostSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestBoostSpec::Representation
2775
2876
 
2776
2877
  property :branch, as: 'branch'
@@ -3023,6 +3124,7 @@ module Google
3023
3124
  hash :attributes, as: 'attributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute::Representation
3024
3125
 
3025
3126
  property :attribution_token, as: 'attributionToken'
3127
+ property :banner, as: 'banner'
3026
3128
  property :cart_id, as: 'cartId'
3027
3129
  property :completion_detail, as: 'completionDetail', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDetail::Representation
3028
3130
 
@@ -57,6 +57,8 @@ module Google
57
57
  # @param [String] catalog
58
58
  # Required. Catalog for which the completion is performed. Full resource name of
59
59
  # catalog, such as `projects/*/locations/global/catalogs/default_catalog`.
60
+ # @param [String] banner
61
+ # The banner context for completion suggestions.
60
62
  # @param [String] dataset
61
63
  # Determines which dataset to use for fetching completion. "user-data" will use
62
64
  # the imported dataset through CompletionService.ImportCompletionData. "cloud-
@@ -110,11 +112,12 @@ module Google
110
112
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
113
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
114
  # @raise [Google::Apis::AuthorizationError] Authorization is required
113
- def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
115
+ def complete_project_location_catalog_query(catalog, banner: nil, dataset: nil, device_type: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
114
116
  command = make_simple_command(:get, 'v2beta/{+catalog}:completeQuery', options)
115
117
  command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponse::Representation
116
118
  command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponse
117
119
  command.params['catalog'] = catalog unless catalog.nil?
120
+ command.query['banner'] = banner unless banner.nil?
118
121
  command.query['dataset'] = dataset unless dataset.nil?
119
122
  command.query['deviceType'] = device_type unless device_type.nil?
120
123
  command.query['languageCodes'] = language_codes unless language_codes.nil?
@@ -1666,13 +1669,7 @@ module Google
1666
1669
  end
1667
1670
 
1668
1671
  # Lists operations that match the specified filter in the request. If the server
1669
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1670
- # binding allows API services to override the binding to use different resource
1671
- # name schemes, such as `users/*/operations`. To override the binding, API
1672
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1673
- # service configuration. For backwards compatibility, the default name includes
1674
- # the operations collection id, however overriding users must ensure the name
1675
- # binding is the parent resource, without the operations collection id.
1672
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1676
1673
  # @param [String] name
1677
1674
  # The name of the operation's parent resource.
1678
1675
  # @param [String] filter
@@ -2381,13 +2378,7 @@ module Google
2381
2378
  end
2382
2379
 
2383
2380
  # Lists operations that match the specified filter in the request. If the server
2384
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
2385
- # binding allows API services to override the binding to use different resource
2386
- # name schemes, such as `users/*/operations`. To override the binding, API
2387
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
2388
- # service configuration. For backwards compatibility, the default name includes
2389
- # the operations collection id, however overriding users must ensure the name
2390
- # binding is the parent resource, without the operations collection id.
2381
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
2391
2382
  # @param [String] name
2392
2383
  # The name of the operation's parent resource.
2393
2384
  # @param [String] filter
@@ -2458,13 +2449,7 @@ module Google
2458
2449
  end
2459
2450
 
2460
2451
  # Lists operations that match the specified filter in the request. If the server
2461
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
2462
- # binding allows API services to override the binding to use different resource
2463
- # name schemes, such as `users/*/operations`. To override the binding, API
2464
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
2465
- # service configuration. For backwards compatibility, the default name includes
2466
- # the operations collection id, however overriding users must ensure the name
2467
- # binding is the parent resource, without the operations collection id.
2452
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
2468
2453
  # @param [String] name
2469
2454
  # The name of the operation's parent resource.
2470
2455
  # @param [String] filter
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.68.0
4
+ version: 0.70.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: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2023-03-26 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/main/generated/google-apis-retail_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []