google-apis-retail_v2beta 0.69.0 → 0.71.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: 7edaec71862a26e4e1fe62f4e24c64c62a835436dbb76d77ef54bb889723e532
4
- data.tar.gz: 6a45cba050b42749a5b243bd4231d14747a61daa10374a5c9eed51a7804ace28
3
+ metadata.gz: 14690fe47a59b33fb344e33be05d2764b31def7a8a38bb28112bb8aa38a2babd
4
+ data.tar.gz: 48de122593a24ca303920926a76b19fbe262b586ea634c1cac1cd9b4ceb235e1
5
5
  SHA512:
6
- metadata.gz: 684f77cdc20ff9cb99cd8945f998f7f155885878f1bbd416cb37924d7a5af9900abda71dba9e0308537861934f09ab30f3acc3c20a39230aefc065d7c551806a
7
- data.tar.gz: 99768a97d9ee83f6535680168815ebba8d76c9112ee091bb2a55c2d218aa0a801f05ad0b8e16d55201bc35dbfb06a2f3e0e4e7f85d031ce7c148b6dd5be31276
6
+ metadata.gz: a1491a76e6bdb58868c5fc816370af68e6d3546d1d9a071e9c290825bf8c179c5f05c44899df810c7f6091879888a069e747ad837a699e4e19c943e694af0ef2
7
+ data.tar.gz: a6bcabc0a3915920353b641f6565f95cb70482fc298a61d34f0833821e964740e7882b4f97ce7965c8c0ed56e15fbb2e11d0ee0bc048409fc6418545f368f9bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.71.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230406
6
+
7
+ ### v0.70.0 (2023-03-26)
8
+
9
+ * Regenerated from discovery document revision 20230321
10
+
3
11
  ### v0.69.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230309
@@ -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
@@ -5747,8 +6027,16 @@ module Google
5747
6027
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec]
5748
6028
  attr_accessor :dynamic_facet_spec
5749
6029
 
6030
+ # The entity for customers that may run multiple different entities, domains,
6031
+ # sites or regions, for example, "Google US", "Google Ads", "Waymo", "google.com"
6032
+ # , "youtube.com", etc. If this is set, it should be exactly matched with
6033
+ # UserEvent.entity to get search results boosted by entity.
6034
+ # Corresponds to the JSON property `entity`
6035
+ # @return [String]
6036
+ attr_accessor :entity
6037
+
5750
6038
  # Facet specifications for faceted search. If empty, no facets are returned. A
5751
- # maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is
6039
+ # maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is
5752
6040
  # returned.
5753
6041
  # Corresponds to the JSON property `facetSpecs`
5754
6042
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec>]
@@ -5904,6 +6192,7 @@ module Google
5904
6192
  @branch = args[:branch] if args.key?(:branch)
5905
6193
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
5906
6194
  @dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
6195
+ @entity = args[:entity] if args.key?(:entity)
5907
6196
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
5908
6197
  @filter = args[:filter] if args.key?(:filter)
5909
6198
  @labels = args[:labels] if args.key?(:labels)
@@ -6940,12 +7229,13 @@ module Google
6940
7229
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDetail]
6941
7230
  attr_accessor :completion_detail
6942
7231
 
6943
- # Represents the domain of the user event, for projects that combine domains.
6944
- # For example: retailer can have events from multiple domains like retailer-main,
6945
- # retailer-baby, retailer-meds, etc. under one project.
6946
- # Corresponds to the JSON property `domain`
7232
+ # The entity for customers that may run multiple different entities, domains,
7233
+ # sites or regions, for example, "Google US", "Google Ads", "Waymo", "google.com"
7234
+ # , "youtube.com", etc. It is recommended to set this field to get better per-
7235
+ # entity search, completion and prediction results.
7236
+ # Corresponds to the JSON property `entity`
6947
7237
  # @return [String]
6948
- attr_accessor :domain
7238
+ attr_accessor :entity
6949
7239
 
6950
7240
  # Only required for UserEventService.ImportUserEvents method. Timestamp of when
6951
7241
  # the user event happened.
@@ -7102,7 +7392,7 @@ module Google
7102
7392
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
7103
7393
  @cart_id = args[:cart_id] if args.key?(:cart_id)
7104
7394
  @completion_detail = args[:completion_detail] if args.key?(:completion_detail)
7105
- @domain = args[:domain] if args.key?(:domain)
7395
+ @entity = args[:entity] if args.key?(:entity)
7106
7396
  @event_time = args[:event_time] if args.key?(:event_time)
7107
7397
  @event_type = args[:event_type] if args.key?(:event_type)
7108
7398
  @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
@@ -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.69.0"
19
+ GEM_VERSION = "0.71.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 = "20230309"
25
+ REVISION = "20230406"
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
@@ -2777,6 +2877,7 @@ module Google
2777
2877
  property :canonical_filter, as: 'canonicalFilter'
2778
2878
  property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec::Representation
2779
2879
 
2880
+ property :entity, as: 'entity'
2780
2881
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestFacetSpec::Representation
2781
2882
 
2782
2883
  property :filter, as: 'filter'
@@ -3026,7 +3127,7 @@ module Google
3026
3127
  property :cart_id, as: 'cartId'
3027
3128
  property :completion_detail, as: 'completionDetail', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDetail::Representation
3028
3129
 
3029
- property :domain, as: 'domain'
3130
+ property :entity, as: 'entity'
3030
3131
  property :event_time, as: 'eventTime'
3031
3132
  property :event_type, as: 'eventType'
3032
3133
  collection :experiment_ids, as: 'experimentIds'
@@ -71,6 +71,11 @@ module Google
71
71
  # types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across
72
72
  # all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
73
73
  # MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
74
+ # @param [String] entity
75
+ # The entity for customers that may run multiple different entities, domains,
76
+ # sites or regions, for example, "Google US", "Google Ads", "Waymo", "google.com"
77
+ # , "youtube.com", etc. If this is set, it should be exactly matched with
78
+ # UserEvent.entity to get per-entity autocomplete results.
74
79
  # @param [Array<String>, String] language_codes
75
80
  # Note that this field applies for `user-data` dataset only. For requests with `
76
81
  # cloud-retail` dataset, setting this field has no effect. The language filters
@@ -110,13 +115,14 @@ module Google
110
115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
111
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
112
117
  # @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)
118
+ def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
114
119
  command = make_simple_command(:get, 'v2beta/{+catalog}:completeQuery', options)
115
120
  command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponse::Representation
116
121
  command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompleteQueryResponse
117
122
  command.params['catalog'] = catalog unless catalog.nil?
118
123
  command.query['dataset'] = dataset unless dataset.nil?
119
124
  command.query['deviceType'] = device_type unless device_type.nil?
125
+ command.query['entity'] = entity unless entity.nil?
120
126
  command.query['languageCodes'] = language_codes unless language_codes.nil?
121
127
  command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
122
128
  command.query['query'] = query unless query.nil?
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.69.0
4
+ version: 0.71.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-19 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.71.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: []