google-apis-retail_v2alpha 0.53.0 → 0.56.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: 2b33836f3cf94e3635a5712ad26790d064c21e3665984409172e76ae3bb1c8c5
|
4
|
+
data.tar.gz: 745fc296d29777018c245ab31f2fec87f4e14e8dfeb56b419de6a033083f642a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b778bc5f4d8bcf0046ff0cec27a9a5afe4f6fc7fb133299ebf2cc3a1a79c544a9a59cc363da0c40d2e813c7d8bbffc50279740f284dc4ca1c3a40037912205f
|
7
|
+
data.tar.gz: 869373e3bc1901c8ab126b15f82b63d471072021e5e3d0f525a95115471b8710186f62e67a7ed1d2495b5e506c09459b0317638782199a5ef70c426fea362d96
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.56.0 (2022-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220901
|
6
|
+
|
7
|
+
### v0.55.0 (2022-08-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220825
|
10
|
+
|
11
|
+
### v0.54.0 (2022-08-25)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220822
|
14
|
+
|
3
15
|
### v0.53.0 (2022-08-21)
|
4
16
|
|
5
17
|
* Unspecified changes
|
@@ -531,7 +531,7 @@ module Google
|
|
531
531
|
end
|
532
532
|
end
|
533
533
|
|
534
|
-
# Metadata for RejoinUserEvents method.
|
534
|
+
# Metadata for `RejoinUserEvents` method.
|
535
535
|
class GoogleCloudRetailV2RejoinUserEventsMetadata
|
536
536
|
include Google::Apis::Core::Hashable
|
537
537
|
|
@@ -544,7 +544,7 @@ module Google
|
|
544
544
|
end
|
545
545
|
end
|
546
546
|
|
547
|
-
# Response message for RejoinUserEvents method.
|
547
|
+
# Response message for `RejoinUserEvents` method.
|
548
548
|
class GoogleCloudRetailV2RejoinUserEventsResponse
|
549
549
|
include Google::Apis::Core::Hashable
|
550
550
|
|
@@ -984,15 +984,15 @@ module Google
|
|
984
984
|
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
|
985
985
|
include Google::Apis::Core::Hashable
|
986
986
|
|
987
|
-
# Catalog attributes that were deleted. Only attributes that
|
988
|
-
# products can be deleted.
|
987
|
+
# Catalog attributes that were deleted. Only pre-loaded catalog attributes that
|
988
|
+
# are neither in use by products nor predefined can be deleted.
|
989
989
|
# Corresponds to the JSON property `deletedCatalogAttributes`
|
990
990
|
# @return [Array<String>]
|
991
991
|
attr_accessor :deleted_catalog_attributes
|
992
992
|
|
993
|
-
# Catalog attributes that were reset.
|
994
|
-
# cannot be deleted
|
995
|
-
# default values upon removal request.
|
993
|
+
# Catalog attributes that were reset. Catalog attributes that are either in use
|
994
|
+
# by products or are predefined attributes cannot be deleted; however, their
|
995
|
+
# configuration properties will reset to default values upon removal request.
|
996
996
|
# Corresponds to the JSON property `resetCatalogAttributes`
|
997
997
|
# @return [Array<String>]
|
998
998
|
attr_accessor :reset_catalog_attributes
|
@@ -1171,11 +1171,12 @@ module Google
|
|
1171
1171
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
1172
1172
|
# CatalogService.AddCatalogAttribute, CatalogService.ImportCatalogAttributes, or
|
1173
1173
|
# CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-
|
1174
|
-
# loaded CatalogAttributes. Only pre-loaded
|
1175
|
-
# in use by products nor predefined can be deleted.
|
1176
|
-
# either in use by products or are predefined cannot be deleted;
|
1177
|
-
# configuration properties will reset to default values upon
|
1178
|
-
# After catalog changes, it takes about 10 minutes for this
|
1174
|
+
# loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither
|
1175
|
+
# in use by products nor predefined can be deleted. Catalog attributes that are
|
1176
|
+
# either in use by products or are predefined attributes cannot be deleted;
|
1177
|
+
# however, their configuration properties will reset to default values upon
|
1178
|
+
# removal request. After catalog changes, it takes about 10 minutes for this
|
1179
|
+
# field to update.
|
1179
1180
|
# Corresponds to the JSON property `inUse`
|
1180
1181
|
# @return [Boolean]
|
1181
1182
|
attr_accessor :in_use
|
@@ -1562,8 +1563,8 @@ module Google
|
|
1562
1563
|
|
1563
1564
|
# The value of the term to match on. Value cannot be empty. Value can have at
|
1564
1565
|
# most 3 terms if specified as a partial match. Each space separated string is
|
1565
|
-
# considered as one term.
|
1566
|
-
# 4 terms and not allowed for partial match.
|
1566
|
+
# considered as one term. For example, "a b c" is 3 terms and allowed, but " a b
|
1567
|
+
# c d" is 4 terms and not allowed for a partial match.
|
1567
1568
|
# Corresponds to the JSON property `value`
|
1568
1569
|
# @return [String]
|
1569
1570
|
attr_accessor :value
|
@@ -1605,14 +1606,14 @@ module Google
|
|
1605
1606
|
end
|
1606
1607
|
end
|
1607
1608
|
|
1608
|
-
# Configures dynamic
|
1609
|
-
# search
|
1609
|
+
# Configures dynamic metadata that can be linked to a ServingConfig and affect
|
1610
|
+
# search or recommendation results at serving time.
|
1610
1611
|
class GoogleCloudRetailV2alphaControl
|
1611
1612
|
include Google::Apis::Core::Hashable
|
1612
1613
|
|
1613
|
-
# Output only. List of serving configuration ids that
|
1614
|
-
#
|
1615
|
-
# an output only
|
1614
|
+
# Output only. List of serving configuration ids that are associated with this
|
1615
|
+
# control in the same Catalog. Note the association is managed via the
|
1616
|
+
# ServingConfig, this is an output only denormalized view.
|
1616
1617
|
# Corresponds to the JSON property `associatedServingConfigIds`
|
1617
1618
|
# @return [Array<String>]
|
1618
1619
|
attr_accessor :associated_serving_config_ids
|
@@ -1636,13 +1637,21 @@ module Google
|
|
1636
1637
|
attr_accessor :name
|
1637
1638
|
|
1638
1639
|
# A rule is a condition-action pair * A condition defines when a rule is to be
|
1639
|
-
# triggered. * An action specifies what occurs on that trigger. Currently
|
1640
|
-
#
|
1640
|
+
# triggered. * An action specifies what occurs on that trigger. Currently rules
|
1641
|
+
# only work for controls with SOLUTION_TYPE_SEARCH.
|
1641
1642
|
# Corresponds to the JSON property `rule`
|
1642
1643
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule]
|
1643
1644
|
attr_accessor :rule
|
1644
1645
|
|
1645
|
-
#
|
1646
|
+
# Specifies the use case for the control. Affects what condition fields can be
|
1647
|
+
# set. Only settable by search controls. Will default to
|
1648
|
+
# SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one
|
1649
|
+
# search_solution_use_case per control.
|
1650
|
+
# Corresponds to the JSON property `searchSolutionUseCase`
|
1651
|
+
# @return [Array<String>]
|
1652
|
+
attr_accessor :search_solution_use_case
|
1653
|
+
|
1654
|
+
# Required. Immutable. The solution types that the control is used for.
|
1646
1655
|
# Currently we support setting only one type of solution at creation time. Only `
|
1647
1656
|
# SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is
|
1648
1657
|
# provided at creation time, will default to SOLUTION_TYPE_SEARCH.
|
@@ -1661,6 +1670,7 @@ module Google
|
|
1661
1670
|
@facet_spec = args[:facet_spec] if args.key?(:facet_spec)
|
1662
1671
|
@name = args[:name] if args.key?(:name)
|
1663
1672
|
@rule = args[:rule] if args.key?(:rule)
|
1673
|
+
@search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
|
1664
1674
|
@solution_types = args[:solution_types] if args.key?(:solution_types)
|
1665
1675
|
end
|
1666
1676
|
end
|
@@ -1669,8 +1679,9 @@ module Google
|
|
1669
1679
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
1670
1680
|
include Google::Apis::Core::Hashable
|
1671
1681
|
|
1672
|
-
# The resource name of the model that this create applies to. Format: projects/`
|
1682
|
+
# The resource name of the model that this create applies to. Format: `projects/`
|
1673
1683
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1684
|
+
# `
|
1674
1685
|
# Corresponds to the JSON property `model`
|
1675
1686
|
# @return [String]
|
1676
1687
|
attr_accessor :model
|
@@ -1763,8 +1774,8 @@ module Google
|
|
1763
1774
|
end
|
1764
1775
|
end
|
1765
1776
|
|
1766
|
-
# Metadata related to the progress of the Export operation. This
|
1767
|
-
#
|
1777
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
1778
|
+
# the google.longrunning.Operation.metadata field.
|
1768
1779
|
class GoogleCloudRetailV2alphaExportMetadata
|
1769
1780
|
include Google::Apis::Core::Hashable
|
1770
1781
|
|
@@ -2645,7 +2656,13 @@ module Google
|
|
2645
2656
|
# ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on
|
2646
2657
|
# model type. Default depends on type of recommendation: `recommended-for-you` =>
|
2647
2658
|
# `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `
|
2648
|
-
# revenue_per_order`
|
2659
|
+
# revenue_per_order` This field together with optimization_objective describe
|
2660
|
+
# model metadata to use to control model training and serving. See https://cloud.
|
2661
|
+
# google.com/retail/docs/models for more details on what the model metadata
|
2662
|
+
# control and which combination of parameters are valid. For invalid
|
2663
|
+
# combinations of parameters (e.g. type = `frequently-bought-together` and
|
2664
|
+
# optimization_objective = `ctr`), you receive an error 400 if you try to create/
|
2665
|
+
# update a recommendation with this set of knobs.
|
2649
2666
|
# Corresponds to the JSON property `optimizationObjective`
|
2650
2667
|
# @return [String]
|
2651
2668
|
attr_accessor :optimization_objective
|
@@ -2695,7 +2712,13 @@ module Google
|
|
2695
2712
|
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
2696
2713
|
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
2697
2714
|
# page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
|
2698
|
-
# readonly value).
|
2715
|
+
# readonly value). This field together with optimization_objective describe
|
2716
|
+
# model metadata to use to control model training and serving. See https://cloud.
|
2717
|
+
# google.com/retail/docs/models for more details on what the model metadata
|
2718
|
+
# control and which combination of parameters are valid. For invalid
|
2719
|
+
# combinations of parameters (e.g. type = `frequently-bought-together` and
|
2720
|
+
# optimization_objective = `ctr`), you receive an error 400 if you try to create/
|
2721
|
+
# update a recommendation with this set of knobs.
|
2699
2722
|
# Corresponds to the JSON property `type`
|
2700
2723
|
# @return [String]
|
2701
2724
|
attr_accessor :type
|
@@ -3206,6 +3229,8 @@ module Google
|
|
3206
3229
|
attr_accessor :available_quantity
|
3207
3230
|
|
3208
3231
|
# The timestamp when this Product becomes available for SearchService.Search.
|
3232
|
+
# Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and
|
3233
|
+
# ignored for Type.VARIANT.
|
3209
3234
|
# Corresponds to the JSON property `availableTime`
|
3210
3235
|
# @return [String]
|
3211
3236
|
attr_accessor :available_time
|
@@ -3223,11 +3248,11 @@ module Google
|
|
3223
3248
|
# belonging to several parallel categories. Strongly recommended using the full
|
3224
3249
|
# path for better search / recommendation quality. To represent full path of
|
3225
3250
|
# category, use '>' sign to separate different hierarchies. If '>' is part of
|
3226
|
-
# the category name,
|
3227
|
-
#
|
3228
|
-
#
|
3229
|
-
#
|
3230
|
-
#
|
3251
|
+
# the category name, replace it with other character(s). For example, if a shoes
|
3252
|
+
# product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports &
|
3253
|
+
# Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "
|
3254
|
+
# categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
|
3255
|
+
# Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
|
3231
3256
|
# INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product.
|
3232
3257
|
# Empty values are not allowed. Each value must be a UTF-8 encoded string with
|
3233
3258
|
# a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is
|
@@ -3274,7 +3299,10 @@ module Google
|
|
3274
3299
|
attr_accessor :description
|
3275
3300
|
|
3276
3301
|
# The timestamp when this product becomes unavailable for SearchService.Search.
|
3277
|
-
#
|
3302
|
+
# Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and
|
3303
|
+
# ignored for Type.VARIANT. In general, we suggest the users to delete the stale
|
3304
|
+
# products explicitly, instead of using this field to determine staleness. If it
|
3305
|
+
# is set, the Product is not available for SearchService.Search after
|
3278
3306
|
# expire_time. However, the product can still be retrieved by ProductService.
|
3279
3307
|
# GetProduct and ProductService.ListProducts. expire_time must be later than
|
3280
3308
|
# available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown.
|
@@ -3335,6 +3363,14 @@ module Google
|
|
3335
3363
|
# @return [String]
|
3336
3364
|
attr_accessor :language_code
|
3337
3365
|
|
3366
|
+
# Output only. A list of local inventories specific to different places. This is
|
3367
|
+
# only available for users who have Retail Search enabled, and it can be managed
|
3368
|
+
# by ProductService.AddLocalInventories and ProductService.
|
3369
|
+
# RemoveLocalInventories APIs.
|
3370
|
+
# Corresponds to the JSON property `localInventories`
|
3371
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLocalInventory>]
|
3372
|
+
attr_accessor :local_inventories
|
3373
|
+
|
3338
3374
|
# The material of the product. For example, "leather", "wooden". A maximum of 20
|
3339
3375
|
# values are allowed. Each value must be a UTF-8 encoded string with a length
|
3340
3376
|
# limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
@@ -3453,7 +3489,10 @@ module Google
|
|
3453
3489
|
# @return [String]
|
3454
3490
|
attr_accessor :title
|
3455
3491
|
|
3456
|
-
# Input only. The TTL (time to live) of the product.
|
3492
|
+
# Input only. The TTL (time to live) of the product. Note that this is only
|
3493
|
+
# applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.
|
3494
|
+
# In general, we suggest the users to delete the stale products explicitly,
|
3495
|
+
# instead of using this field to determine staleness. If it is set, it must be a
|
3457
3496
|
# non-negative value, and expire_time is set as current timestamp plus ttl. The
|
3458
3497
|
# derived expire_time is returned in the output and ttl is left blank when
|
3459
3498
|
# retrieving the Product. If it is set, the product is not available for
|
@@ -3513,6 +3552,7 @@ module Google
|
|
3513
3552
|
@id = args[:id] if args.key?(:id)
|
3514
3553
|
@images = args[:images] if args.key?(:images)
|
3515
3554
|
@language_code = args[:language_code] if args.key?(:language_code)
|
3555
|
+
@local_inventories = args[:local_inventories] if args.key?(:local_inventories)
|
3516
3556
|
@materials = args[:materials] if args.key?(:materials)
|
3517
3557
|
@name = args[:name] if args.key?(:name)
|
3518
3558
|
@patterns = args[:patterns] if args.key?(:patterns)
|
@@ -3948,7 +3988,7 @@ module Google
|
|
3948
3988
|
end
|
3949
3989
|
end
|
3950
3990
|
|
3951
|
-
# Metadata for RejoinUserEvents method.
|
3991
|
+
# Metadata for `RejoinUserEvents` method.
|
3952
3992
|
class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
|
3953
3993
|
include Google::Apis::Core::Hashable
|
3954
3994
|
|
@@ -3966,8 +4006,8 @@ module Google
|
|
3966
4006
|
include Google::Apis::Core::Hashable
|
3967
4007
|
|
3968
4008
|
# The type of the user event rejoin to define the scope and range of the user
|
3969
|
-
# events to be rejoined with the latest product catalog. Defaults to
|
3970
|
-
# USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to an
|
4009
|
+
# events to be rejoined with the latest product catalog. Defaults to `
|
4010
|
+
# USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to an
|
3971
4011
|
# invalid integer value.
|
3972
4012
|
# Corresponds to the JSON property `userEventRejoinScope`
|
3973
4013
|
# @return [String]
|
@@ -3983,7 +4023,7 @@ module Google
|
|
3983
4023
|
end
|
3984
4024
|
end
|
3985
4025
|
|
3986
|
-
# Response message for RejoinUserEvents method.
|
4026
|
+
# Response message for `RejoinUserEvents` method.
|
3987
4027
|
class GoogleCloudRetailV2alphaRejoinUserEventsResponse
|
3988
4028
|
include Google::Apis::Core::Hashable
|
3989
4029
|
|
@@ -4235,8 +4275,8 @@ module Google
|
|
4235
4275
|
end
|
4236
4276
|
|
4237
4277
|
# A rule is a condition-action pair * A condition defines when a rule is to be
|
4238
|
-
# triggered. * An action specifies what occurs on that trigger. Currently
|
4239
|
-
#
|
4278
|
+
# triggered. * An action specifies what occurs on that trigger. Currently rules
|
4279
|
+
# only work for controls with SOLUTION_TYPE_SEARCH.
|
4240
4280
|
class GoogleCloudRetailV2alphaRule
|
4241
4281
|
include Google::Apis::Core::Hashable
|
4242
4282
|
|
@@ -4645,9 +4685,9 @@ module Google
|
|
4645
4685
|
# navigation queries to achieve good search quality. The format should be the
|
4646
4686
|
# same as UserEvent.page_categories; To represent full path of category, use '>'
|
4647
4687
|
# sign to separate different hierarchies. If '>' is part of the category name,
|
4648
|
-
#
|
4649
|
-
#
|
4650
|
-
#
|
4688
|
+
# replace it with other character(s). Category pages include special pages such
|
4689
|
+
# as sales or promotions. For instance, a special sale page may have the
|
4690
|
+
# category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
|
4651
4691
|
# Corresponds to the JSON property `pageCategories`
|
4652
4692
|
# @return [Array<String>]
|
4653
4693
|
attr_accessor :page_categories
|
@@ -5382,9 +5422,7 @@ module Google
|
|
5382
5422
|
end
|
5383
5423
|
|
5384
5424
|
# Configures metadata that is used to generate serving time results (e.g. search
|
5385
|
-
# results or recommendation predictions).
|
5386
|
-
# search and predict request and together with the Catalog.default_branch,
|
5387
|
-
# generates results.
|
5425
|
+
# results or recommendation predictions).
|
5388
5426
|
class GoogleCloudRetailV2alphaServingConfig
|
5389
5427
|
include Google::Apis::Core::Hashable
|
5390
5428
|
|
@@ -5407,16 +5445,21 @@ module Google
|
|
5407
5445
|
# @return [String]
|
5408
5446
|
attr_accessor :display_name
|
5409
5447
|
|
5410
|
-
# How much diversity to use in recommendation model results e.g.
|
5411
|
-
# diversity
|
5412
|
-
#
|
5448
|
+
# How much diversity to use in recommendation model results e.g. `medium-
|
5449
|
+
# diversity` or `high-diversity`. Currently supported values: * `no-diversity` *
|
5450
|
+
# `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If
|
5413
5451
|
# not specified, we choose default based on recommendation model type. Default
|
5414
|
-
# value:
|
5452
|
+
# value: `no-diversity`. Can only be set if solution_types is
|
5415
5453
|
# SOLUTION_TYPE_RECOMMENDATION.
|
5416
5454
|
# Corresponds to the JSON property `diversityLevel`
|
5417
5455
|
# @return [String]
|
5418
5456
|
attr_accessor :diversity_level
|
5419
5457
|
|
5458
|
+
# What kind of diversity to use - data driven or rule based.
|
5459
|
+
# Corresponds to the JSON property `diversityType`
|
5460
|
+
# @return [String]
|
5461
|
+
attr_accessor :diversity_type
|
5462
|
+
|
5420
5463
|
# Condition do not associate specifications. If multiple do not associate
|
5421
5464
|
# conditions match, all matching do not associate controls in the list will
|
5422
5465
|
# execute. - Order does not matter. - Maximum number of specifications is 100.
|
@@ -5430,10 +5473,10 @@ module Google
|
|
5430
5473
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]
|
5431
5474
|
attr_accessor :dynamic_facet_spec
|
5432
5475
|
|
5433
|
-
# Whether to add additional category filters on the
|
5434
|
-
# not specified, we enable it by default. Allowed values are: *
|
5435
|
-
# match
|
5436
|
-
# customer's filters. *
|
5476
|
+
# Whether to add additional category filters on the `similar-items` model. If
|
5477
|
+
# not specified, we enable it by default. Allowed values are: * `no-category-
|
5478
|
+
# match`: No additional filtering of original results from the model and the
|
5479
|
+
# customer's filters. * `relaxed-category-match`: Only keep results with
|
5437
5480
|
# categories that match at least one item categories in the PredictRequests's
|
5438
5481
|
# context item. * If customer also sends filters in the PredictRequest, then the
|
5439
5482
|
# results will satisfy both conditions (user given and category match). Can only
|
@@ -5467,7 +5510,7 @@ module Google
|
|
5467
5510
|
# @return [Array<String>]
|
5468
5511
|
attr_accessor :ignore_control_ids
|
5469
5512
|
|
5470
|
-
# The id of the model to use at serving time. Currently only
|
5513
|
+
# The id of the model in the same Catalog to use at serving time. Currently only
|
5471
5514
|
# RecommendationModels are supported: https://cloud.google.com/retail/
|
5472
5515
|
# recommendations-ai/docs/create-models Can be changed but only to a compatible
|
5473
5516
|
# model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when
|
@@ -5491,13 +5534,18 @@ module Google
|
|
5491
5534
|
# @return [Array<String>]
|
5492
5535
|
attr_accessor :oneway_synonyms_control_ids
|
5493
5536
|
|
5537
|
+
# The specification for personalization.
|
5538
|
+
# Corresponds to the JSON property `personalizationSpec`
|
5539
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]
|
5540
|
+
attr_accessor :personalization_spec
|
5541
|
+
|
5494
5542
|
# How much price ranking we want in serving results. Price reranking causes
|
5495
5543
|
# product items with a similar recommendation probability to be ordered by price,
|
5496
5544
|
# with the highest-priced items first. This setting could result in a decrease
|
5497
|
-
# in click-through and conversion rates. Allowed values are: *
|
5498
|
-
# reranking
|
5499
|
-
# reranking
|
5500
|
-
# value:
|
5545
|
+
# in click-through and conversion rates. Allowed values are: * `no-price-
|
5546
|
+
# reranking` * `low-price-raranking` * `medium-price-reranking` * `high-price-
|
5547
|
+
# reranking` If not specified, we choose default based on model type. Default
|
5548
|
+
# value: `no-price-reranking`. Can only be set if solution_types is
|
5501
5549
|
# SOLUTION_TYPE_RECOMMENDATION.
|
5502
5550
|
# Corresponds to the JSON property `priceRerankingLevel`
|
5503
5551
|
# @return [String]
|
@@ -5541,6 +5589,7 @@ module Google
|
|
5541
5589
|
@boost_control_ids = args[:boost_control_ids] if args.key?(:boost_control_ids)
|
5542
5590
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5543
5591
|
@diversity_level = args[:diversity_level] if args.key?(:diversity_level)
|
5592
|
+
@diversity_type = args[:diversity_type] if args.key?(:diversity_type)
|
5544
5593
|
@do_not_associate_control_ids = args[:do_not_associate_control_ids] if args.key?(:do_not_associate_control_ids)
|
5545
5594
|
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
|
5546
5595
|
@enable_category_filter_level = args[:enable_category_filter_level] if args.key?(:enable_category_filter_level)
|
@@ -5550,6 +5599,7 @@ module Google
|
|
5550
5599
|
@model_id = args[:model_id] if args.key?(:model_id)
|
5551
5600
|
@name = args[:name] if args.key?(:name)
|
5552
5601
|
@oneway_synonyms_control_ids = args[:oneway_synonyms_control_ids] if args.key?(:oneway_synonyms_control_ids)
|
5602
|
+
@personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
|
5553
5603
|
@price_reranking_level = args[:price_reranking_level] if args.key?(:price_reranking_level)
|
5554
5604
|
@redirect_control_ids = args[:redirect_control_ids] if args.key?(:redirect_control_ids)
|
5555
5605
|
@replacement_control_ids = args[:replacement_control_ids] if args.key?(:replacement_control_ids)
|
@@ -5702,8 +5752,9 @@ module Google
|
|
5702
5752
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
5703
5753
|
include Google::Apis::Core::Hashable
|
5704
5754
|
|
5705
|
-
# The resource name of the model that this tune applies to. Format: projects/`
|
5755
|
+
# The resource name of the model that this tune applies to. Format: `projects/`
|
5706
5756
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
5757
|
+
# `
|
5707
5758
|
# Corresponds to the JSON property `model`
|
5708
5759
|
# @return [String]
|
5709
5760
|
attr_accessor :model
|
@@ -5853,12 +5904,12 @@ module Google
|
|
5853
5904
|
|
5854
5905
|
# The categories associated with a category page. To represent full path of
|
5855
5906
|
# category, use '>' sign to separate different hierarchies. If '>' is part of
|
5856
|
-
# the category name,
|
5857
|
-
#
|
5858
|
-
#
|
5859
|
-
#
|
5860
|
-
#
|
5861
|
-
#
|
5907
|
+
# the category name, replace it with other character(s). Category pages include
|
5908
|
+
# special pages such as sales or promotions. For instance, a special sale page
|
5909
|
+
# may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black
|
5910
|
+
# Friday Deals"]. Required for `category-page-view` events. At least one of
|
5911
|
+
# search_query or page_categories is required for `search` events. Other event
|
5912
|
+
# types should not set this field. Otherwise, an INVALID_ARGUMENT error is
|
5862
5913
|
# returned.
|
5863
5914
|
# Corresponds to the JSON property `pageCategories`
|
5864
5915
|
# @return [Array<String>]
|
@@ -6213,8 +6264,8 @@ module Google
|
|
6213
6264
|
end
|
6214
6265
|
end
|
6215
6266
|
|
6216
|
-
# Metadata related to the progress of the Export operation. This
|
6217
|
-
#
|
6267
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
6268
|
+
# the google.longrunning.Operation.metadata field.
|
6218
6269
|
class GoogleCloudRetailV2betaExportMetadata
|
6219
6270
|
include Google::Apis::Core::Hashable
|
6220
6271
|
|
@@ -6517,7 +6568,7 @@ module Google
|
|
6517
6568
|
end
|
6518
6569
|
end
|
6519
6570
|
|
6520
|
-
# Metadata for RejoinUserEvents method.
|
6571
|
+
# Metadata for `RejoinUserEvents` method.
|
6521
6572
|
class GoogleCloudRetailV2betaRejoinUserEventsMetadata
|
6522
6573
|
include Google::Apis::Core::Hashable
|
6523
6574
|
|
@@ -6530,7 +6581,7 @@ module Google
|
|
6530
6581
|
end
|
6531
6582
|
end
|
6532
6583
|
|
6533
|
-
# Response message for RejoinUserEvents method.
|
6584
|
+
# Response message for `RejoinUserEvents` method.
|
6534
6585
|
class GoogleCloudRetailV2betaRejoinUserEventsResponse
|
6535
6586
|
include Google::Apis::Core::Hashable
|
6536
6587
|
|
@@ -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.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220901"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1610,6 +1610,7 @@ module Google
|
|
1610
1610
|
property :name, as: 'name'
|
1611
1611
|
property :rule, as: 'rule', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule::Representation
|
1612
1612
|
|
1613
|
+
collection :search_solution_use_case, as: 'searchSolutionUseCase'
|
1613
1614
|
collection :solution_types, as: 'solutionTypes'
|
1614
1615
|
end
|
1615
1616
|
end
|
@@ -2030,6 +2031,8 @@ module Google
|
|
2030
2031
|
collection :images, as: 'images', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImage, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImage::Representation
|
2031
2032
|
|
2032
2033
|
property :language_code, as: 'languageCode'
|
2034
|
+
collection :local_inventories, as: 'localInventories', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLocalInventory, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLocalInventory::Representation
|
2035
|
+
|
2033
2036
|
collection :materials, as: 'materials'
|
2034
2037
|
property :name, as: 'name'
|
2035
2038
|
collection :patterns, as: 'patterns'
|
@@ -2519,6 +2522,7 @@ module Google
|
|
2519
2522
|
collection :boost_control_ids, as: 'boostControlIds'
|
2520
2523
|
property :display_name, as: 'displayName'
|
2521
2524
|
property :diversity_level, as: 'diversityLevel'
|
2525
|
+
property :diversity_type, as: 'diversityType'
|
2522
2526
|
collection :do_not_associate_control_ids, as: 'doNotAssociateControlIds'
|
2523
2527
|
property :dynamic_facet_spec, as: 'dynamicFacetSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec::Representation
|
2524
2528
|
|
@@ -2529,6 +2533,8 @@ module Google
|
|
2529
2533
|
property :model_id, as: 'modelId'
|
2530
2534
|
property :name, as: 'name'
|
2531
2535
|
collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
|
2536
|
+
property :personalization_spec, as: 'personalizationSpec', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec::Representation
|
2537
|
+
|
2532
2538
|
property :price_reranking_level, as: 'priceRerankingLevel'
|
2533
2539
|
collection :redirect_control_ids, as: 'redirectControlIds'
|
2534
2540
|
collection :replacement_control_ids, as: 'replacementControlIds'
|
@@ -52,8 +52,8 @@ module Google
|
|
52
52
|
end
|
53
53
|
|
54
54
|
# Completes the specified prefix with keyword suggestions. This feature is only
|
55
|
-
# available for users who have Retail Search enabled.
|
56
|
-
#
|
55
|
+
# available for users who have Retail Search enabled. Enable Retail Search on
|
56
|
+
# Cloud Console before using this feature.
|
57
57
|
# @param [String] catalog
|
58
58
|
# Required. Catalog for which the completion is performed. Full resource name of
|
59
59
|
# catalog, such as `projects/*/locations/global/catalogs/default_catalog`.
|
@@ -159,8 +159,8 @@ module Google
|
|
159
159
|
|
160
160
|
# Gets a CompletionConfig.
|
161
161
|
# @param [String] name
|
162
|
-
# Required. Full CompletionConfig resource name. Format: projects/`
|
163
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id`/completionConfig
|
162
|
+
# Required. Full CompletionConfig resource name. Format: `projects/`
|
163
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id`/completionConfig`
|
164
164
|
# @param [String] fields
|
165
165
|
# Selector specifying which fields to include in a partial response.
|
166
166
|
# @param [String] quota_user
|
@@ -609,6 +609,37 @@ module Google
|
|
609
609
|
execute_or_queue_command(command, &block)
|
610
610
|
end
|
611
611
|
|
612
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
613
|
+
# to poll the operation result at intervals as recommended by the API service.
|
614
|
+
# @param [String] name
|
615
|
+
# The name of the operation resource.
|
616
|
+
# @param [String] fields
|
617
|
+
# Selector specifying which fields to include in a partial response.
|
618
|
+
# @param [String] quota_user
|
619
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
620
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
621
|
+
# @param [Google::Apis::RequestOptions] options
|
622
|
+
# Request-specific options
|
623
|
+
#
|
624
|
+
# @yield [result, err] Result & error if block supplied
|
625
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleLongrunningOperation] parsed result object
|
626
|
+
# @yieldparam err [StandardError] error object if request failed
|
627
|
+
#
|
628
|
+
# @return [Google::Apis::RetailV2alpha::GoogleLongrunningOperation]
|
629
|
+
#
|
630
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
631
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
632
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
633
|
+
def get_project_location_catalog_branch_place_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
634
|
+
command = make_simple_command(:get, 'v2alpha/{+name}', options)
|
635
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleLongrunningOperation::Representation
|
636
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleLongrunningOperation
|
637
|
+
command.params['name'] = name unless name.nil?
|
638
|
+
command.query['fields'] = fields unless fields.nil?
|
639
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
640
|
+
execute_or_queue_command(command, &block)
|
641
|
+
end
|
642
|
+
|
612
643
|
# Incrementally adds place IDs to Product.fulfillment_info.place_ids. This
|
613
644
|
# process is asynchronous and does not require the Product to exist before
|
614
645
|
# updating fulfillment information. If the request is valid, the update will be
|
@@ -619,8 +650,7 @@ module Google
|
|
619
650
|
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
620
651
|
# associated with the stale updates will not be marked as done until being
|
621
652
|
# obsolete. This feature is only available for users who have Retail Search
|
622
|
-
# enabled.
|
623
|
-
# feature.
|
653
|
+
# enabled. Enable Retail Search on Cloud Console before using this feature.
|
624
654
|
# @param [String] product
|
625
655
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
626
656
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -669,8 +699,8 @@ module Google
|
|
669
699
|
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
670
700
|
# issued, the Operations associated with the stale updates will not be marked as
|
671
701
|
# done until being obsolete. This feature is only available for users who have
|
672
|
-
# Retail Search enabled.
|
673
|
-
#
|
702
|
+
# Retail Search enabled. Enable Retail Search on Cloud Console before using this
|
703
|
+
# feature.
|
674
704
|
# @param [String] product
|
675
705
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
676
706
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1028,8 +1058,7 @@ module Google
|
|
1028
1058
|
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
1029
1059
|
# associated with the stale updates will not be marked as done until being
|
1030
1060
|
# obsolete. This feature is only available for users who have Retail Search
|
1031
|
-
# enabled.
|
1032
|
-
# feature.
|
1061
|
+
# enabled. Enable Retail Search on Cloud Console before using this feature.
|
1033
1062
|
# @param [String] product
|
1034
1063
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
1035
1064
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1076,8 +1105,8 @@ module Google
|
|
1076
1105
|
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
1077
1106
|
# issued, the Operations associated with the stale updates will not be marked as
|
1078
1107
|
# done until being obsolete. This feature is only available for users who have
|
1079
|
-
# Retail Search enabled.
|
1080
|
-
#
|
1108
|
+
# Retail Search enabled. Enable Retail Search on Cloud Console before using this
|
1109
|
+
# feature.
|
1081
1110
|
# @param [String] product
|
1082
1111
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
1083
1112
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1116,26 +1145,26 @@ module Google
|
|
1116
1145
|
# Updates inventory information for a Product while respecting the last update
|
1117
1146
|
# timestamps of each inventory field. This process is asynchronous and does not
|
1118
1147
|
# require the Product to exist before updating fulfillment information. If the
|
1119
|
-
# request is valid, the update
|
1148
|
+
# request is valid, the update is enqueued and processed downstream. As a
|
1120
1149
|
# consequence, when a response is returned, updates are not immediately
|
1121
1150
|
# manifested in the Product queried by ProductService.GetProduct or
|
1122
1151
|
# ProductService.ListProducts. When inventory is updated with ProductService.
|
1123
1152
|
# CreateProduct and ProductService.UpdateProduct, the specified inventory field
|
1124
|
-
# value(s)
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
# ProductService.
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
1137
|
-
#
|
1138
|
-
#
|
1153
|
+
# value(s) overwrite any existing value(s) while ignoring the last update time
|
1154
|
+
# for this field. Furthermore, the last update times for the specified inventory
|
1155
|
+
# fields are overwritten by the times of the ProductService.CreateProduct or
|
1156
|
+
# ProductService.UpdateProduct request. If no inventory fields are set in
|
1157
|
+
# CreateProductRequest.product, then any pre-existing inventory information for
|
1158
|
+
# this product is used. If no inventory fields are set in SetInventoryRequest.
|
1159
|
+
# set_mask, then any existing inventory information is preserved. Pre-existing
|
1160
|
+
# inventory information can only be updated with ProductService.SetInventory,
|
1161
|
+
# ProductService.AddFulfillmentPlaces, and ProductService.
|
1162
|
+
# RemoveFulfillmentPlaces. The returned Operations is obsolete after one day,
|
1163
|
+
# and the GetOperation API returns `NOT_FOUND` afterwards. If conflicting
|
1164
|
+
# updates are issued, the Operations associated with the stale updates are not
|
1165
|
+
# marked as done until they are obsolete. This feature is only available for
|
1166
|
+
# users who have Retail Search enabled. Enable Retail Search on Cloud Console
|
1167
|
+
# before using this feature.
|
1139
1168
|
# @param [String] name
|
1140
1169
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1141
1170
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
@@ -1173,8 +1202,8 @@ module Google
|
|
1173
1202
|
# asynchronous. Partial updating is not supported. The operation is successfully
|
1174
1203
|
# finished only after the imported suggestions are indexed successfully and
|
1175
1204
|
# ready for serving. The process takes hours. This feature is only available for
|
1176
|
-
# users who have Retail Search enabled.
|
1177
|
-
#
|
1205
|
+
# users who have Retail Search enabled. Enable Retail Search on Cloud Console
|
1206
|
+
# before using this feature.
|
1178
1207
|
# @param [String] parent
|
1179
1208
|
# Required. The catalog which the suggestions dataset belongs to. Format: `
|
1180
1209
|
# projects/1234/locations/global/catalogs/default_catalog`.
|
@@ -1283,7 +1312,7 @@ module Google
|
|
1283
1312
|
|
1284
1313
|
# Gets a Control.
|
1285
1314
|
# @param [String] name
|
1286
|
-
# Required. The resource name of the Control to
|
1315
|
+
# Required. The resource name of the Control to get. Format: `projects/`
|
1287
1316
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/controls/`
|
1288
1317
|
# control_id``
|
1289
1318
|
# @param [String] fields
|
@@ -1313,7 +1342,7 @@ module Google
|
|
1313
1342
|
execute_or_queue_command(command, &block)
|
1314
1343
|
end
|
1315
1344
|
|
1316
|
-
# Lists all Controls
|
1345
|
+
# Lists all Controls by their parent Catalog.
|
1317
1346
|
# @param [String] parent
|
1318
1347
|
# Required. The catalog resource name. Format: `projects/`project_number`/
|
1319
1348
|
# locations/`location_id`/catalogs/`catalog_id``
|
@@ -1359,7 +1388,7 @@ module Google
|
|
1359
1388
|
end
|
1360
1389
|
|
1361
1390
|
# Updates a Control. Control cannot be set to a different oneof field, if so an
|
1362
|
-
# INVALID_ARGUMENT is returned. If the Control to
|
1391
|
+
# INVALID_ARGUMENT is returned. If the Control to update does not exist, a
|
1363
1392
|
# NOT_FOUND error is returned.
|
1364
1393
|
# @param [String] name
|
1365
1394
|
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
@@ -1401,8 +1430,8 @@ module Google
|
|
1401
1430
|
|
1402
1431
|
# Creates a new model.
|
1403
1432
|
# @param [String] parent
|
1404
|
-
# Required. The parent resource under which to create the model. Format:
|
1405
|
-
# projects/`project_number`/locations/`location_id`/catalogs/`catalog_id
|
1433
|
+
# Required. The parent resource under which to create the model. Format: `
|
1434
|
+
# projects/`project_number`/locations/`location_id`/catalogs/`catalog_id``
|
1406
1435
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel] google_cloud_retail_v2alpha_model_object
|
1407
1436
|
# @param [Boolean] dry_run
|
1408
1437
|
# Optional. Whether to run a dry run to validate the request (without actually
|
@@ -1439,8 +1468,9 @@ module Google
|
|
1439
1468
|
|
1440
1469
|
# Deletes an existing model.
|
1441
1470
|
# @param [String] name
|
1442
|
-
# Required. The resource name of the Model to delete. Format: projects/`
|
1471
|
+
# Required. The resource name of the Model to delete. Format: `projects/`
|
1443
1472
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1473
|
+
# `
|
1444
1474
|
# @param [String] fields
|
1445
1475
|
# Selector specifying which fields to include in a partial response.
|
1446
1476
|
# @param [String] quota_user
|
@@ -1470,8 +1500,8 @@ module Google
|
|
1470
1500
|
|
1471
1501
|
# Lists all the models linked to this event store.
|
1472
1502
|
# @param [String] parent
|
1473
|
-
# Required. The parent for which to list models. Format: projects/`
|
1474
|
-
# project_number`/locations/`location_id`/catalogs/`catalog_id
|
1503
|
+
# Required. The parent for which to list models. Format: `projects/`
|
1504
|
+
# project_number`/locations/`location_id`/catalogs/`catalog_id``
|
1475
1505
|
# @param [Fixnum] page_size
|
1476
1506
|
# Optional. Maximum number of results to return. If unspecified, defaults to 50.
|
1477
1507
|
# Max allowed value is 1000.
|
@@ -1551,8 +1581,8 @@ module Google
|
|
1551
1581
|
|
1552
1582
|
# Pauses the training of an existing model.
|
1553
1583
|
# @param [String] name
|
1554
|
-
# Required. The name of the model to pause. Format: projects/`project_number`/
|
1555
|
-
# locations/`location_id`/catalogs/`catalog_id`/models/`model_id
|
1584
|
+
# Required. The name of the model to pause. Format: `projects/`project_number`/
|
1585
|
+
# locations/`location_id`/catalogs/`catalog_id`/models/`model_id``
|
1556
1586
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPauseModelRequest] google_cloud_retail_v2alpha_pause_model_request_object
|
1557
1587
|
# @param [String] fields
|
1558
1588
|
# Selector specifying which fields to include in a partial response.
|
@@ -1585,8 +1615,8 @@ module Google
|
|
1585
1615
|
|
1586
1616
|
# Resumes the training of an existing model.
|
1587
1617
|
# @param [String] name
|
1588
|
-
# Required. The name of the model to resume. Format: projects/`project_number`/
|
1589
|
-
# locations/`location_id`/catalogs/`catalog_id`/models/`model_id
|
1618
|
+
# Required. The name of the model to resume. Format: `projects/`project_number`/
|
1619
|
+
# locations/`location_id`/catalogs/`catalog_id`/models/`model_id``
|
1590
1620
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaResumeModelRequest] google_cloud_retail_v2alpha_resume_model_request_object
|
1591
1621
|
# @param [String] fields
|
1592
1622
|
# Selector specifying which fields to include in a partial response.
|
@@ -1619,8 +1649,9 @@ module Google
|
|
1619
1649
|
|
1620
1650
|
# Tunes an existing model.
|
1621
1651
|
# @param [String] name
|
1622
|
-
# Required. The resource name of the model to tune. Format: projects/`
|
1652
|
+
# Required. The resource name of the model to tune. Format: `projects/`
|
1623
1653
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1654
|
+
# `
|
1624
1655
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTuneModelRequest] google_cloud_retail_v2alpha_tune_model_request_object
|
1625
1656
|
# @param [String] fields
|
1626
1657
|
# Selector specifying which fields to include in a partial response.
|
@@ -1771,7 +1802,7 @@ module Google
|
|
1771
1802
|
end
|
1772
1803
|
|
1773
1804
|
# Performs a search. This feature is only available for users who have Retail
|
1774
|
-
# Search enabled.
|
1805
|
+
# Search enabled. Enable Retail Search on Cloud Console before using this
|
1775
1806
|
# feature.
|
1776
1807
|
# @param [String] placement
|
1777
1808
|
# Required. The resource name of the Retail Search serving config, such as `
|
@@ -1817,9 +1848,9 @@ module Google
|
|
1817
1848
|
# Returns a FAILED_PRECONDITION error if the addition could exceed maximum
|
1818
1849
|
# number of control allowed for that type of control.
|
1819
1850
|
# @param [String] serving_config
|
1820
|
-
# Required. The source ServingConfig resource name . Format: projects/`
|
1851
|
+
# Required. The source ServingConfig resource name . Format: `projects/`
|
1821
1852
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
1822
|
-
# serving_config_id
|
1853
|
+
# serving_config_id``
|
1823
1854
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaAddControlRequest] google_cloud_retail_v2alpha_add_control_request_object
|
1824
1855
|
# @param [String] fields
|
1825
1856
|
# Selector specifying which fields to include in a partial response.
|
@@ -1893,9 +1924,9 @@ module Google
|
|
1893
1924
|
# Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does
|
1894
1925
|
# not exist.
|
1895
1926
|
# @param [String] name
|
1896
|
-
# Required. The resource name of the ServingConfig to delete. Format: projects/`
|
1927
|
+
# Required. The resource name of the ServingConfig to delete. Format: `projects/`
|
1897
1928
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
1898
|
-
# serving_config_id
|
1929
|
+
# serving_config_id``
|
1899
1930
|
# @param [String] fields
|
1900
1931
|
# Selector specifying which fields to include in a partial response.
|
1901
1932
|
# @param [String] quota_user
|
@@ -1926,9 +1957,9 @@ module Google
|
|
1926
1957
|
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
1927
1958
|
# exist.
|
1928
1959
|
# @param [String] name
|
1929
|
-
# Required. The resource name of the ServingConfig to get. Format: projects/`
|
1960
|
+
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
1930
1961
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
1931
|
-
# serving_config_id
|
1962
|
+
# serving_config_id``
|
1932
1963
|
# @param [String] fields
|
1933
1964
|
# Selector specifying which fields to include in a partial response.
|
1934
1965
|
# @param [String] quota_user
|
@@ -1958,8 +1989,8 @@ module Google
|
|
1958
1989
|
|
1959
1990
|
# Lists all ServingConfigs linked to this catalog.
|
1960
1991
|
# @param [String] parent
|
1961
|
-
# Required. The catalog resource name. Format: projects/`project_number`/
|
1962
|
-
# locations/`location_id`/catalogs/`catalog_id
|
1992
|
+
# Required. The catalog resource name. Format: `projects/`project_number`/
|
1993
|
+
# locations/`location_id`/catalogs/`catalog_id``
|
1963
1994
|
# @param [Fixnum] page_size
|
1964
1995
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
1965
1996
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -2080,9 +2111,9 @@ module Google
|
|
2080
2111
|
# the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for
|
2081
2112
|
# the ServingConfig.
|
2082
2113
|
# @param [String] serving_config
|
2083
|
-
# Required. The source ServingConfig resource name . Format: projects/`
|
2114
|
+
# Required. The source ServingConfig resource name . Format: `projects/`
|
2084
2115
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
2085
|
-
# serving_config_id
|
2116
|
+
# serving_config_id``
|
2086
2117
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRemoveControlRequest] google_cloud_retail_v2alpha_remove_control_request_object
|
2087
2118
|
# @param [String] fields
|
2088
2119
|
# Selector specifying which fields to include in a partial response.
|
@@ -2114,7 +2145,7 @@ module Google
|
|
2114
2145
|
end
|
2115
2146
|
|
2116
2147
|
# Performs a search. This feature is only available for users who have Retail
|
2117
|
-
# Search enabled.
|
2148
|
+
# Search enabled. Enable Retail Search on Cloud Console before using this
|
2118
2149
|
# feature.
|
2119
2150
|
# @param [String] placement
|
2120
2151
|
# Required. The resource name of the Retail Search serving config, such as `
|
@@ -2275,12 +2306,12 @@ module Google
|
|
2275
2306
|
execute_or_queue_command(command, &block)
|
2276
2307
|
end
|
2277
2308
|
|
2278
|
-
# Starts a user
|
2279
|
-
# not
|
2280
|
-
# the catalog
|
2281
|
-
#
|
2282
|
-
# method
|
2283
|
-
#
|
2309
|
+
# Starts a user-event rejoin operation with latest product catalog. Events are
|
2310
|
+
# not annotated with detailed product information for products that are missing
|
2311
|
+
# from the catalog when the user event is ingested. These events are stored as
|
2312
|
+
# unjoined events with limited usage on training and serving. You can use this
|
2313
|
+
# method to start a join operation on specified events with the latest version
|
2314
|
+
# of product catalog. You can also use this method to correct events joined with
|
2284
2315
|
# the wrong product catalog. A rejoin operation can take hours or days to
|
2285
2316
|
# complete.
|
2286
2317
|
# @param [String] parent
|
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.56.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: 2022-
|
11
|
+
date: 2022-09-12 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.56.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: []
|