google-apis-retail_v2alpha 0.73.0 → 0.75.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: 0237f5dcb44c07260da0a482c5e89f8120c0ce1453bd0c793f67cf781d9ce991
|
4
|
+
data.tar.gz: 742eec2214ef8ff8e6fdd6d7dc1196b827bda6da0aa3bcc7401e40b9b2a4abae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27fba2e143c88afb3f993b7d0268e3d3e599c29f562169ef579be20750372c4957b4d0e37b30d48e539ad67348cab1b21ee972ef207b2f0d8b2adeebd3c79dcb
|
7
|
+
data.tar.gz: 75eb0701b172d4aac1f20d2b8c2a0a8619b15f1d04df6b018246822b3e4813630ac1075ee8b0c1d8ea4f40ab3ed6a72f2734fbe2c0bea6bfbbda1a65f310da88
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.75.0 (2023-05-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230504
|
6
|
+
|
7
|
+
### v0.74.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230420
|
10
|
+
|
3
11
|
### v0.73.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230413
|
@@ -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
|
+
# Additional configs for 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 it is used in predict
|
670
|
+
# requests. Can only be set for the `frequently-bought-together` type. If it isn'
|
671
|
+
# t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
|
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
|
+
# Additional configs for 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
|
@@ -1530,8 +1576,8 @@ module Google
|
|
1530
1576
|
attr_accessor :completion_results
|
1531
1577
|
|
1532
1578
|
# Matched recent searches of this user. The maximum number of recent searches is
|
1533
|
-
# 10. This field is a restricted feature.
|
1534
|
-
#
|
1579
|
+
# 10. This field is a restricted feature. If you want to enable it, contact
|
1580
|
+
# Retail Search support. This feature is only available when
|
1535
1581
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
1536
1582
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
1537
1583
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
@@ -1677,8 +1723,8 @@ module Google
|
|
1677
1723
|
attr_accessor :last_denylist_import_operation
|
1678
1724
|
|
1679
1725
|
# 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.
|
1726
|
+
# import. Can use GetOperation API method to retrieve the latest state of the
|
1727
|
+
# Long Running Operation.
|
1682
1728
|
# Corresponds to the JSON property `lastSuggestionsImportOperation`
|
1683
1729
|
# @return [String]
|
1684
1730
|
attr_accessor :last_suggestions_import_operation
|
@@ -2050,7 +2096,7 @@ module Google
|
|
2050
2096
|
end
|
2051
2097
|
end
|
2052
2098
|
|
2053
|
-
# Metadata for active A/B testing
|
2099
|
+
# Metadata for active A/B testing Experiment.
|
2054
2100
|
class GoogleCloudRetailV2alphaExperimentInfo
|
2055
2101
|
include Google::Apis::Core::Hashable
|
2056
2102
|
|
@@ -2537,9 +2583,11 @@ module Google
|
|
2537
2583
|
# the import is finished, a notification is sent to specified Pub/Sub topic. The
|
2538
2584
|
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2539
2585
|
# projects/`project`/topics/`topic``. It has to be within the same project as
|
2540
|
-
# ImportProductsRequest.parent. Make sure that `
|
2541
|
-
# gserviceaccount.com`
|
2542
|
-
#
|
2586
|
+
# ImportProductsRequest.parent. Make sure that both `cloud-retail-customer-data-
|
2587
|
+
# access@system.gserviceaccount.com` and `service-@gcp-sa-retail.iam.
|
2588
|
+
# gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on the
|
2589
|
+
# topic. Only supported when ImportProductsRequest.reconciliation_mode is set to
|
2590
|
+
# `FULL`.
|
2543
2591
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2544
2592
|
# @return [String]
|
2545
2593
|
attr_accessor :notification_pubsub_topic
|
@@ -2918,17 +2966,17 @@ module Google
|
|
2918
2966
|
end
|
2919
2967
|
end
|
2920
2968
|
|
2921
|
-
# Represents a link between a Merchant Center account and a branch.
|
2922
|
-
# is established, products from the linked
|
2923
|
-
#
|
2969
|
+
# Represents a link between a Merchant Center account and a branch. After a link
|
2970
|
+
# is established, products from the linked Merchant Center account are streamed
|
2971
|
+
# to the linked branch.
|
2924
2972
|
class GoogleCloudRetailV2alphaMerchantCenterAccountLink
|
2925
2973
|
include Google::Apis::Core::Hashable
|
2926
2974
|
|
2927
|
-
# Required. The branch
|
2975
|
+
# Required. The branch ID (e.g. 0/1/2) within the catalog that products from
|
2928
2976
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
2929
2977
|
# value will use the currently configured default branch. However, changing the
|
2930
2978
|
# default branch later on won't change the linked branch here. A single branch
|
2931
|
-
#
|
2979
|
+
# ID can only have one linked Merchant Center account ID.
|
2932
2980
|
# Corresponds to the JSON property `branchId`
|
2933
2981
|
# @return [String]
|
2934
2982
|
attr_accessor :branch_id
|
@@ -3058,9 +3106,9 @@ module Google
|
|
3058
3106
|
end
|
3059
3107
|
end
|
3060
3108
|
|
3061
|
-
# Represents a link between a Merchant Center account and a branch.
|
3062
|
-
# is established, products from the linked
|
3063
|
-
#
|
3109
|
+
# Represents a link between a Merchant Center account and a branch. After a link
|
3110
|
+
# is established, products from the linked Merchant Center account are streamed
|
3111
|
+
# to the linked branch.
|
3064
3112
|
class GoogleCloudRetailV2alphaMerchantCenterLink
|
3065
3113
|
include Google::Apis::Core::Hashable
|
3066
3114
|
|
@@ -3068,7 +3116,7 @@ module Google
|
|
3068
3116
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
3069
3117
|
# value will use the currently configured default branch. However, changing the
|
3070
3118
|
# default branch later on won't change the linked branch here. A single branch
|
3071
|
-
# ID can only have one linked
|
3119
|
+
# ID can only have one linked Merchant Center account ID.
|
3072
3120
|
# Corresponds to the JSON property `branchId`
|
3073
3121
|
# @return [String]
|
3074
3122
|
attr_accessor :branch_id
|
@@ -3098,7 +3146,7 @@ module Google
|
|
3098
3146
|
# @return [String]
|
3099
3147
|
attr_accessor :language_code
|
3100
3148
|
|
3101
|
-
# Required. The linked [Merchant
|
3149
|
+
# Required. The linked [Merchant Center account ID](https://developers.google.
|
3102
3150
|
# com/shopping-content/guides/accountstatuses). The account must be a standalone
|
3103
3151
|
# account or a sub-account of a MCA.
|
3104
3152
|
# Corresponds to the JSON property `merchantCenterAccountId`
|
@@ -3186,6 +3234,11 @@ module Google
|
|
3186
3234
|
# @return [String]
|
3187
3235
|
attr_accessor :last_tune_time
|
3188
3236
|
|
3237
|
+
# Additional model features config.
|
3238
|
+
# Corresponds to the JSON property `modelFeaturesConfig`
|
3239
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig]
|
3240
|
+
attr_accessor :model_features_config
|
3241
|
+
|
3189
3242
|
# Required. The fully qualified resource name of the model. Format: `projects/`
|
3190
3243
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
3191
3244
|
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
@@ -3283,6 +3336,7 @@ module Google
|
|
3283
3336
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3284
3337
|
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
3285
3338
|
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
3339
|
+
@model_features_config = args[:model_features_config] if args.key?(:model_features_config)
|
3286
3340
|
@name = args[:name] if args.key?(:name)
|
3287
3341
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
3288
3342
|
@page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
|
@@ -3296,6 +3350,46 @@ module Google
|
|
3296
3350
|
end
|
3297
3351
|
end
|
3298
3352
|
|
3353
|
+
# Additional configs for the frequently-bought-together model type.
|
3354
|
+
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
3355
|
+
include Google::Apis::Core::Hashable
|
3356
|
+
|
3357
|
+
# Optional. Specifies the context of the model when it is used in predict
|
3358
|
+
# requests. Can only be set for the `frequently-bought-together` type. If it isn'
|
3359
|
+
# t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
|
3360
|
+
# Corresponds to the JSON property `contextProductsType`
|
3361
|
+
# @return [String]
|
3362
|
+
attr_accessor :context_products_type
|
3363
|
+
|
3364
|
+
def initialize(**args)
|
3365
|
+
update!(**args)
|
3366
|
+
end
|
3367
|
+
|
3368
|
+
# Update properties of this object
|
3369
|
+
def update!(**args)
|
3370
|
+
@context_products_type = args[:context_products_type] if args.key?(:context_products_type)
|
3371
|
+
end
|
3372
|
+
end
|
3373
|
+
|
3374
|
+
# Additional model features config.
|
3375
|
+
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
3376
|
+
include Google::Apis::Core::Hashable
|
3377
|
+
|
3378
|
+
# Additional configs for the frequently-bought-together model type.
|
3379
|
+
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
3380
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]
|
3381
|
+
attr_accessor :frequently_bought_together_config
|
3382
|
+
|
3383
|
+
def initialize(**args)
|
3384
|
+
update!(**args)
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
# Update properties of this object
|
3388
|
+
def update!(**args)
|
3389
|
+
@frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config)
|
3390
|
+
end
|
3391
|
+
end
|
3392
|
+
|
3299
3393
|
# The PageOptimizationConfig for model training. This determines how many panels
|
3300
3394
|
# to optimize for, and which serving configs to consider for each panel. The
|
3301
3395
|
# purpose of this model is to optimize which ServingConfig to show on which
|
@@ -4999,11 +5093,11 @@ module Google
|
|
4999
5093
|
include Google::Apis::Core::Hashable
|
5000
5094
|
|
5001
5095
|
# 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
|
-
#
|
5096
|
+
# filter must be set. * Filter syntax is identical to SearchRequest.filter. For
|
5097
|
+
# more information, see [Filter](/retail/docs/filter-and-order#filter). * To
|
5098
|
+
# filter products with product ID "product_1" or "product_2", and color "Red" or
|
5099
|
+
# "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("
|
5100
|
+
# Red", "Blue")) *
|
5007
5101
|
# Corresponds to the JSON property `filter`
|
5008
5102
|
# @return [String]
|
5009
5103
|
attr_accessor :filter
|
@@ -5171,9 +5265,9 @@ module Google
|
|
5171
5265
|
# checking any filters on the search page. The filter applied to every search
|
5172
5266
|
# request when quality improvement such as query expansion is needed. For
|
5173
5267
|
# example, if a query does not have enough results, an expanded query with
|
5174
|
-
# SearchRequest.canonical_filter
|
5175
|
-
#
|
5176
|
-
#
|
5268
|
+
# SearchRequest.canonical_filter is returned as a supplement of the original
|
5269
|
+
# query. This field is strongly recommended to achieve high search quality. For
|
5270
|
+
# more information about filter syntax, see SearchRequest.filter.
|
5177
5271
|
# Corresponds to the JSON property `canonicalFilter`
|
5178
5272
|
# @return [String]
|
5179
5273
|
attr_accessor :canonical_filter
|
@@ -5200,8 +5294,8 @@ module Google
|
|
5200
5294
|
|
5201
5295
|
# The filter syntax consists of an expression language for constructing a
|
5202
5296
|
# predicate from one or more fields of the products being filtered. Filter
|
5203
|
-
# expression is case-sensitive.
|
5204
|
-
#
|
5297
|
+
# expression is case-sensitive. For more information, see [Filter](https://cloud.
|
5298
|
+
# google.com/retail/docs/filter-and-order#filter). If this field is
|
5205
5299
|
# unrecognizable, an INVALID_ARGUMENT is returned.
|
5206
5300
|
# Corresponds to the JSON property `filter`
|
5207
5301
|
# @return [String]
|
@@ -5216,8 +5310,9 @@ module Google
|
|
5216
5310
|
# UTF-8 encoding, and international characters are allowed. * The key portion of
|
5217
5311
|
# a label must be unique. However, you can use the same key with multiple
|
5218
5312
|
# resources. * Keys must start with a lowercase letter or international
|
5219
|
-
# character.
|
5220
|
-
# manager/docs/creating-managing-labels#requirements)
|
5313
|
+
# character. For more information, see [Requirements for labels](https://cloud.
|
5314
|
+
# google.com/resource-manager/docs/creating-managing-labels#requirements) in the
|
5315
|
+
# Resource Manager documentation.
|
5221
5316
|
# Corresponds to the JSON property `labels`
|
5222
5317
|
# @return [Hash<String,String>]
|
5223
5318
|
attr_accessor :labels
|
@@ -5232,8 +5327,8 @@ module Google
|
|
5232
5327
|
|
5233
5328
|
# The order in which products are returned. Products can be ordered by a field
|
5234
5329
|
# in an Product object. Leave it unset if ordered by relevance. OrderBy
|
5235
|
-
# expression is case-sensitive.
|
5236
|
-
#
|
5330
|
+
# expression is case-sensitive. For more information, see [Order](https://cloud.
|
5331
|
+
# google.com/retail/docs/filter-and-order#order). If this field is
|
5237
5332
|
# unrecognizable, an INVALID_ARGUMENT is returned.
|
5238
5333
|
# Corresponds to the JSON property `orderBy`
|
5239
5334
|
# @return [String]
|
@@ -5284,8 +5379,8 @@ module Google
|
|
5284
5379
|
|
5285
5380
|
# The relevance threshold of the search results. Defaults to RelevanceThreshold.
|
5286
5381
|
# 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).
|
5382
|
+
# number of results are returned. For more information, see [Adjust result size](
|
5383
|
+
# https://cloud.google.com/retail/docs/result-size#relevance_thresholding).
|
5289
5384
|
# Corresponds to the JSON property `relevanceThreshold`
|
5290
5385
|
# @return [String]
|
5291
5386
|
attr_accessor :relevance_threshold
|
@@ -5471,23 +5566,22 @@ module Google
|
|
5471
5566
|
|
5472
5567
|
# Enables dynamic position for this facet. If set to true, the position of this
|
5473
5568
|
# 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.
|
5569
|
+
# It is ordered together with dynamic facets if dynamic facets is enabled. If
|
5570
|
+
# set to false, the position of this facet in the response is the same as in the
|
5571
|
+
# request, and it is ranked before the facets with dynamic position enable and
|
5572
|
+
# all dynamic facets. For example, you may always want to have rating facet
|
5573
|
+
# returned in the response, but it's not necessarily to always display the
|
5574
|
+
# rating facet at the top. In that case, you can set enable_dynamic_position to
|
5575
|
+
# true so that the position of rating facet in response is determined by Google
|
5576
|
+
# Retail Search. Another example, assuming you have the following facets in the
|
5577
|
+
# request: * "rating", enable_dynamic_position = true * "price",
|
5578
|
+
# enable_dynamic_position = false * "brands", enable_dynamic_position = false
|
5579
|
+
# And also you have a dynamic facets enable, which generates a facet "gender".
|
5580
|
+
# Then, the final order of the facets in the response can be ("price", "brands",
|
5581
|
+
# "rating", "gender") or ("price", "brands", "gender", "rating") depends on how
|
5582
|
+
# Google Retail Search orders "gender" and "rating" facets. However, notice that
|
5583
|
+
# "price" and "brands" are always ranked at first and second position because
|
5584
|
+
# their enable_dynamic_position values are false.
|
5491
5585
|
# Corresponds to the JSON property `enableDynamicPosition`
|
5492
5586
|
# @return [Boolean]
|
5493
5587
|
attr_accessor :enable_dynamic_position
|
@@ -5551,8 +5645,8 @@ module Google
|
|
5551
5645
|
|
5552
5646
|
# Only get facet values that contains the given strings. For example, suppose "
|
5553
5647
|
# categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe".
|
5554
|
-
# If set "contains" to "Shoe", the "categories" facet
|
5555
|
-
#
|
5648
|
+
# If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe"
|
5649
|
+
# and "Men > Shoe". Only supported on textual fields. Maximum is 10.
|
5556
5650
|
# Corresponds to the JSON property `contains`
|
5557
5651
|
# @return [Array<String>]
|
5558
5652
|
attr_accessor :contains
|
@@ -5560,12 +5654,12 @@ module Google
|
|
5560
5654
|
# Set only if values should be bucketized into intervals. Must be set for facets
|
5561
5655
|
# with numerical values. Must not be set for facet with text values. Maximum
|
5562
5656
|
# 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
|
5657
|
+
# list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and
|
5564
5658
|
# 100 are computed from their distribution weekly. If the model assigns a high
|
5565
5659
|
# score to a numerical facet key and its intervals are not specified in the
|
5566
|
-
# search request, these percentiles
|
5567
|
-
#
|
5568
|
-
#
|
5660
|
+
# search request, these percentiles become the bounds for its intervals and are
|
5661
|
+
# returned in the response. If the facet key intervals are specified in the
|
5662
|
+
# request, then the specified intervals are returned instead.
|
5569
5663
|
# Corresponds to the JSON property `intervals`
|
5570
5664
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
|
5571
5665
|
attr_accessor :intervals
|
@@ -5599,7 +5693,7 @@ module Google
|
|
5599
5693
|
|
5600
5694
|
# Only get facet values that start with the given string prefix. For example,
|
5601
5695
|
# suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men
|
5602
|
-
# > Shoe". If set "prefixes" to "Women", the "categories" facet
|
5696
|
+
# > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "
|
5603
5697
|
# Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum
|
5604
5698
|
# is 10.
|
5605
5699
|
# Corresponds to the JSON property `prefixes`
|
@@ -5607,16 +5701,15 @@ module Google
|
|
5607
5701
|
attr_accessor :prefixes
|
5608
5702
|
|
5609
5703
|
# The query that is used to compute facet for the given facet key. When provided,
|
5610
|
-
# it
|
5611
|
-
#
|
5704
|
+
# it overrides the default behavior of facet computation. The query syntax is
|
5705
|
+
# the same as a filter expression. See SearchRequest.filter for detail syntax
|
5612
5706
|
# 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".
|
5707
|
+
# is specified. In the response, SearchResponse.Facet.values.value is always "1"
|
5708
|
+
# and SearchResponse.Facet.values.count is the number of results that match the
|
5709
|
+
# query. For example, you can set a customized facet for "shipToStore", where
|
5710
|
+
# FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability:
|
5711
|
+
# ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the
|
5712
|
+
# products that are both in stock and ship to store "123".
|
5620
5713
|
# Corresponds to the JSON property `query`
|
5621
5714
|
# @return [String]
|
5622
5715
|
attr_accessor :query
|
@@ -6424,8 +6517,8 @@ module Google
|
|
6424
6517
|
|
6425
6518
|
# The entity for customers that may run multiple different entities, domains,
|
6426
6519
|
# sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`
|
6427
|
-
# , `youtube.com`, etc.
|
6428
|
-
# entity search, completion and prediction results.
|
6520
|
+
# , `youtube.com`, etc. We recommend that you set this field to get better per-
|
6521
|
+
# entity search, completion, and prediction results.
|
6429
6522
|
# Corresponds to the JSON property `entity`
|
6430
6523
|
# @return [String]
|
6431
6524
|
attr_accessor :entity
|
@@ -7164,17 +7257,17 @@ module Google
|
|
7164
7257
|
end
|
7165
7258
|
end
|
7166
7259
|
|
7167
|
-
# Represents a link between a Merchant Center account and a branch.
|
7168
|
-
# is established, products from the linked
|
7169
|
-
#
|
7260
|
+
# Represents a link between a Merchant Center account and a branch. After a link
|
7261
|
+
# is established, products from the linked Merchant Center account are streamed
|
7262
|
+
# to the linked branch.
|
7170
7263
|
class GoogleCloudRetailV2betaMerchantCenterAccountLink
|
7171
7264
|
include Google::Apis::Core::Hashable
|
7172
7265
|
|
7173
|
-
# Required. The branch
|
7266
|
+
# Required. The branch ID (e.g. 0/1/2) within the catalog that products from
|
7174
7267
|
# merchant_center_account_id are streamed to. When updating this field, an empty
|
7175
7268
|
# value will use the currently configured default branch. However, changing the
|
7176
7269
|
# default branch later on won't change the linked branch here. A single branch
|
7177
|
-
#
|
7270
|
+
# ID can only have one linked Merchant Center account ID.
|
7178
7271
|
# Corresponds to the JSON property `branchId`
|
7179
7272
|
# @return [String]
|
7180
7273
|
attr_accessor :branch_id
|
@@ -7316,6 +7409,11 @@ module Google
|
|
7316
7409
|
# @return [String]
|
7317
7410
|
attr_accessor :last_tune_time
|
7318
7411
|
|
7412
|
+
# Additional model features config.
|
7413
|
+
# Corresponds to the JSON property `modelFeaturesConfig`
|
7414
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig]
|
7415
|
+
attr_accessor :model_features_config
|
7416
|
+
|
7319
7417
|
# Required. The fully qualified resource name of the model. Format: `projects/`
|
7320
7418
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
7321
7419
|
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
@@ -7405,6 +7503,7 @@ module Google
|
|
7405
7503
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7406
7504
|
@filtering_option = args[:filtering_option] if args.key?(:filtering_option)
|
7407
7505
|
@last_tune_time = args[:last_tune_time] if args.key?(:last_tune_time)
|
7506
|
+
@model_features_config = args[:model_features_config] if args.key?(:model_features_config)
|
7408
7507
|
@name = args[:name] if args.key?(:name)
|
7409
7508
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
7410
7509
|
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
@@ -7417,6 +7516,46 @@ module Google
|
|
7417
7516
|
end
|
7418
7517
|
end
|
7419
7518
|
|
7519
|
+
# Additional configs for the frequently-bought-together model type.
|
7520
|
+
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
7521
|
+
include Google::Apis::Core::Hashable
|
7522
|
+
|
7523
|
+
# Optional. Specifies the context of the model when it is used in predict
|
7524
|
+
# requests. Can only be set for the `frequently-bought-together` type. If it isn'
|
7525
|
+
# t specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
|
7526
|
+
# Corresponds to the JSON property `contextProductsType`
|
7527
|
+
# @return [String]
|
7528
|
+
attr_accessor :context_products_type
|
7529
|
+
|
7530
|
+
def initialize(**args)
|
7531
|
+
update!(**args)
|
7532
|
+
end
|
7533
|
+
|
7534
|
+
# Update properties of this object
|
7535
|
+
def update!(**args)
|
7536
|
+
@context_products_type = args[:context_products_type] if args.key?(:context_products_type)
|
7537
|
+
end
|
7538
|
+
end
|
7539
|
+
|
7540
|
+
# Additional model features config.
|
7541
|
+
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
7542
|
+
include Google::Apis::Core::Hashable
|
7543
|
+
|
7544
|
+
# Additional configs for the frequently-bought-together model type.
|
7545
|
+
# Corresponds to the JSON property `frequentlyBoughtTogetherConfig`
|
7546
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]
|
7547
|
+
attr_accessor :frequently_bought_together_config
|
7548
|
+
|
7549
|
+
def initialize(**args)
|
7550
|
+
update!(**args)
|
7551
|
+
end
|
7552
|
+
|
7553
|
+
# Update properties of this object
|
7554
|
+
def update!(**args)
|
7555
|
+
@frequently_bought_together_config = args[:frequently_bought_together_config] if args.key?(:frequently_bought_together_config)
|
7556
|
+
end
|
7557
|
+
end
|
7558
|
+
|
7420
7559
|
# Represents an ordered combination of valid serving configs, which can be used
|
7421
7560
|
# for `PAGE_OPTIMIZATION` recommendations.
|
7422
7561
|
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.75.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 = "20230504"
|
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
|
|
@@ -598,6 +610,18 @@ module Google
|
|
598
610
|
include Google::Apis::Core::JsonObjectSupport
|
599
611
|
end
|
600
612
|
|
613
|
+
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
601
625
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
602
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
627
|
|
@@ -1168,6 +1192,18 @@ module Google
|
|
1168
1192
|
include Google::Apis::Core::JsonObjectSupport
|
1169
1193
|
end
|
1170
1194
|
|
1195
|
+
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
|
+
|
1198
|
+
include Google::Apis::Core::JsonObjectSupport
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1171
1207
|
class GoogleCloudRetailV2betaModelServingConfigList
|
1172
1208
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1173
1209
|
|
@@ -1445,6 +1481,8 @@ module Google
|
|
1445
1481
|
property :display_name, as: 'displayName'
|
1446
1482
|
property :filtering_option, as: 'filteringOption'
|
1447
1483
|
property :last_tune_time, as: 'lastTuneTime'
|
1484
|
+
property :model_features_config, as: 'modelFeaturesConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelModelFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelModelFeaturesConfig::Representation
|
1485
|
+
|
1448
1486
|
property :name, as: 'name'
|
1449
1487
|
property :optimization_objective, as: 'optimizationObjective'
|
1450
1488
|
property :periodic_tuning_state, as: 'periodicTuningState'
|
@@ -1458,6 +1496,21 @@ module Google
|
|
1458
1496
|
end
|
1459
1497
|
end
|
1460
1498
|
|
1499
|
+
class GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig
|
1500
|
+
# @private
|
1501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1502
|
+
property :context_products_type, as: 'contextProductsType'
|
1503
|
+
end
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
class GoogleCloudRetailV2ModelModelFeaturesConfig
|
1507
|
+
# @private
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1509
|
+
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig::Representation
|
1510
|
+
|
1511
|
+
end
|
1512
|
+
end
|
1513
|
+
|
1461
1514
|
class GoogleCloudRetailV2ModelServingConfigList
|
1462
1515
|
# @private
|
1463
1516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2158,6 +2211,8 @@ module Google
|
|
2158
2211
|
property :display_name, as: 'displayName'
|
2159
2212
|
property :filtering_option, as: 'filteringOption'
|
2160
2213
|
property :last_tune_time, as: 'lastTuneTime'
|
2214
|
+
property :model_features_config, as: 'modelFeaturesConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelModelFeaturesConfig::Representation
|
2215
|
+
|
2161
2216
|
property :name, as: 'name'
|
2162
2217
|
property :optimization_objective, as: 'optimizationObjective'
|
2163
2218
|
property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
|
@@ -2173,6 +2228,21 @@ module Google
|
|
2173
2228
|
end
|
2174
2229
|
end
|
2175
2230
|
|
2231
|
+
class GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig
|
2232
|
+
# @private
|
2233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2234
|
+
property :context_products_type, as: 'contextProductsType'
|
2235
|
+
end
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
class GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
2239
|
+
# @private
|
2240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2241
|
+
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig::Representation
|
2242
|
+
|
2243
|
+
end
|
2244
|
+
end
|
2245
|
+
|
2176
2246
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
2177
2247
|
# @private
|
2178
2248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3124,6 +3194,8 @@ module Google
|
|
3124
3194
|
property :display_name, as: 'displayName'
|
3125
3195
|
property :filtering_option, as: 'filteringOption'
|
3126
3196
|
property :last_tune_time, as: 'lastTuneTime'
|
3197
|
+
property :model_features_config, as: 'modelFeaturesConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelModelFeaturesConfig::Representation
|
3198
|
+
|
3127
3199
|
property :name, as: 'name'
|
3128
3200
|
property :optimization_objective, as: 'optimizationObjective'
|
3129
3201
|
property :periodic_tuning_state, as: 'periodicTuningState'
|
@@ -3137,6 +3209,21 @@ module Google
|
|
3137
3209
|
end
|
3138
3210
|
end
|
3139
3211
|
|
3212
|
+
class GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig
|
3213
|
+
# @private
|
3214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3215
|
+
property :context_products_type, as: 'contextProductsType'
|
3216
|
+
end
|
3217
|
+
end
|
3218
|
+
|
3219
|
+
class GoogleCloudRetailV2betaModelModelFeaturesConfig
|
3220
|
+
# @private
|
3221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3222
|
+
property :frequently_bought_together_config, as: 'frequentlyBoughtTogetherConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig::Representation
|
3223
|
+
|
3224
|
+
end
|
3225
|
+
end
|
3226
|
+
|
3140
3227
|
class GoogleCloudRetailV2betaModelServingConfigList
|
3141
3228
|
# @private
|
3142
3229
|
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
|
-
# created. Format: projects/`PROJECT_NUMBER`/locations/global/catalogs/`
|
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)
|
@@ -1488,9 +1482,9 @@ module Google
|
|
1488
1482
|
# Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to
|
1489
1483
|
# delete does not exist, a NOT_FOUND error is returned.
|
1490
1484
|
# @param [String] name
|
1491
|
-
# Required. Full resource name. Format: projects/`project_number`/locations/`
|
1485
|
+
# Required. Full resource name. Format: `projects/`project_number`/locations/`
|
1492
1486
|
# location_id`/catalogs/`catalog_id`/merchantCenterAccountLinks/`
|
1493
|
-
# merchant_center_account_link_id
|
1487
|
+
# merchant_center_account_link_id``
|
1494
1488
|
# @param [String] fields
|
1495
1489
|
# Selector specifying which fields to include in a partial response.
|
1496
1490
|
# @param [String] quota_user
|
@@ -1520,8 +1514,8 @@ module Google
|
|
1520
1514
|
|
1521
1515
|
# Lists all MerchantCenterAccountLinks under the specified parent Catalog.
|
1522
1516
|
# @param [String] parent
|
1523
|
-
# Required. The parent Catalog of the resource. It must match this format:
|
1524
|
-
# projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID
|
1517
|
+
# Required. The parent Catalog of the resource. It must match this format: `
|
1518
|
+
# projects/`PROJECT_NUMBER`/locations/global/catalogs/`CATALOG_ID``
|
1525
1519
|
# @param [String] fields
|
1526
1520
|
# Selector specifying which fields to include in a partial response.
|
1527
1521
|
# @param [String] quota_user
|
@@ -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.75.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-
|
11
|
+
date: 2023-05-14 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.75.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: []
|