google-apis-retail_v2alpha 0.73.0 → 0.74.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8f55eda4658a84aed629800971bc2ef19d3f51131af51965ca65bb3be91c40c
|
4
|
+
data.tar.gz: fde1d2f8328e00e17ceadc6c2242e723db3221cc746e1139c4db8b6ac2991e44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0d427471d03fe866cf1b328f8ca6a39044be82d9e882f804f98c7962757ab581251f6bea6096212b8a1e7a0cfa6f00e596ed364a795414ab5a0791bc7529514
|
7
|
+
data.tar.gz: 9a5b4ee35111122ed10fa43440f9419da911283f651d4a633533becdd9e3fdb15d5647f6be40ad06d7516fcbc01263248239e0a973021599bb38da624e1b7bed
|
data/CHANGELOG.md
CHANGED
@@ -555,6 +555,11 @@ module Google
|
|
555
555
|
# @return [String]
|
556
556
|
attr_accessor :last_tune_time
|
557
557
|
|
558
|
+
# Additional model features config.
|
559
|
+
# Corresponds to the JSON property `modelFeaturesConfig`
|
560
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelModelFeaturesConfig]
|
561
|
+
attr_accessor :model_features_config
|
562
|
+
|
558
563
|
# Required. The fully qualified resource name of the model. Format: `projects/`
|
559
564
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
560
565
|
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
@@ -644,6 +649,7 @@ module Google
|
|
644
649
|
@display_name = args[:display_name] if args.key?(:display_name)
|
645
650
|
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
646
651
|
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
652
|
+
@model_features_config = args[:model_features_config] if args.key?(:model_features_config)
|
647
653
|
@name = args[:name] if args.key?(:name)
|
648
654
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
649
655
|
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
@@ -656,6 +662,46 @@ module Google
|
|
656
662
|
end
|
657
663
|
end
|
658
664
|
|
665
|
+
# More configs of the frequently-bought-together model type.
|
666
|
+
class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
|
667
|
+
include Google::Apis::Core::Hashable
|
668
|
+
|
669
|
+
# Optional. Specifies the context of the model when used in predict requests.
|
670
|
+
# Only settable for the `frequently-bought-together` type. Will default to
|
671
|
+
# MULTI_CONTEXT if not specified.
|
672
|
+
# Corresponds to the JSON property `contextProductsType`
|
673
|
+
# @return [String]
|
674
|
+
attr_accessor :context_products_type
|
675
|
+
|
676
|
+
def initialize(**args)
|
677
|
+
update!(**args)
|
678
|
+
end
|
679
|
+
|
680
|
+
# Update properties of this object
|
681
|
+
def update!(**args)
|
682
|
+
@context_products_type = args[:context_products_type] if args.key?(:context_products_type)
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
# Additional model features config.
|
687
|
+
class GoogleCloudRetailV2ModelModelFeaturesConfig
|
688
|
+
include Google::Apis::Core::Hashable
|
689
|
+
|
690
|
+
# More configs of the frequently-bought-together model type.
|
691
|
+
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
692
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]
|
693
|
+
attr_accessor :frequently_bought_together_config
|
694
|
+
|
695
|
+
def initialize(**args)
|
696
|
+
update!(**args)
|
697
|
+
end
|
698
|
+
|
699
|
+
# Update properties of this object
|
700
|
+
def update!(**args)
|
701
|
+
@frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config)
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
659
705
|
# Represents an ordered combination of valid serving configs, which can be used
|
660
706
|
# for `PAGE_OPTIMIZATION` recommendations.
|
661
707
|
class GoogleCloudRetailV2ModelServingConfigList
|
@@ -1383,6 +1429,25 @@ module Google
|
|
1383
1429
|
# @return [String]
|
1384
1430
|
attr_accessor :exact_searchable_option
|
1385
1431
|
|
1432
|
+
# Set manually for numerical attributes only. If the facet SearchResponse.
|
1433
|
+
# FacetSpec.intervals are not set by the customer for a numerical attribute,
|
1434
|
+
# then a weekly pipeline will calculate some intervals using some percentiles on
|
1435
|
+
# the distribution of all its product numerical attribute values. The latter
|
1436
|
+
# computed intervals might not be ideal for the use case of that attribute. For
|
1437
|
+
# this reason, the customer can set them manually. As another option, for any
|
1438
|
+
# numerical attribute that is passed as a facet key in the request along with
|
1439
|
+
# some given intervals, then these given intervals will be the facet intervals
|
1440
|
+
# returned in the response.
|
1441
|
+
# Corresponds to the JSON property `facetIntervals`
|
1442
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
|
1443
|
+
attr_accessor :facet_intervals
|
1444
|
+
|
1445
|
+
# Each instance represents a list of attribute values to ignore as facet values
|
1446
|
+
# for a specific time range.
|
1447
|
+
# Corresponds to the JSON property `ignoredFacetValues`
|
1448
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues>]
|
1449
|
+
attr_accessor :ignored_facet_values
|
1450
|
+
|
1386
1451
|
# Output only. Indicates whether this attribute has been used by any products. `
|
1387
1452
|
# True` if at least one Product is using this attribute in Product.attributes.
|
1388
1453
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -1456,6 +1521,8 @@ module Google
|
|
1456
1521
|
def update!(**args)
|
1457
1522
|
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
1458
1523
|
@exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
|
1524
|
+
@facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
|
1525
|
+
@ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
|
1459
1526
|
@in_use = args[:in_use] if args.key?(:in_use)
|
1460
1527
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
1461
1528
|
@key = args[:key] if args.key?(:key)
|
@@ -1466,6 +1533,44 @@ module Google
|
|
1466
1533
|
end
|
1467
1534
|
end
|
1468
1535
|
|
1536
|
+
# Facet values to ignore on facets during the specified time range for the given
|
1537
|
+
# SearchResponse.Facet.key attribute.
|
1538
|
+
class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
|
1539
|
+
include Google::Apis::Core::Hashable
|
1540
|
+
|
1541
|
+
# If start time is empty and end time is not empty, then ignore these facet
|
1542
|
+
# values before end time.
|
1543
|
+
# Corresponds to the JSON property `endTime`
|
1544
|
+
# @return [String]
|
1545
|
+
attr_accessor :end_time
|
1546
|
+
|
1547
|
+
# Time range for the current list of facet values to ignore. If multiple time
|
1548
|
+
# ranges are specified for an facet value for the current attribute, consider
|
1549
|
+
# all of them. If both are empty, ignore always. If start time and end time are
|
1550
|
+
# set, then start time must be before end time. If start time is not empty and
|
1551
|
+
# end time is empty, then will ignore these facet values after the start time.
|
1552
|
+
# Corresponds to the JSON property `startTime`
|
1553
|
+
# @return [String]
|
1554
|
+
attr_accessor :start_time
|
1555
|
+
|
1556
|
+
# List of facet values to ignore for the following time range. The facet values
|
1557
|
+
# are the same as the attribute values.
|
1558
|
+
# Corresponds to the JSON property `values`
|
1559
|
+
# @return [Array<String>]
|
1560
|
+
attr_accessor :values
|
1561
|
+
|
1562
|
+
def initialize(**args)
|
1563
|
+
update!(**args)
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
# Update properties of this object
|
1567
|
+
def update!(**args)
|
1568
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1569
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1570
|
+
@values = args[:values] if args.key?(:values)
|
1571
|
+
end
|
1572
|
+
end
|
1573
|
+
|
1469
1574
|
# The color information of a Product.
|
1470
1575
|
class GoogleCloudRetailV2alphaColorInfo
|
1471
1576
|
include Google::Apis::Core::Hashable
|
@@ -1530,8 +1635,8 @@ module Google
|
|
1530
1635
|
attr_accessor :completion_results
|
1531
1636
|
|
1532
1637
|
# Matched recent searches of this user. The maximum number of recent searches is
|
1533
|
-
# 10. This field is a restricted feature.
|
1534
|
-
#
|
1638
|
+
# 10. This field is a restricted feature. If you want to enable it, contact
|
1639
|
+
# Retail Search support. This feature is only available when
|
1535
1640
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
1536
1641
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
1537
1642
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
@@ -1677,8 +1782,8 @@ module Google
|
|
1677
1782
|
attr_accessor :last_denylist_import_operation
|
1678
1783
|
|
1679
1784
|
# Output only. Name of the LRO corresponding to the latest suggestion terms list
|
1680
|
-
# import. Can use GetOperation API to retrieve the latest state of the
|
1681
|
-
# Running Operation.
|
1785
|
+
# import. Can use GetOperation API method to retrieve the latest state of the
|
1786
|
+
# Long Running Operation.
|
1682
1787
|
# Corresponds to the JSON property `lastSuggestionsImportOperation`
|
1683
1788
|
# @return [String]
|
1684
1789
|
attr_accessor :last_suggestions_import_operation
|
@@ -2050,7 +2155,7 @@ module Google
|
|
2050
2155
|
end
|
2051
2156
|
end
|
2052
2157
|
|
2053
|
-
# Metadata for active A/B testing
|
2158
|
+
# Metadata for active A/B testing Experiment.
|
2054
2159
|
class GoogleCloudRetailV2alphaExperimentInfo
|
2055
2160
|
include Google::Apis::Core::Hashable
|
2056
2161
|
|
@@ -2537,9 +2642,11 @@ module Google
|
|
2537
2642
|
# the import is finished, a notification is sent to specified Pub/Sub topic. The
|
2538
2643
|
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2539
2644
|
# projects/`project`/topics/`topic``. It has to be within the same project as
|
2540
|
-
# ImportProductsRequest.parent. Make sure that `
|
2541
|
-
# gserviceaccount.com`
|
2542
|
-
#
|
2645
|
+
# ImportProductsRequest.parent. Make sure that both `cloud-retail-customer-data-
|
2646
|
+
# access@system.gserviceaccount.com` and `service-@gcp-sa-retail.iam.
|
2647
|
+
# gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on the
|
2648
|
+
# topic. Only supported when ImportProductsRequest.reconciliation_mode is set to
|
2649
|
+
# `FULL`.
|
2543
2650
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2544
2651
|
# @return [String]
|
2545
2652
|
attr_accessor :notification_pubsub_topic
|
@@ -3186,6 +3293,11 @@ module Google
|
|
3186
3293
|
# @return [String]
|
3187
3294
|
attr_accessor :last_tune_time
|
3188
3295
|
|
3296
|
+
# Additional model features config.
|
3297
|
+
# Corresponds to the JSON property `modelFeaturesConfig`
|
3298
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig]
|
3299
|
+
attr_accessor :model_features_config
|
3300
|
+
|
3189
3301
|
# Required. The fully qualified resource name of the model. Format: `projects/`
|
3190
3302
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
3191
3303
|
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
@@ -3283,6 +3395,7 @@ module Google
|
|
3283
3395
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3284
3396
|
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
3285
3397
|
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
3398
|
+
@model_features_config = args[:model_features_config] if args.key?(:model_features_config)
|
3286
3399
|
@name = args[:name] if args.key?(:name)
|
3287
3400
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
3288
3401
|
@page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
|
@@ -3296,6 +3409,46 @@ module Google
|
|
3296
3409
|
end
|
3297
3410
|
end
|
3298
3411
|
|
3412
|
+
# More configs of the frequently-bought-together model type.
|
3413
|
+
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
3414
|
+
include Google::Apis::Core::Hashable
|
3415
|
+
|
3416
|
+
# Optional. Specifies the context of the model when used in predict requests.
|
3417
|
+
# Only settable for the `frequently-bought-together` type. Will default to
|
3418
|
+
# MULTI_CONTEXT if not specified.
|
3419
|
+
# Corresponds to the JSON property `contextProductsType`
|
3420
|
+
# @return [String]
|
3421
|
+
attr_accessor :context_products_type
|
3422
|
+
|
3423
|
+
def initialize(**args)
|
3424
|
+
update!(**args)
|
3425
|
+
end
|
3426
|
+
|
3427
|
+
# Update properties of this object
|
3428
|
+
def update!(**args)
|
3429
|
+
@context_products_type = args[:context_products_type] if args.key?(:context_products_type)
|
3430
|
+
end
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
# Additional model features config.
|
3434
|
+
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
3435
|
+
include Google::Apis::Core::Hashable
|
3436
|
+
|
3437
|
+
# More configs of the frequently-bought-together model type.
|
3438
|
+
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
3439
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]
|
3440
|
+
attr_accessor :frequently_bought_together_config
|
3441
|
+
|
3442
|
+
def initialize(**args)
|
3443
|
+
update!(**args)
|
3444
|
+
end
|
3445
|
+
|
3446
|
+
# Update properties of this object
|
3447
|
+
def update!(**args)
|
3448
|
+
@frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config)
|
3449
|
+
end
|
3450
|
+
end
|
3451
|
+
|
3299
3452
|
# The PageOptimizationConfig for model training. This determines how many panels
|
3300
3453
|
# to optimize for, and which serving configs to consider for each panel. The
|
3301
3454
|
# purpose of this model is to optimize which ServingConfig to show on which
|
@@ -4999,11 +5152,11 @@ module Google
|
|
4999
5152
|
include Google::Apis::Core::Hashable
|
5000
5153
|
|
5001
5154
|
# A filter to apply on the matching condition results. Supported features: *
|
5002
|
-
# filter must be set. * Filter syntax is identical to SearchRequest.filter.
|
5003
|
-
# more
|
5004
|
-
#
|
5005
|
-
#
|
5006
|
-
#
|
5155
|
+
# filter must be set. * Filter syntax is identical to SearchRequest.filter. For
|
5156
|
+
# more information, see [Filter](/retail/docs/filter-and-order#filter). * To
|
5157
|
+
# filter products with product ID "product_1" or "product_2", and color "Red" or
|
5158
|
+
# "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("
|
5159
|
+
# Red", "Blue")) *
|
5007
5160
|
# Corresponds to the JSON property `filter`
|
5008
5161
|
# @return [String]
|
5009
5162
|
attr_accessor :filter
|
@@ -5171,9 +5324,9 @@ module Google
|
|
5171
5324
|
# checking any filters on the search page. The filter applied to every search
|
5172
5325
|
# request when quality improvement such as query expansion is needed. For
|
5173
5326
|
# example, if a query does not have enough results, an expanded query with
|
5174
|
-
# SearchRequest.canonical_filter
|
5175
|
-
#
|
5176
|
-
#
|
5327
|
+
# SearchRequest.canonical_filter is returned as a supplement of the original
|
5328
|
+
# query. This field is strongly recommended to achieve high search quality. For
|
5329
|
+
# more information about filter syntax, see SearchRequest.filter.
|
5177
5330
|
# Corresponds to the JSON property `canonicalFilter`
|
5178
5331
|
# @return [String]
|
5179
5332
|
attr_accessor :canonical_filter
|
@@ -5200,8 +5353,8 @@ module Google
|
|
5200
5353
|
|
5201
5354
|
# The filter syntax consists of an expression language for constructing a
|
5202
5355
|
# predicate from one or more fields of the products being filtered. Filter
|
5203
|
-
# expression is case-sensitive.
|
5204
|
-
#
|
5356
|
+
# expression is case-sensitive. For more information, see [Filter](https://cloud.
|
5357
|
+
# google.com/retail/docs/filter-and-order#filter). If this field is
|
5205
5358
|
# unrecognizable, an INVALID_ARGUMENT is returned.
|
5206
5359
|
# Corresponds to the JSON property `filter`
|
5207
5360
|
# @return [String]
|
@@ -5216,8 +5369,9 @@ module Google
|
|
5216
5369
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
5217
5370
|
# a label must be unique. However, you can use the same key with multiple
|
5218
5371
|
# resources. * Keys must start with a lowercase letter or international
|
5219
|
-
# character.
|
5220
|
-
# manager/docs/creating-managing-labels#requirements)
|
5372
|
+
# character. For more information, see [Requirements for labels](https://cloud.
|
5373
|
+
# google.com/resource-manager/docs/creating-managing-labels#requirements) in the
|
5374
|
+
# Resource Manager documentation.
|
5221
5375
|
# Corresponds to the JSON property `labels`
|
5222
5376
|
# @return [Hash<String,String>]
|
5223
5377
|
attr_accessor :labels
|
@@ -5232,8 +5386,8 @@ module Google
|
|
5232
5386
|
|
5233
5387
|
# The order in which products are returned. Products can be ordered by a field
|
5234
5388
|
# in an Product object. Leave it unset if ordered by relevance. OrderBy
|
5235
|
-
# expression is case-sensitive.
|
5236
|
-
#
|
5389
|
+
# expression is case-sensitive. For more information, see [Order](https://cloud.
|
5390
|
+
# google.com/retail/docs/filter-and-order#order). If this field is
|
5237
5391
|
# unrecognizable, an INVALID_ARGUMENT is returned.
|
5238
5392
|
# Corresponds to the JSON property `orderBy`
|
5239
5393
|
# @return [String]
|
@@ -5284,8 +5438,8 @@ module Google
|
|
5284
5438
|
|
5285
5439
|
# The relevance threshold of the search results. Defaults to RelevanceThreshold.
|
5286
5440
|
# HIGH, which means only the most relevant results are shown, and the least
|
5287
|
-
# number of results are returned.
|
5288
|
-
# cloud.google.com/retail/docs/result-size#relevance_thresholding).
|
5441
|
+
# number of results are returned. For more information, see [Adjust result size](
|
5442
|
+
# https://cloud.google.com/retail/docs/result-size#relevance_thresholding).
|
5289
5443
|
# Corresponds to the JSON property `relevanceThreshold`
|
5290
5444
|
# @return [String]
|
5291
5445
|
attr_accessor :relevance_threshold
|
@@ -5471,23 +5625,22 @@ module Google
|
|
5471
5625
|
|
5472
5626
|
# Enables dynamic position for this facet. If set to true, the position of this
|
5473
5627
|
# facet among all facets in the response is determined by Google Retail Search.
|
5474
|
-
# It
|
5475
|
-
#
|
5476
|
-
#
|
5477
|
-
#
|
5478
|
-
#
|
5479
|
-
#
|
5480
|
-
#
|
5481
|
-
#
|
5482
|
-
#
|
5483
|
-
# enable_dynamic_position =
|
5484
|
-
#
|
5485
|
-
#
|
5486
|
-
#
|
5487
|
-
#
|
5488
|
-
#
|
5489
|
-
#
|
5490
|
-
# enable_dynamic_position are false.
|
5628
|
+
# It is ordered together with dynamic facets if dynamic facets is enabled. If
|
5629
|
+
# set to false, the position of this facet in the response is the same as in the
|
5630
|
+
# request, and it is ranked before the facets with dynamic position enable and
|
5631
|
+
# all dynamic facets. For example, you may always want to have rating facet
|
5632
|
+
# returned in the response, but it's not necessarily to always display the
|
5633
|
+
# rating facet at the top. In that case, you can set enable_dynamic_position to
|
5634
|
+
# true so that the position of rating facet in response is determined by Google
|
5635
|
+
# Retail Search. Another example, assuming you have the following facets in the
|
5636
|
+
# request: * "rating", enable_dynamic_position = true * "price",
|
5637
|
+
# enable_dynamic_position = false * "brands", enable_dynamic_position = false
|
5638
|
+
# And also you have a dynamic facets enable, which generates a facet "gender".
|
5639
|
+
# Then, the final order of the facets in the response can be ("price", "brands",
|
5640
|
+
# "rating", "gender") or ("price", "brands", "gender", "rating") depends on how
|
5641
|
+
# Google Retail Search orders "gender" and "rating" facets. However, notice that
|
5642
|
+
# "price" and "brands" are always ranked at first and second position because
|
5643
|
+
# their enable_dynamic_position values are false.
|
5491
5644
|
# Corresponds to the JSON property `enableDynamicPosition`
|
5492
5645
|
# @return [Boolean]
|
5493
5646
|
attr_accessor :enable_dynamic_position
|
@@ -5551,8 +5704,8 @@ module Google
|
|
5551
5704
|
|
5552
5705
|
# Only get facet values that contains the given strings. For example, suppose "
|
5553
5706
|
# categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe".
|
5554
|
-
# If set "contains" to "Shoe", the "categories" facet
|
5555
|
-
#
|
5707
|
+
# If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe"
|
5708
|
+
# and "Men > Shoe". Only supported on textual fields. Maximum is 10.
|
5556
5709
|
# Corresponds to the JSON property `contains`
|
5557
5710
|
# @return [Array<String>]
|
5558
5711
|
attr_accessor :contains
|
@@ -5560,12 +5713,12 @@ module Google
|
|
5560
5713
|
# Set only if values should be bucketized into intervals. Must be set for facets
|
5561
5714
|
# with numerical values. Must not be set for facet with text values. Maximum
|
5562
5715
|
# number of intervals is 40. For all numerical facet keys that appear in the
|
5563
|
-
# list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90 and
|
5716
|
+
# list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and
|
5564
5717
|
# 100 are computed from their distribution weekly. If the model assigns a high
|
5565
5718
|
# score to a numerical facet key and its intervals are not specified in the
|
5566
|
-
# search request, these percentiles
|
5567
|
-
#
|
5568
|
-
#
|
5719
|
+
# search request, these percentiles become the bounds for its intervals and are
|
5720
|
+
# returned in the response. If the facet key intervals are specified in the
|
5721
|
+
# request, then the specified intervals are returned instead.
|
5569
5722
|
# Corresponds to the JSON property `intervals`
|
5570
5723
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
|
5571
5724
|
attr_accessor :intervals
|
@@ -5599,7 +5752,7 @@ module Google
|
|
5599
5752
|
|
5600
5753
|
# Only get facet values that start with the given string prefix. For example,
|
5601
5754
|
# suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men
|
5602
|
-
# > Shoe". If set "prefixes" to "Women", the "categories" facet
|
5755
|
+
# > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "
|
5603
5756
|
# Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum
|
5604
5757
|
# is 10.
|
5605
5758
|
# Corresponds to the JSON property `prefixes`
|
@@ -5607,16 +5760,15 @@ module Google
|
|
5607
5760
|
attr_accessor :prefixes
|
5608
5761
|
|
5609
5762
|
# The query that is used to compute facet for the given facet key. When provided,
|
5610
|
-
# it
|
5611
|
-
#
|
5763
|
+
# it overrides the default behavior of facet computation. The query syntax is
|
5764
|
+
# the same as a filter expression. See SearchRequest.filter for detail syntax
|
5612
5765
|
# and limitations. Notice that there is no limitation on FacetKey.key when query
|
5613
|
-
# is specified. In the response, SearchResponse.Facet.values.value
|
5614
|
-
#
|
5615
|
-
#
|
5616
|
-
#
|
5617
|
-
#
|
5618
|
-
#
|
5619
|
-
# 123".
|
5766
|
+
# is specified. In the response, SearchResponse.Facet.values.value is always "1"
|
5767
|
+
# and SearchResponse.Facet.values.count is the number of results that match the
|
5768
|
+
# query. For example, you can set a customized facet for "shipToStore", where
|
5769
|
+
# FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability:
|
5770
|
+
# ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the
|
5771
|
+
# products that are both in stock and ship to store "123".
|
5620
5772
|
# Corresponds to the JSON property `query`
|
5621
5773
|
# @return [String]
|
5622
5774
|
attr_accessor :query
|
@@ -6424,8 +6576,8 @@ module Google
|
|
6424
6576
|
|
6425
6577
|
# The entity for customers that may run multiple different entities, domains,
|
6426
6578
|
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
6427
|
-
# , `youtube.com`, etc.
|
6428
|
-
# entity search, completion and prediction results.
|
6579
|
+
# , `youtube.com`, etc. We recommend that you set this field to get better per-
|
6580
|
+
# entity search, completion, and prediction results.
|
6429
6581
|
# Corresponds to the JSON property `entity`
|
6430
6582
|
# @return [String]
|
6431
6583
|
attr_accessor :entity
|
@@ -7316,6 +7468,11 @@ module Google
|
|
7316
7468
|
# @return [String]
|
7317
7469
|
attr_accessor :last_tune_time
|
7318
7470
|
|
7471
|
+
# Additional model features config.
|
7472
|
+
# Corresponds to the JSON property `modelFeaturesConfig`
|
7473
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig]
|
7474
|
+
attr_accessor :model_features_config
|
7475
|
+
|
7319
7476
|
# Required. The fully qualified resource name of the model. Format: `projects/`
|
7320
7477
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
7321
7478
|
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
@@ -7405,6 +7562,7 @@ module Google
|
|
7405
7562
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7406
7563
|
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
7407
7564
|
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
7565
|
+
@model_features_config = args[:model_features_config] if args.key?(:model_features_config)
|
7408
7566
|
@name = args[:name] if args.key?(:name)
|
7409
7567
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
7410
7568
|
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
@@ -7417,6 +7575,46 @@ module Google
|
|
7417
7575
|
end
|
7418
7576
|
end
|
7419
7577
|
|
7578
|
+
# More configs of the frequently-bought-together model type.
|
7579
|
+
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
7580
|
+
include Google::Apis::Core::Hashable
|
7581
|
+
|
7582
|
+
# Optional. Specifies the context of the model when used in predict requests.
|
7583
|
+
# Only settable for the `frequently-bought-together` type. Will default to
|
7584
|
+
# MULTI_CONTEXT if not specified.
|
7585
|
+
# Corresponds to the JSON property `contextProductsType`
|
7586
|
+
# @return [String]
|
7587
|
+
attr_accessor :context_products_type
|
7588
|
+
|
7589
|
+
def initialize(**args)
|
7590
|
+
update!(**args)
|
7591
|
+
end
|
7592
|
+
|
7593
|
+
# Update properties of this object
|
7594
|
+
def update!(**args)
|
7595
|
+
@context_products_type = args[:context_products_type] if args.key?(:context_products_type)
|
7596
|
+
end
|
7597
|
+
end
|
7598
|
+
|
7599
|
+
# Additional model features config.
|
7600
|
+
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
7601
|
+
include Google::Apis::Core::Hashable
|
7602
|
+
|
7603
|
+
# More configs of the frequently-bought-together model type.
|
7604
|
+
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
7605
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]
|
7606
|
+
attr_accessor :frequently_bought_together_config
|
7607
|
+
|
7608
|
+
def initialize(**args)
|
7609
|
+
update!(**args)
|
7610
|
+
end
|
7611
|
+
|
7612
|
+
# Update properties of this object
|
7613
|
+
def update!(**args)
|
7614
|
+
@frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config)
|
7615
|
+
end
|
7616
|
+
end
|
7617
|
+
|
7420
7618
|
# Represents an ordered combination of valid serving configs, which can be used
|
7421
7619
|
# for `PAGE_OPTIMIZATION` recommendations.
|
7422
7620
|
class GoogleCloudRetailV2betaModelServingConfigList
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2alpha
|
18
18
|
# Version of the google-apis-retail_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.74.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 = "
|
25
|
+
REVISION = "20230420"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,18 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleCloudRetailV2ModelModelFeaturesConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
133
145
|
class GoogleCloudRetailV2ModelServingConfigList
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
147
|
|
@@ -310,6 +322,12 @@ module Google
|
|
310
322
|
include Google::Apis::Core::JsonObjectSupport
|
311
323
|
end
|
312
324
|
|
325
|
+
class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
313
331
|
class GoogleCloudRetailV2alphaColorInfo
|
314
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
333
|
|
@@ -598,6 +616,18 @@ module Google
|
|
598
616
|
include Google::Apis::Core::JsonObjectSupport
|
599
617
|
end
|
600
618
|
|
619
|
+
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
601
631
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
602
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
633
|
|
@@ -1168,6 +1198,18 @@ module Google
|
|
1168
1198
|
include Google::Apis::Core::JsonObjectSupport
|
1169
1199
|
end
|
1170
1200
|
|
1201
|
+
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1209
|
+
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
1211
|
+
end
|
1212
|
+
|
1171
1213
|
class GoogleCloudRetailV2betaModelServingConfigList
|
1172
1214
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1173
1215
|
|
@@ -1445,6 +1487,8 @@ module Google
|
|
1445
1487
|
property :display_name, as: 'displayName'
|
1446
1488
|
property :filtering_option, as: 'filteringOption'
|
1447
1489
|
property :last_tune_time, as: 'lastTuneTime'
|
1490
|
+
property :model_features_config, as: 'modelFeaturesConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelModelFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelModelFeaturesConfig::Representation
|
1491
|
+
|
1448
1492
|
property :name, as: 'name'
|
1449
1493
|
property :optimization_objective, as: 'optimizationObjective'
|
1450
1494
|
property :periodic_tuning_state, as: 'periodicTuningState'
|
@@ -1458,6 +1502,21 @@ module Google
|
|
1458
1502
|
end
|
1459
1503
|
end
|
1460
1504
|
|
1505
|
+
class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
|
1506
|
+
# @private
|
1507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1508
|
+
property :context_products_type, as: 'contextProductsType'
|
1509
|
+
end
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
class GoogleCloudRetailV2ModelModelFeaturesConfig
|
1513
|
+
# @private
|
1514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1515
|
+
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig::Representation
|
1516
|
+
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1461
1520
|
class GoogleCloudRetailV2ModelServingConfigList
|
1462
1521
|
# @private
|
1463
1522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1679,6 +1738,10 @@ module Google
|
|
1679
1738
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1680
1739
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1681
1740
|
property :exact_searchable_option, as: 'exactSearchableOption'
|
1741
|
+
collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
|
1742
|
+
|
1743
|
+
collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues::Representation
|
1744
|
+
|
1682
1745
|
property :in_use, as: 'inUse'
|
1683
1746
|
property :indexable_option, as: 'indexableOption'
|
1684
1747
|
property :key, as: 'key'
|
@@ -1689,6 +1752,15 @@ module Google
|
|
1689
1752
|
end
|
1690
1753
|
end
|
1691
1754
|
|
1755
|
+
class GoogleCloudRetailV2alphaCatalogAttributeIgnoredFacetValues
|
1756
|
+
# @private
|
1757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1758
|
+
property :end_time, as: 'endTime'
|
1759
|
+
property :start_time, as: 'startTime'
|
1760
|
+
collection :values, as: 'values'
|
1761
|
+
end
|
1762
|
+
end
|
1763
|
+
|
1692
1764
|
class GoogleCloudRetailV2alphaColorInfo
|
1693
1765
|
# @private
|
1694
1766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2158,6 +2230,8 @@ module Google
|
|
2158
2230
|
property :display_name, as: 'displayName'
|
2159
2231
|
property :filtering_option, as: 'filteringOption'
|
2160
2232
|
property :last_tune_time, as: 'lastTuneTime'
|
2233
|
+
property :model_features_config, as: 'modelFeaturesConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig::Representation
|
2234
|
+
|
2161
2235
|
property :name, as: 'name'
|
2162
2236
|
property :optimization_objective, as: 'optimizationObjective'
|
2163
2237
|
property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
|
@@ -2173,6 +2247,21 @@ module Google
|
|
2173
2247
|
end
|
2174
2248
|
end
|
2175
2249
|
|
2250
|
+
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
2251
|
+
# @private
|
2252
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2253
|
+
property :context_products_type, as: 'contextProductsType'
|
2254
|
+
end
|
2255
|
+
end
|
2256
|
+
|
2257
|
+
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
2258
|
+
# @private
|
2259
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2260
|
+
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig::Representation
|
2261
|
+
|
2262
|
+
end
|
2263
|
+
end
|
2264
|
+
|
2176
2265
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
2177
2266
|
# @private
|
2178
2267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3124,6 +3213,8 @@ module Google
|
|
3124
3213
|
property :display_name, as: 'displayName'
|
3125
3214
|
property :filtering_option, as: 'filteringOption'
|
3126
3215
|
property :last_tune_time, as: 'lastTuneTime'
|
3216
|
+
property :model_features_config, as: 'modelFeaturesConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig::Representation
|
3217
|
+
|
3127
3218
|
property :name, as: 'name'
|
3128
3219
|
property :optimization_objective, as: 'optimizationObjective'
|
3129
3220
|
property :periodic_tuning_state, as: 'periodicTuningState'
|
@@ -3137,6 +3228,21 @@ module Google
|
|
3137
3228
|
end
|
3138
3229
|
end
|
3139
3230
|
|
3231
|
+
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
3232
|
+
# @private
|
3233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3234
|
+
property :context_products_type, as: 'contextProductsType'
|
3235
|
+
end
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
3239
|
+
# @private
|
3240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3241
|
+
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig::Representation
|
3242
|
+
|
3243
|
+
end
|
3244
|
+
end
|
3245
|
+
|
3140
3246
|
class GoogleCloudRetailV2betaModelServingConfigList
|
3141
3247
|
# @private
|
3142
3248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -75,10 +75,10 @@ module Google
|
|
75
75
|
# If true, attribute suggestions are enabled and provided in response. This
|
76
76
|
# field is only available for "cloud-retail" dataset.
|
77
77
|
# @param [String] entity
|
78
|
-
# The entity for customers
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
78
|
+
# The entity for customers who run multiple entities, domains, sites, or regions,
|
79
|
+
# for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
|
80
|
+
# etc. If this is set, it must be an exact match with UserEvent.entity to get
|
81
|
+
# per-entity autocomplete results.
|
82
82
|
# @param [Array<String>, String] language_codes
|
83
83
|
# Note that this field applies for `user-data` dataset only. For requests with `
|
84
84
|
# cloud-retail` dataset, setting this field has no effect. The language filters
|
@@ -650,13 +650,13 @@ module Google
|
|
650
650
|
execute_or_queue_command(command, &block)
|
651
651
|
end
|
652
652
|
|
653
|
-
#
|
654
|
-
# of ProductService.AddFulfillmentPlaces. ProductService.
|
655
|
-
# achieves the same results but provides more fine-grained
|
656
|
-
# ingesting local inventory data. Incrementally adds place IDs to
|
657
|
-
# fulfillment_info.place_ids. This process is asynchronous and does not
|
658
|
-
# the Product to exist before updating fulfillment information. If the
|
659
|
-
# is valid, the update will be enqueued and processed downstream. As a
|
653
|
+
# We recommend that you use the ProductService.AddLocalInventories method
|
654
|
+
# instead of the ProductService.AddFulfillmentPlaces method. ProductService.
|
655
|
+
# AddLocalInventories achieves the same results but provides more fine-grained
|
656
|
+
# control over ingesting local inventory data. Incrementally adds place IDs to
|
657
|
+
# Product.fulfillment_info.place_ids. This process is asynchronous and does not
|
658
|
+
# require the Product to exist before updating fulfillment information. If the
|
659
|
+
# request is valid, the update will be enqueued and processed downstream. As a
|
660
660
|
# consequence, when a response is returned, the added place IDs are not
|
661
661
|
# immediately manifested in the Product queried by ProductService.GetProduct or
|
662
662
|
# ProductService.ListProducts. The returned Operations will be obsolete after 1
|
@@ -1065,8 +1065,8 @@ module Google
|
|
1065
1065
|
execute_or_queue_command(command, &block)
|
1066
1066
|
end
|
1067
1067
|
|
1068
|
-
#
|
1069
|
-
# instead of ProductService.RemoveFulfillmentPlaces. ProductService.
|
1068
|
+
# We recommend that you use the ProductService.RemoveLocalInventories method
|
1069
|
+
# instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.
|
1070
1070
|
# RemoveLocalInventories achieves the same results but provides more fine-
|
1071
1071
|
# grained control over ingesting local inventory data. Incrementally removes
|
1072
1072
|
# place IDs from a Product.fulfillment_info.place_ids. This process is
|
@@ -1444,17 +1444,12 @@ module Google
|
|
1444
1444
|
execute_or_queue_command(command, &block)
|
1445
1445
|
end
|
1446
1446
|
|
1447
|
-
# Creates a MerchantCenterAccountLink.
|
1448
|
-
# to a different oneof field, if so an INVALID_ARGUMENT is returned.
|
1449
|
-
# @param [String] name
|
1450
|
-
# Output only. Immutable. Full resource name of the Merchant Center Account Link,
|
1451
|
-
# such as `projects/*/locations/global/catalogs/default_catalog/
|
1452
|
-
# merchantCenterAccountLinks/merchant_center_account_link`.
|
1453
|
-
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink] google_cloud_retail_v2alpha_merchant_center_account_link_object
|
1447
|
+
# Creates a MerchantCenterAccountLink.
|
1454
1448
|
# @param [String] parent
|
1455
1449
|
# Required. The branch resource where this MerchantCenterAccountLink will be
|
1456
1450
|
# created. Format: projects/`PROJECT_NUMBER`/locations/global/catalogs/`
|
1457
1451
|
# CATALOG_ID``
|
1452
|
+
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink] google_cloud_retail_v2alpha_merchant_center_account_link_object
|
1458
1453
|
# @param [String] fields
|
1459
1454
|
# Selector specifying which fields to include in a partial response.
|
1460
1455
|
# @param [String] quota_user
|
@@ -1472,14 +1467,13 @@ module Google
|
|
1472
1467
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1473
1468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1474
1469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1475
|
-
def
|
1476
|
-
command = make_simple_command(:post, 'v2alpha/{+
|
1470
|
+
def create_project_location_catalog_merchant_center_account_link(parent, google_cloud_retail_v2alpha_merchant_center_account_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1471
|
+
command = make_simple_command(:post, 'v2alpha/{+parent}/merchantCenterAccountLinks', options)
|
1477
1472
|
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterAccountLink::Representation
|
1478
1473
|
command.request_object = google_cloud_retail_v2alpha_merchant_center_account_link_object
|
1479
1474
|
command.response_representation = Google::Apis::RetailV2alpha::GoogleLongrunningOperation::Representation
|
1480
1475
|
command.response_class = Google::Apis::RetailV2alpha::GoogleLongrunningOperation
|
1481
|
-
command.params['
|
1482
|
-
command.query['parent'] = parent unless parent.nil?
|
1476
|
+
command.params['parent'] = parent unless parent.nil?
|
1483
1477
|
command.query['fields'] = fields unless fields.nil?
|
1484
1478
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1485
1479
|
execute_or_queue_command(command, &block)
|
@@ -1956,7 +1950,7 @@ module Google
|
|
1956
1950
|
# default_serving_config` or the name of the legacy placement resource, such as `
|
1957
1951
|
# projects/*/locations/global/catalogs/default_catalog/placements/default_search`
|
1958
1952
|
# . This field is used to identify the serving config name and the set of models
|
1959
|
-
# that
|
1953
|
+
# that are used to make the search.
|
1960
1954
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
|
1961
1955
|
# @param [String] fields
|
1962
1956
|
# Selector specifying which fields to include in a partial response.
|
@@ -2299,7 +2293,7 @@ module Google
|
|
2299
2293
|
# default_serving_config` or the name of the legacy placement resource, such as `
|
2300
2294
|
# projects/*/locations/global/catalogs/default_catalog/placements/default_search`
|
2301
2295
|
# . This field is used to identify the serving config name and the set of models
|
2302
|
-
# that
|
2296
|
+
# that are used to make the search.
|
2303
2297
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequest] google_cloud_retail_v2alpha_search_request_object
|
2304
2298
|
# @param [String] fields
|
2305
2299
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-retail_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.74.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-04-
|
11
|
+
date: 2023-04-30 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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.74.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|