google-apis-retail_v2alpha 0.51.0 → 0.54.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: a84b377b5e3876b5d1aa8417ff0f7a5c81a7ddae9fa135b9d8101aab0979ab83
|
4
|
+
data.tar.gz: cf01058dc4d9467ff4604aff45e738332d10cd34ae37ec3b453a0f12076afa1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dc5b47987648a68f7ca7d3e2b1d2212fbf062062b196b2da890cb07e5ca833c442d9e2b0abefcf2b9a8470b04e5e4af97134a583f93469aee510d949cffab8b
|
7
|
+
data.tar.gz: 6dbe5b867aff110e2ddac846dc9677aa60b834251025292d67b5ba0a0dafa4c10e29ca999ea4af56070e1f9231e5f5e349c59f56ee2e0238cd93469d2c3aa0b3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.54.0 (2022-08-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220822
|
6
|
+
|
7
|
+
### v0.53.0 (2022-08-21)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.52.0 (2022-08-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220811
|
14
|
+
|
3
15
|
### v0.51.0 (2022-08-03)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220729
|
@@ -365,8 +365,8 @@ module Google
|
|
365
365
|
include Google::Apis::Core::Hashable
|
366
366
|
|
367
367
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
368
|
-
# Cloud Storage directory. Import errors
|
369
|
-
#
|
368
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
369
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
370
370
|
# Corresponds to the JSON property `gcsPrefix`
|
371
371
|
# @return [String]
|
372
372
|
attr_accessor :gcs_prefix
|
@@ -381,8 +381,8 @@ module Google
|
|
381
381
|
end
|
382
382
|
end
|
383
383
|
|
384
|
-
# Metadata related to the progress of the Import operation. This
|
385
|
-
#
|
384
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
385
|
+
# the google.longrunning.Operation.metadata field.
|
386
386
|
class GoogleCloudRetailV2ImportMetadata
|
387
387
|
include Google::Apis::Core::Hashable
|
388
388
|
|
@@ -397,9 +397,9 @@ module Google
|
|
397
397
|
attr_accessor :failure_count
|
398
398
|
|
399
399
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
400
|
-
# import is finished, a notification
|
401
|
-
#
|
402
|
-
#
|
400
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
401
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
402
|
+
# projects/`project`/topics/`topic``.
|
403
403
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
404
404
|
# @return [String]
|
405
405
|
attr_accessor :notification_pubsub_topic
|
@@ -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
|
|
@@ -1300,7 +1300,7 @@ module Google
|
|
1300
1300
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
1301
1301
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
1302
1302
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
1303
|
-
# * They are transformed to lower
|
1303
|
+
# * They are transformed to lower case. * They are UTF-8 safe. Recent searches
|
1304
1304
|
# are deduplicated. More recent searches will be reserved when duplication
|
1305
1305
|
# happens.
|
1306
1306
|
# Corresponds to the JSON property `recentSearchResults`
|
@@ -1562,8 +1562,8 @@ module Google
|
|
1562
1562
|
|
1563
1563
|
# The value of the term to match on. Value cannot be empty. Value can have at
|
1564
1564
|
# 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.
|
1565
|
+
# considered as one term. For example, "a b c" is 3 terms and allowed, but " a b
|
1566
|
+
# c d" is 4 terms and not allowed for a partial match.
|
1567
1567
|
# Corresponds to the JSON property `value`
|
1568
1568
|
# @return [String]
|
1569
1569
|
attr_accessor :value
|
@@ -1605,14 +1605,14 @@ module Google
|
|
1605
1605
|
end
|
1606
1606
|
end
|
1607
1607
|
|
1608
|
-
# Configures dynamic
|
1609
|
-
# search
|
1608
|
+
# Configures dynamic metadata that can be linked to a ServingConfig and affect
|
1609
|
+
# search or recommendation results at serving time.
|
1610
1610
|
class GoogleCloudRetailV2alphaControl
|
1611
1611
|
include Google::Apis::Core::Hashable
|
1612
1612
|
|
1613
|
-
# Output only. List of serving configuration ids that
|
1614
|
-
#
|
1615
|
-
# an output only
|
1613
|
+
# Output only. List of serving configuration ids that are associated with this
|
1614
|
+
# control in the same Catalog. Note the association is managed via the
|
1615
|
+
# ServingConfig, this is an output only denormalized view.
|
1616
1616
|
# Corresponds to the JSON property `associatedServingConfigIds`
|
1617
1617
|
# @return [Array<String>]
|
1618
1618
|
attr_accessor :associated_serving_config_ids
|
@@ -1636,13 +1636,21 @@ module Google
|
|
1636
1636
|
attr_accessor :name
|
1637
1637
|
|
1638
1638
|
# 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
|
-
#
|
1639
|
+
# triggered. * An action specifies what occurs on that trigger. Currently rules
|
1640
|
+
# only work for controls with SOLUTION_TYPE_SEARCH.
|
1641
1641
|
# Corresponds to the JSON property `rule`
|
1642
1642
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRule]
|
1643
1643
|
attr_accessor :rule
|
1644
1644
|
|
1645
|
-
#
|
1645
|
+
# Specifies the use case for the control. Affects what condition fields can be
|
1646
|
+
# set. Only settable by search controls. Will default to
|
1647
|
+
# SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one
|
1648
|
+
# search_solution_use_case per control.
|
1649
|
+
# Corresponds to the JSON property `searchSolutionUseCase`
|
1650
|
+
# @return [Array<String>]
|
1651
|
+
attr_accessor :search_solution_use_case
|
1652
|
+
|
1653
|
+
# Required. Immutable. The solution types that the control is used for.
|
1646
1654
|
# Currently we support setting only one type of solution at creation time. Only `
|
1647
1655
|
# SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is
|
1648
1656
|
# provided at creation time, will default to SOLUTION_TYPE_SEARCH.
|
@@ -1661,6 +1669,7 @@ module Google
|
|
1661
1669
|
@facet_spec = args[:facet_spec] if args.key?(:facet_spec)
|
1662
1670
|
@name = args[:name] if args.key?(:name)
|
1663
1671
|
@rule = args[:rule] if args.key?(:rule)
|
1672
|
+
@search_solution_use_case = args[:search_solution_use_case] if args.key?(:search_solution_use_case)
|
1664
1673
|
@solution_types = args[:solution_types] if args.key?(:solution_types)
|
1665
1674
|
end
|
1666
1675
|
end
|
@@ -1669,8 +1678,9 @@ module Google
|
|
1669
1678
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
1670
1679
|
include Google::Apis::Core::Hashable
|
1671
1680
|
|
1672
|
-
# The resource name of the model that this create applies to. Format: projects/`
|
1681
|
+
# The resource name of the model that this create applies to. Format: `projects/`
|
1673
1682
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1683
|
+
# `
|
1674
1684
|
# Corresponds to the JSON property `model`
|
1675
1685
|
# @return [String]
|
1676
1686
|
attr_accessor :model
|
@@ -1763,8 +1773,8 @@ module Google
|
|
1763
1773
|
end
|
1764
1774
|
end
|
1765
1775
|
|
1766
|
-
# Metadata related to the progress of the Export operation. This
|
1767
|
-
#
|
1776
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
1777
|
+
# the google.longrunning.Operation.metadata field.
|
1768
1778
|
class GoogleCloudRetailV2alphaExportMetadata
|
1769
1779
|
include Google::Apis::Core::Hashable
|
1770
1780
|
|
@@ -1892,7 +1902,7 @@ module Google
|
|
1892
1902
|
end
|
1893
1903
|
end
|
1894
1904
|
|
1895
|
-
# Google Cloud Storage location for input content.
|
1905
|
+
# Google Cloud Storage location for input content.
|
1896
1906
|
class GoogleCloudRetailV2alphaGcsSource
|
1897
1907
|
include Google::Apis::Core::Hashable
|
1898
1908
|
|
@@ -1903,8 +1913,8 @@ module Google
|
|
1903
1913
|
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
1904
1914
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
1905
1915
|
# user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.
|
1906
|
-
# Supported values for control imports: *
|
1907
|
-
# per line. Supported values for catalog attribute imports: *
|
1916
|
+
# Supported values for control imports: * `control` (default): One JSON Control
|
1917
|
+
# per line. Supported values for catalog attribute imports: * `catalog_attribute`
|
1908
1918
|
# (default): One CSV CatalogAttribute per line.
|
1909
1919
|
# Corresponds to the JSON property `dataSchema`
|
1910
1920
|
# @return [String]
|
@@ -2014,9 +2024,9 @@ module Google
|
|
2014
2024
|
attr_accessor :input_config
|
2015
2025
|
|
2016
2026
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
2017
|
-
# import is finished, a notification
|
2018
|
-
#
|
2019
|
-
#
|
2027
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
2028
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2029
|
+
# projects/`project`/topics/`topic``.
|
2020
2030
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2021
2031
|
# @return [String]
|
2022
2032
|
attr_accessor :notification_pubsub_topic
|
@@ -2058,8 +2068,8 @@ module Google
|
|
2058
2068
|
include Google::Apis::Core::Hashable
|
2059
2069
|
|
2060
2070
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
2061
|
-
# Cloud Storage directory. Import errors
|
2062
|
-
#
|
2071
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
2072
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
2063
2073
|
# Corresponds to the JSON property `gcsPrefix`
|
2064
2074
|
# @return [String]
|
2065
2075
|
attr_accessor :gcs_prefix
|
@@ -2074,8 +2084,8 @@ module Google
|
|
2074
2084
|
end
|
2075
2085
|
end
|
2076
2086
|
|
2077
|
-
# Metadata related to the progress of the Import operation. This
|
2078
|
-
#
|
2087
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
2088
|
+
# the google.longrunning.Operation.metadata field.
|
2079
2089
|
class GoogleCloudRetailV2alphaImportMetadata
|
2080
2090
|
include Google::Apis::Core::Hashable
|
2081
2091
|
|
@@ -2090,9 +2100,9 @@ module Google
|
|
2090
2100
|
attr_accessor :failure_count
|
2091
2101
|
|
2092
2102
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
2093
|
-
# import is finished, a notification
|
2094
|
-
#
|
2095
|
-
#
|
2103
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
2104
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2105
|
+
# projects/`project`/topics/`topic``.
|
2096
2106
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2097
2107
|
# @return [String]
|
2098
2108
|
attr_accessor :notification_pubsub_topic
|
@@ -2149,12 +2159,12 @@ module Google
|
|
2149
2159
|
attr_accessor :input_config
|
2150
2160
|
|
2151
2161
|
# Full Pub/Sub topic name for receiving notification. If this field is set, when
|
2152
|
-
# the import is finished, a notification
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
#
|
2156
|
-
#
|
2157
|
-
#
|
2162
|
+
# the import is finished, a notification is sent to specified Pub/Sub topic. The
|
2163
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
2164
|
+
# projects/`project`/topics/`topic``. It has to be within the same project as
|
2165
|
+
# ImportProductsRequest.parent. Make sure that `service-@gcp-sa-retail.iam.
|
2166
|
+
# gserviceaccount.com` has the `pubsub.topics.publish` IAM permission on the
|
2167
|
+
# topic.
|
2158
2168
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2159
2169
|
# @return [String]
|
2160
2170
|
attr_accessor :notification_pubsub_topic
|
@@ -2170,7 +2180,7 @@ module Google
|
|
2170
2180
|
# @return [String]
|
2171
2181
|
attr_accessor :request_id
|
2172
2182
|
|
2173
|
-
# If true,
|
2183
|
+
# If true, this performs the FULL import even if it would delete a large
|
2174
2184
|
# proportion of the products in the default branch, which could potentially
|
2175
2185
|
# cause outages if you have live predict/search traffic. Only supported when
|
2176
2186
|
# ImportProductsRequest.reconciliation_mode is set to `FULL`.
|
@@ -2179,8 +2189,8 @@ module Google
|
|
2179
2189
|
attr_accessor :skip_default_branch_protection
|
2180
2190
|
alias_method :skip_default_branch_protection?, :skip_default_branch_protection
|
2181
2191
|
|
2182
|
-
# Indicates which fields in the provided imported
|
2183
|
-
# set,
|
2192
|
+
# Indicates which fields in the provided imported `products` to update. If not
|
2193
|
+
# set, all fields are updated.
|
2184
2194
|
# Corresponds to the JSON property `updateMask`
|
2185
2195
|
# @return [String]
|
2186
2196
|
attr_accessor :update_mask
|
@@ -2529,8 +2539,8 @@ module Google
|
|
2529
2539
|
attr_accessor :branch_id
|
2530
2540
|
|
2531
2541
|
# String representing the destination to import for, all if left empty. List of
|
2532
|
-
# possible values
|
2533
|
-
# answer/7501026
|
2542
|
+
# possible values is given in [Included destination](https://support.google.com/
|
2543
|
+
# merchants/answer/7501026). List of allowed string values: "Shopping_ads", "
|
2534
2544
|
# Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings"
|
2535
2545
|
# , "Free_local_listings" NOTE: The string values are case sensitive.
|
2536
2546
|
# Corresponds to the JSON property `destinations`
|
@@ -2597,7 +2607,7 @@ module Google
|
|
2597
2607
|
|
2598
2608
|
# Metadata that describes the training and serving parameters of a Model. A
|
2599
2609
|
# Model can be associated with a ServingConfig and then queried through the
|
2600
|
-
# Predict
|
2610
|
+
# Predict API.
|
2601
2611
|
class GoogleCloudRetailV2alphaModel
|
2602
2612
|
include Google::Apis::Core::Hashable
|
2603
2613
|
|
@@ -2606,23 +2616,23 @@ module Google
|
|
2606
2616
|
# @return [String]
|
2607
2617
|
attr_accessor :create_time
|
2608
2618
|
|
2609
|
-
# Output only. The state of data requirements for this model: DATA_OK and
|
2610
|
-
# DATA_ERROR
|
2611
|
-
# DATA_ERROR state. Recommendation model can have DATA_ERROR state even if
|
2612
|
-
# serving state is ACTIVE
|
2619
|
+
# Output only. The state of data requirements for this model: `DATA_OK` and `
|
2620
|
+
# DATA_ERROR`. Recommendation model cannot be trained if the data is in `
|
2621
|
+
# DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if
|
2622
|
+
# serving state is `ACTIVE`: models were trained successfully before, but cannot
|
2613
2623
|
# be refreshed because model no longer has sufficient data for training.
|
2614
2624
|
# Corresponds to the JSON property `dataState`
|
2615
2625
|
# @return [String]
|
2616
2626
|
attr_accessor :data_state
|
2617
2627
|
|
2618
2628
|
# Required. The display name of the model. Should be human readable, used to
|
2619
|
-
# display Recommendation Models in the Retail Cloud
|
2629
|
+
# display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8
|
2620
2630
|
# encoded string with limit of 1024 characters.
|
2621
2631
|
# Corresponds to the JSON property `displayName`
|
2622
2632
|
# @return [String]
|
2623
2633
|
attr_accessor :display_name
|
2624
2634
|
|
2625
|
-
# Optional. If RECOMMENDATIONS_FILTERING_ENABLED
|
2635
|
+
# Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by
|
2626
2636
|
# attributes is enabled for the model.
|
2627
2637
|
# Corresponds to the JSON property `filteringOption`
|
2628
2638
|
# @return [String]
|
@@ -2633,9 +2643,10 @@ module Google
|
|
2633
2643
|
# @return [String]
|
2634
2644
|
attr_accessor :last_tune_time
|
2635
2645
|
|
2636
|
-
# Required. The fully qualified resource name of the model. Format: projects/`
|
2646
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
2637
2647
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
2638
|
-
# catalog_id has char limit of 50. recommendation_model_id has char limit of
|
2648
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
2649
|
+
# 40.
|
2639
2650
|
# Corresponds to the JSON property `name`
|
2640
2651
|
# @return [String]
|
2641
2652
|
attr_accessor :name
|
@@ -2658,8 +2669,8 @@ module Google
|
|
2658
2669
|
attr_accessor :page_optimization_config
|
2659
2670
|
|
2660
2671
|
# Optional. The state of periodic tuning. The period we use is 3 months - to do
|
2661
|
-
# a one-off tune earlier use the TuneModel method. Default value is
|
2662
|
-
# PERIODIC_TUNING_ENABLED
|
2672
|
+
# a one-off tune earlier use the `TuneModel` method. Default value is `
|
2673
|
+
# PERIODIC_TUNING_ENABLED`.
|
2663
2674
|
# Corresponds to the JSON property `periodicTuningState`
|
2664
2675
|
# @return [String]
|
2665
2676
|
attr_accessor :periodic_tuning_state
|
@@ -2670,16 +2681,16 @@ module Google
|
|
2670
2681
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList>]
|
2671
2682
|
attr_accessor :serving_config_lists
|
2672
2683
|
|
2673
|
-
# Output only. The serving state of the model: ACTIVE
|
2684
|
+
# Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
|
2674
2685
|
# Corresponds to the JSON property `servingState`
|
2675
2686
|
# @return [String]
|
2676
2687
|
attr_accessor :serving_state
|
2677
2688
|
|
2678
|
-
# Optional. The training state that the model is in (e.g. TRAINING or PAUSED)
|
2679
|
-
# Since part of the cost of running the service is frequency of training -
|
2680
|
-
# can be used to determine when to train model in order to control cost. If
|
2681
|
-
# specified: the default value for CreateModel method is TRAINING
|
2682
|
-
# value for UpdateModel method is to keep the state the same as before.
|
2689
|
+
# Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`)
|
2690
|
+
# . Since part of the cost of running the service is frequency of training -
|
2691
|
+
# this can be used to determine when to train model in order to control cost. If
|
2692
|
+
# not specified: the default value for `CreateModel` method is `TRAINING`. The
|
2693
|
+
# default value for `UpdateModel` method is to keep the state the same as before.
|
2683
2694
|
# Corresponds to the JSON property `trainingState`
|
2684
2695
|
# @return [String]
|
2685
2696
|
attr_accessor :training_state
|
@@ -2693,7 +2704,7 @@ module Google
|
|
2693
2704
|
|
2694
2705
|
# Required. The type of model e.g. `home-page`. Currently supported values: `
|
2695
2706
|
# recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `
|
2696
|
-
# page-optimization`,
|
2707
|
+
# page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(
|
2697
2708
|
# readonly value).
|
2698
2709
|
# Corresponds to the JSON property `type`
|
2699
2710
|
# @return [String]
|
@@ -2778,9 +2789,10 @@ module Google
|
|
2778
2789
|
class GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate
|
2779
2790
|
include Google::Apis::Core::Hashable
|
2780
2791
|
|
2781
|
-
# This has to be a valid ServingConfig identifier.
|
2782
|
-
# full name: `projects/*/locations/global/catalogs/
|
2783
|
-
# servingConfigs/my_candidate_config
|
2792
|
+
# This has to be a valid ServingConfig identifier. For example, for a
|
2793
|
+
# ServingConfig with full name: `projects/*/locations/global/catalogs/
|
2794
|
+
# default_catalog/servingConfigs/my_candidate_config`, this would be `
|
2795
|
+
# my_candidate_config`.
|
2784
2796
|
# Corresponds to the JSON property `servingConfigId`
|
2785
2797
|
# @return [String]
|
2786
2798
|
attr_accessor :serving_config_id
|
@@ -2827,13 +2839,13 @@ module Google
|
|
2827
2839
|
end
|
2828
2840
|
end
|
2829
2841
|
|
2830
|
-
# Represents an ordered combination of valid serving configs, which
|
2831
|
-
#
|
2842
|
+
# Represents an ordered combination of valid serving configs, which can be used
|
2843
|
+
# for `PAGE_OPTIMIZATION` recommendations.
|
2832
2844
|
class GoogleCloudRetailV2alphaModelServingConfigList
|
2833
2845
|
include Google::Apis::Core::Hashable
|
2834
2846
|
|
2835
|
-
# Optional. A set of valid serving configs that may be used for
|
2836
|
-
# PAGE_OPTIMIZATION
|
2847
|
+
# Optional. A set of valid serving configs that may be used for `
|
2848
|
+
# PAGE_OPTIMIZATION`.
|
2837
2849
|
# Corresponds to the JSON property `servingConfigIds`
|
2838
2850
|
# @return [Array<String>]
|
2839
2851
|
attr_accessor :serving_config_ids
|
@@ -2924,15 +2936,15 @@ module Google
|
|
2924
2936
|
# @return [Hash<String,String>]
|
2925
2937
|
attr_accessor :labels
|
2926
2938
|
|
2927
|
-
# Maximum number of results to return
|
2928
|
-
#
|
2939
|
+
# Maximum number of results to return. Set this property to the number of
|
2940
|
+
# prediction results needed. If zero, the service will choose a reasonable
|
2929
2941
|
# default. The maximum allowed value is 100. Values above 100 will be coerced to
|
2930
2942
|
# 100.
|
2931
2943
|
# Corresponds to the JSON property `pageSize`
|
2932
2944
|
# @return [Fixnum]
|
2933
2945
|
attr_accessor :page_size
|
2934
2946
|
|
2935
|
-
# This field is not used
|
2947
|
+
# This field is not used; leave it unset.
|
2936
2948
|
# Corresponds to the JSON property `pageToken`
|
2937
2949
|
# @return [String]
|
2938
2950
|
attr_accessor :page_token
|
@@ -3221,11 +3233,11 @@ module Google
|
|
3221
3233
|
# belonging to several parallel categories. Strongly recommended using the full
|
3222
3234
|
# path for better search / recommendation quality. To represent full path of
|
3223
3235
|
# category, use '>' sign to separate different hierarchies. If '>' is part of
|
3224
|
-
# the category name,
|
3225
|
-
#
|
3226
|
-
#
|
3227
|
-
#
|
3228
|
-
#
|
3236
|
+
# the category name, replace it with other character(s). For example, if a shoes
|
3237
|
+
# product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports &
|
3238
|
+
# Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "
|
3239
|
+
# categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
|
3240
|
+
# Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
|
3229
3241
|
# INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product.
|
3230
3242
|
# Empty values are not allowed. Each value must be a UTF-8 encoded string with
|
3231
3243
|
# a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is
|
@@ -3333,6 +3345,13 @@ module Google
|
|
3333
3345
|
# @return [String]
|
3334
3346
|
attr_accessor :language_code
|
3335
3347
|
|
3348
|
+
# Output only. A list of local inventories specific to different places. This is
|
3349
|
+
# only available for users who have Retail Search enabled, and it can be managed
|
3350
|
+
# by AddLocalInventories and RemoveLocalInventories APIs.
|
3351
|
+
# Corresponds to the JSON property `localInventories`
|
3352
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaLocalInventory>]
|
3353
|
+
attr_accessor :local_inventories
|
3354
|
+
|
3336
3355
|
# The material of the product. For example, "leather", "wooden". A maximum of 20
|
3337
3356
|
# values are allowed. Each value must be a UTF-8 encoded string with a length
|
3338
3357
|
# limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
@@ -3511,6 +3530,7 @@ module Google
|
|
3511
3530
|
@id = args[:id] if args.key?(:id)
|
3512
3531
|
@images = args[:images] if args.key?(:images)
|
3513
3532
|
@language_code = args[:language_code] if args.key?(:language_code)
|
3533
|
+
@local_inventories = args[:local_inventories] if args.key?(:local_inventories)
|
3514
3534
|
@materials = args[:materials] if args.key?(:materials)
|
3515
3535
|
@name = args[:name] if args.key?(:name)
|
3516
3536
|
@patterns = args[:patterns] if args.key?(:patterns)
|
@@ -3588,7 +3608,7 @@ module Google
|
|
3588
3608
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource]
|
3589
3609
|
attr_accessor :big_query_source
|
3590
3610
|
|
3591
|
-
# Google Cloud Storage location for input content.
|
3611
|
+
# Google Cloud Storage location for input content.
|
3592
3612
|
# Corresponds to the JSON property `gcsSource`
|
3593
3613
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource]
|
3594
3614
|
attr_accessor :gcs_source
|
@@ -3946,7 +3966,7 @@ module Google
|
|
3946
3966
|
end
|
3947
3967
|
end
|
3948
3968
|
|
3949
|
-
# Metadata for RejoinUserEvents method.
|
3969
|
+
# Metadata for `RejoinUserEvents` method.
|
3950
3970
|
class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
|
3951
3971
|
include Google::Apis::Core::Hashable
|
3952
3972
|
|
@@ -3964,8 +3984,8 @@ module Google
|
|
3964
3984
|
include Google::Apis::Core::Hashable
|
3965
3985
|
|
3966
3986
|
# The type of the user event rejoin to define the scope and range of the user
|
3967
|
-
# events to be rejoined with the latest product catalog. Defaults to
|
3968
|
-
# USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to an
|
3987
|
+
# events to be rejoined with the latest product catalog. Defaults to `
|
3988
|
+
# USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to an
|
3969
3989
|
# invalid integer value.
|
3970
3990
|
# Corresponds to the JSON property `userEventRejoinScope`
|
3971
3991
|
# @return [String]
|
@@ -3981,7 +4001,7 @@ module Google
|
|
3981
4001
|
end
|
3982
4002
|
end
|
3983
4003
|
|
3984
|
-
# Response message for RejoinUserEvents method.
|
4004
|
+
# Response message for `RejoinUserEvents` method.
|
3985
4005
|
class GoogleCloudRetailV2alphaRejoinUserEventsResponse
|
3986
4006
|
include Google::Apis::Core::Hashable
|
3987
4007
|
|
@@ -4233,8 +4253,8 @@ module Google
|
|
4233
4253
|
end
|
4234
4254
|
|
4235
4255
|
# A rule is a condition-action pair * A condition defines when a rule is to be
|
4236
|
-
# triggered. * An action specifies what occurs on that trigger. Currently
|
4237
|
-
#
|
4256
|
+
# triggered. * An action specifies what occurs on that trigger. Currently rules
|
4257
|
+
# only work for controls with SOLUTION_TYPE_SEARCH.
|
4238
4258
|
class GoogleCloudRetailV2alphaRule
|
4239
4259
|
include Google::Apis::Core::Hashable
|
4240
4260
|
|
@@ -4260,7 +4280,7 @@ module Google
|
|
4260
4280
|
attr_accessor :do_not_associate_action
|
4261
4281
|
|
4262
4282
|
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4263
|
-
# or more Condition.query_terms provided
|
4283
|
+
# or more Condition.query_terms provided are combined with OR operator. * Action
|
4264
4284
|
# Input: The request query and filter that are applied to the retrieved products,
|
4265
4285
|
# in addition to any filters already provided with the SearchRequest. The AND
|
4266
4286
|
# operator is used to combine the query's existing filters with the filter rule(
|
@@ -4397,7 +4417,7 @@ module Google
|
|
4397
4417
|
end
|
4398
4418
|
|
4399
4419
|
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4400
|
-
# or more Condition.query_terms provided
|
4420
|
+
# or more Condition.query_terms provided are combined with OR operator. * Action
|
4401
4421
|
# Input: The request query and filter that are applied to the retrieved products,
|
4402
4422
|
# in addition to any filters already provided with the SearchRequest. The AND
|
4403
4423
|
# operator is used to combine the query's existing filters with the filter rule(
|
@@ -4643,9 +4663,9 @@ module Google
|
|
4643
4663
|
# navigation queries to achieve good search quality. The format should be the
|
4644
4664
|
# same as UserEvent.page_categories; To represent full path of category, use '>'
|
4645
4665
|
# sign to separate different hierarchies. If '>' is part of the category name,
|
4646
|
-
#
|
4647
|
-
#
|
4648
|
-
#
|
4666
|
+
# replace it with other character(s). Category pages include special pages such
|
4667
|
+
# as sales or promotions. For instance, a special sale page may have the
|
4668
|
+
# category hierarchy: "pageCategories" : ["Sales > 2017 Black Friday Deals"].
|
4649
4669
|
# Corresponds to the JSON property `pageCategories`
|
4650
4670
|
# @return [Array<String>]
|
4651
4671
|
attr_accessor :page_categories
|
@@ -5380,9 +5400,7 @@ module Google
|
|
5380
5400
|
end
|
5381
5401
|
|
5382
5402
|
# Configures metadata that is used to generate serving time results (e.g. search
|
5383
|
-
# results or recommendation predictions).
|
5384
|
-
# search and predict request and together with the Catalog.default_branch,
|
5385
|
-
# generates results.
|
5403
|
+
# results or recommendation predictions).
|
5386
5404
|
class GoogleCloudRetailV2alphaServingConfig
|
5387
5405
|
include Google::Apis::Core::Hashable
|
5388
5406
|
|
@@ -5405,16 +5423,21 @@ module Google
|
|
5405
5423
|
# @return [String]
|
5406
5424
|
attr_accessor :display_name
|
5407
5425
|
|
5408
|
-
# How much diversity to use in recommendation model results e.g.
|
5409
|
-
# diversity
|
5410
|
-
#
|
5426
|
+
# How much diversity to use in recommendation model results e.g. `medium-
|
5427
|
+
# diversity` or `high-diversity`. Currently supported values: * `no-diversity` *
|
5428
|
+
# `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If
|
5411
5429
|
# not specified, we choose default based on recommendation model type. Default
|
5412
|
-
# value:
|
5430
|
+
# value: `no-diversity`. Can only be set if solution_types is
|
5413
5431
|
# SOLUTION_TYPE_RECOMMENDATION.
|
5414
5432
|
# Corresponds to the JSON property `diversityLevel`
|
5415
5433
|
# @return [String]
|
5416
5434
|
attr_accessor :diversity_level
|
5417
5435
|
|
5436
|
+
# What kind of diversity to use - data driven or rule based.
|
5437
|
+
# Corresponds to the JSON property `diversityType`
|
5438
|
+
# @return [String]
|
5439
|
+
attr_accessor :diversity_type
|
5440
|
+
|
5418
5441
|
# Condition do not associate specifications. If multiple do not associate
|
5419
5442
|
# conditions match, all matching do not associate controls in the list will
|
5420
5443
|
# execute. - Order does not matter. - Maximum number of specifications is 100.
|
@@ -5428,10 +5451,10 @@ module Google
|
|
5428
5451
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]
|
5429
5452
|
attr_accessor :dynamic_facet_spec
|
5430
5453
|
|
5431
|
-
# Whether to add additional category filters on the
|
5432
|
-
# not specified, we enable it by default. Allowed values are: *
|
5433
|
-
# match
|
5434
|
-
# customer's filters. *
|
5454
|
+
# Whether to add additional category filters on the `similar-items` model. If
|
5455
|
+
# not specified, we enable it by default. Allowed values are: * `no-category-
|
5456
|
+
# match`: No additional filtering of original results from the model and the
|
5457
|
+
# customer's filters. * `relaxed-category-match`: Only keep results with
|
5435
5458
|
# categories that match at least one item categories in the PredictRequests's
|
5436
5459
|
# context item. * If customer also sends filters in the PredictRequest, then the
|
5437
5460
|
# results will satisfy both conditions (user given and category match). Can only
|
@@ -5465,7 +5488,7 @@ module Google
|
|
5465
5488
|
# @return [Array<String>]
|
5466
5489
|
attr_accessor :ignore_control_ids
|
5467
5490
|
|
5468
|
-
# The id of the model to use at serving time. Currently only
|
5491
|
+
# The id of the model in the same Catalog to use at serving time. Currently only
|
5469
5492
|
# RecommendationModels are supported: https://cloud.google.com/retail/
|
5470
5493
|
# recommendations-ai/docs/create-models Can be changed but only to a compatible
|
5471
5494
|
# model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when
|
@@ -5489,13 +5512,18 @@ module Google
|
|
5489
5512
|
# @return [Array<String>]
|
5490
5513
|
attr_accessor :oneway_synonyms_control_ids
|
5491
5514
|
|
5515
|
+
# The specification for personalization.
|
5516
|
+
# Corresponds to the JSON property `personalizationSpec`
|
5517
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]
|
5518
|
+
attr_accessor :personalization_spec
|
5519
|
+
|
5492
5520
|
# How much price ranking we want in serving results. Price reranking causes
|
5493
5521
|
# product items with a similar recommendation probability to be ordered by price,
|
5494
5522
|
# with the highest-priced items first. This setting could result in a decrease
|
5495
|
-
# in click-through and conversion rates. Allowed values are: *
|
5496
|
-
# reranking
|
5497
|
-
# reranking
|
5498
|
-
# value:
|
5523
|
+
# in click-through and conversion rates. Allowed values are: * `no-price-
|
5524
|
+
# reranking` * `low-price-raranking` * `medium-price-reranking` * `high-price-
|
5525
|
+
# reranking` If not specified, we choose default based on model type. Default
|
5526
|
+
# value: `no-price-reranking`. Can only be set if solution_types is
|
5499
5527
|
# SOLUTION_TYPE_RECOMMENDATION.
|
5500
5528
|
# Corresponds to the JSON property `priceRerankingLevel`
|
5501
5529
|
# @return [String]
|
@@ -5539,6 +5567,7 @@ module Google
|
|
5539
5567
|
@boost_control_ids = args[:boost_control_ids] if args.key?(:boost_control_ids)
|
5540
5568
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5541
5569
|
@diversity_level = args[:diversity_level] if args.key?(:diversity_level)
|
5570
|
+
@diversity_type = args[:diversity_type] if args.key?(:diversity_type)
|
5542
5571
|
@do_not_associate_control_ids = args[:do_not_associate_control_ids] if args.key?(:do_not_associate_control_ids)
|
5543
5572
|
@dynamic_facet_spec = args[:dynamic_facet_spec] if args.key?(:dynamic_facet_spec)
|
5544
5573
|
@enable_category_filter_level = args[:enable_category_filter_level] if args.key?(:enable_category_filter_level)
|
@@ -5548,6 +5577,7 @@ module Google
|
|
5548
5577
|
@model_id = args[:model_id] if args.key?(:model_id)
|
5549
5578
|
@name = args[:name] if args.key?(:name)
|
5550
5579
|
@oneway_synonyms_control_ids = args[:oneway_synonyms_control_ids] if args.key?(:oneway_synonyms_control_ids)
|
5580
|
+
@personalization_spec = args[:personalization_spec] if args.key?(:personalization_spec)
|
5551
5581
|
@price_reranking_level = args[:price_reranking_level] if args.key?(:price_reranking_level)
|
5552
5582
|
@redirect_control_ids = args[:redirect_control_ids] if args.key?(:redirect_control_ids)
|
5553
5583
|
@replacement_control_ids = args[:replacement_control_ids] if args.key?(:replacement_control_ids)
|
@@ -5700,8 +5730,9 @@ module Google
|
|
5700
5730
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
5701
5731
|
include Google::Apis::Core::Hashable
|
5702
5732
|
|
5703
|
-
# The resource name of the model that this tune applies to. Format: projects/`
|
5733
|
+
# The resource name of the model that this tune applies to. Format: `projects/`
|
5704
5734
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
5735
|
+
# `
|
5705
5736
|
# Corresponds to the JSON property `model`
|
5706
5737
|
# @return [String]
|
5707
5738
|
attr_accessor :model
|
@@ -5851,12 +5882,12 @@ module Google
|
|
5851
5882
|
|
5852
5883
|
# The categories associated with a category page. To represent full path of
|
5853
5884
|
# category, use '>' sign to separate different hierarchies. If '>' is part of
|
5854
|
-
# the category name,
|
5855
|
-
#
|
5856
|
-
#
|
5857
|
-
#
|
5858
|
-
#
|
5859
|
-
#
|
5885
|
+
# the category name, replace it with other character(s). Category pages include
|
5886
|
+
# special pages such as sales or promotions. For instance, a special sale page
|
5887
|
+
# may have the category hierarchy: "pageCategories" : ["Sales > 2017 Black
|
5888
|
+
# Friday Deals"]. Required for `category-page-view` events. At least one of
|
5889
|
+
# search_query or page_categories is required for `search` events. Other event
|
5890
|
+
# types should not set this field. Otherwise, an INVALID_ARGUMENT error is
|
5860
5891
|
# returned.
|
5861
5892
|
# Corresponds to the JSON property `pageCategories`
|
5862
5893
|
# @return [Array<String>]
|
@@ -6025,7 +6056,7 @@ module Google
|
|
6025
6056
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource]
|
6026
6057
|
attr_accessor :big_query_source
|
6027
6058
|
|
6028
|
-
# Google Cloud Storage location for input content.
|
6059
|
+
# Google Cloud Storage location for input content.
|
6029
6060
|
# Corresponds to the JSON property `gcsSource`
|
6030
6061
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource]
|
6031
6062
|
attr_accessor :gcs_source
|
@@ -6211,8 +6242,8 @@ module Google
|
|
6211
6242
|
end
|
6212
6243
|
end
|
6213
6244
|
|
6214
|
-
# Metadata related to the progress of the Export operation. This
|
6215
|
-
#
|
6245
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
6246
|
+
# the google.longrunning.Operation.metadata field.
|
6216
6247
|
class GoogleCloudRetailV2betaExportMetadata
|
6217
6248
|
include Google::Apis::Core::Hashable
|
6218
6249
|
|
@@ -6330,8 +6361,8 @@ module Google
|
|
6330
6361
|
include Google::Apis::Core::Hashable
|
6331
6362
|
|
6332
6363
|
# Google Cloud Storage prefix for import errors. This must be an empty, existing
|
6333
|
-
# Cloud Storage directory. Import errors
|
6334
|
-
#
|
6364
|
+
# Cloud Storage directory. Import errors are written to sharded files in this
|
6365
|
+
# directory, one per line, as a JSON-encoded `google.rpc.Status` message.
|
6335
6366
|
# Corresponds to the JSON property `gcsPrefix`
|
6336
6367
|
# @return [String]
|
6337
6368
|
attr_accessor :gcs_prefix
|
@@ -6346,8 +6377,8 @@ module Google
|
|
6346
6377
|
end
|
6347
6378
|
end
|
6348
6379
|
|
6349
|
-
# Metadata related to the progress of the Import operation. This
|
6350
|
-
#
|
6380
|
+
# Metadata related to the progress of the Import operation. This is returned by
|
6381
|
+
# the google.longrunning.Operation.metadata field.
|
6351
6382
|
class GoogleCloudRetailV2betaImportMetadata
|
6352
6383
|
include Google::Apis::Core::Hashable
|
6353
6384
|
|
@@ -6362,9 +6393,9 @@ module Google
|
|
6362
6393
|
attr_accessor :failure_count
|
6363
6394
|
|
6364
6395
|
# Pub/Sub topic for receiving notification. If this field is set, when the
|
6365
|
-
# import is finished, a notification
|
6366
|
-
#
|
6367
|
-
#
|
6396
|
+
# import is finished, a notification is sent to specified Pub/Sub topic. The
|
6397
|
+
# message data is JSON string of a Operation. Format of the Pub/Sub topic is `
|
6398
|
+
# projects/`project`/topics/`topic``.
|
6368
6399
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
6369
6400
|
# @return [String]
|
6370
6401
|
attr_accessor :notification_pubsub_topic
|
@@ -6515,7 +6546,7 @@ module Google
|
|
6515
6546
|
end
|
6516
6547
|
end
|
6517
6548
|
|
6518
|
-
# Metadata for RejoinUserEvents method.
|
6549
|
+
# Metadata for `RejoinUserEvents` method.
|
6519
6550
|
class GoogleCloudRetailV2betaRejoinUserEventsMetadata
|
6520
6551
|
include Google::Apis::Core::Hashable
|
6521
6552
|
|
@@ -6528,7 +6559,7 @@ module Google
|
|
6528
6559
|
end
|
6529
6560
|
end
|
6530
6561
|
|
6531
|
-
# Response message for RejoinUserEvents method.
|
6562
|
+
# Response message for `RejoinUserEvents` method.
|
6532
6563
|
class GoogleCloudRetailV2betaRejoinUserEventsResponse
|
6533
6564
|
include Google::Apis::Core::Hashable
|
6534
6565
|
|
@@ -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.54.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 = "20220822"
|
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,14 +609,48 @@ 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
|
615
646
|
# enqueued and processed downstream. As a consequence, when a response is
|
616
647
|
# returned, the added place IDs are not immediately manifested in the Product
|
617
|
-
# queried by ProductService.GetProduct or ProductService.ListProducts.
|
618
|
-
#
|
619
|
-
#
|
648
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. The
|
649
|
+
# returned Operations will be obsolete after 1 day, and GetOperation API will
|
650
|
+
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
651
|
+
# associated with the stale updates will not be marked as done until being
|
652
|
+
# obsolete. This feature is only available for users who have Retail Search
|
653
|
+
# enabled. Enable Retail Search on Cloud Console before using this feature.
|
620
654
|
# @param [String] product
|
621
655
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
622
656
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -661,8 +695,11 @@ module Google
|
|
661
695
|
# ProductService.GetProduct or ProductService.ListProducts. Local inventory
|
662
696
|
# information can only be modified using this method. ProductService.
|
663
697
|
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
664
|
-
# inventories.
|
665
|
-
#
|
698
|
+
# inventories. The returned Operations will be obsolete after 1 day, and
|
699
|
+
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
700
|
+
# issued, the Operations associated with the stale updates will not be marked as
|
701
|
+
# done until being obsolete. This feature is only available for users who have
|
702
|
+
# Retail Search enabled. Enable Retail Search on Cloud Console before using this
|
666
703
|
# feature.
|
667
704
|
# @param [String] product
|
668
705
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
@@ -1016,9 +1053,12 @@ module Google
|
|
1016
1053
|
# updating fulfillment information. If the request is valid, the update will be
|
1017
1054
|
# enqueued and processed downstream. As a consequence, when a response is
|
1018
1055
|
# returned, the removed place IDs are not immediately manifested in the Product
|
1019
|
-
# queried by ProductService.GetProduct or ProductService.ListProducts.
|
1020
|
-
#
|
1021
|
-
#
|
1056
|
+
# queried by ProductService.GetProduct or ProductService.ListProducts. The
|
1057
|
+
# returned Operations will be obsolete after 1 day, and GetOperation API will
|
1058
|
+
# return NOT_FOUND afterwards. If conflicting updates are issued, the Operations
|
1059
|
+
# associated with the stale updates will not be marked as done until being
|
1060
|
+
# obsolete. This feature is only available for users who have Retail Search
|
1061
|
+
# enabled. Enable Retail Search on Cloud Console before using this feature.
|
1022
1062
|
# @param [String] product
|
1023
1063
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
1024
1064
|
# catalogs/default_catalog/branches/default_branch/products/some_product_id`. If
|
@@ -1061,8 +1101,11 @@ module Google
|
|
1061
1101
|
# queried by ProductService.GetProduct or ProductService.ListProducts. Local
|
1062
1102
|
# inventory information can only be removed using this method. ProductService.
|
1063
1103
|
# CreateProduct and ProductService.UpdateProduct has no effect on local
|
1064
|
-
# inventories.
|
1065
|
-
#
|
1104
|
+
# inventories. The returned Operations will be obsolete after 1 day, and
|
1105
|
+
# GetOperation API will return NOT_FOUND afterwards. If conflicting updates are
|
1106
|
+
# issued, the Operations associated with the stale updates will not be marked as
|
1107
|
+
# done until being obsolete. This feature is only available for users who have
|
1108
|
+
# Retail Search enabled. Enable Retail Search on Cloud Console before using this
|
1066
1109
|
# feature.
|
1067
1110
|
# @param [String] product
|
1068
1111
|
# Required. Full resource name of Product, such as `projects/*/locations/global/
|
@@ -1102,23 +1145,26 @@ module Google
|
|
1102
1145
|
# Updates inventory information for a Product while respecting the last update
|
1103
1146
|
# timestamps of each inventory field. This process is asynchronous and does not
|
1104
1147
|
# require the Product to exist before updating fulfillment information. If the
|
1105
|
-
# request is valid, the update
|
1148
|
+
# request is valid, the update is enqueued and processed downstream. As a
|
1106
1149
|
# consequence, when a response is returned, updates are not immediately
|
1107
1150
|
# manifested in the Product queried by ProductService.GetProduct or
|
1108
1151
|
# ProductService.ListProducts. When inventory is updated with ProductService.
|
1109
1152
|
# CreateProduct and ProductService.UpdateProduct, the specified inventory field
|
1110
|
-
# value(s)
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
# ProductService.
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
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.
|
1122
1168
|
# @param [String] name
|
1123
1169
|
# Immutable. Full resource name of the product, such as `projects/*/locations/
|
1124
1170
|
# global/catalogs/default_catalog/branches/default_branch/products/product_id`.
|
@@ -1156,8 +1202,8 @@ module Google
|
|
1156
1202
|
# asynchronous. Partial updating is not supported. The operation is successfully
|
1157
1203
|
# finished only after the imported suggestions are indexed successfully and
|
1158
1204
|
# ready for serving. The process takes hours. This feature is only available for
|
1159
|
-
# users who have Retail Search enabled.
|
1160
|
-
#
|
1205
|
+
# users who have Retail Search enabled. Enable Retail Search on Cloud Console
|
1206
|
+
# before using this feature.
|
1161
1207
|
# @param [String] parent
|
1162
1208
|
# Required. The catalog which the suggestions dataset belongs to. Format: `
|
1163
1209
|
# projects/1234/locations/global/catalogs/default_catalog`.
|
@@ -1266,7 +1312,7 @@ module Google
|
|
1266
1312
|
|
1267
1313
|
# Gets a Control.
|
1268
1314
|
# @param [String] name
|
1269
|
-
# Required. The resource name of the Control to
|
1315
|
+
# Required. The resource name of the Control to get. Format: `projects/`
|
1270
1316
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/controls/`
|
1271
1317
|
# control_id``
|
1272
1318
|
# @param [String] fields
|
@@ -1296,7 +1342,7 @@ module Google
|
|
1296
1342
|
execute_or_queue_command(command, &block)
|
1297
1343
|
end
|
1298
1344
|
|
1299
|
-
# Lists all Controls
|
1345
|
+
# Lists all Controls by their parent Catalog.
|
1300
1346
|
# @param [String] parent
|
1301
1347
|
# Required. The catalog resource name. Format: `projects/`project_number`/
|
1302
1348
|
# locations/`location_id`/catalogs/`catalog_id``
|
@@ -1342,7 +1388,7 @@ module Google
|
|
1342
1388
|
end
|
1343
1389
|
|
1344
1390
|
# Updates a Control. Control cannot be set to a different oneof field, if so an
|
1345
|
-
# INVALID_ARGUMENT is returned. If the Control to
|
1391
|
+
# INVALID_ARGUMENT is returned. If the Control to update does not exist, a
|
1346
1392
|
# NOT_FOUND error is returned.
|
1347
1393
|
# @param [String] name
|
1348
1394
|
# Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/
|
@@ -1384,11 +1430,11 @@ module Google
|
|
1384
1430
|
|
1385
1431
|
# Creates a new model.
|
1386
1432
|
# @param [String] parent
|
1387
|
-
# Required. The parent resource under which to create the model. Format:
|
1388
|
-
# 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``
|
1389
1435
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel] google_cloud_retail_v2alpha_model_object
|
1390
1436
|
# @param [Boolean] dry_run
|
1391
|
-
# Optional. Whether to run a
|
1437
|
+
# Optional. Whether to run a dry run to validate the request (without actually
|
1392
1438
|
# creating the model).
|
1393
1439
|
# @param [String] fields
|
1394
1440
|
# Selector specifying which fields to include in a partial response.
|
@@ -1422,8 +1468,9 @@ module Google
|
|
1422
1468
|
|
1423
1469
|
# Deletes an existing model.
|
1424
1470
|
# @param [String] name
|
1425
|
-
# Required. The resource name of the
|
1471
|
+
# Required. The resource name of the Model to delete. Format: `projects/`
|
1426
1472
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1473
|
+
# `
|
1427
1474
|
# @param [String] fields
|
1428
1475
|
# Selector specifying which fields to include in a partial response.
|
1429
1476
|
# @param [String] quota_user
|
@@ -1453,8 +1500,8 @@ module Google
|
|
1453
1500
|
|
1454
1501
|
# Lists all the models linked to this event store.
|
1455
1502
|
# @param [String] parent
|
1456
|
-
# Required. The parent for which to list models. Format: projects/`
|
1457
|
-
# 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``
|
1458
1505
|
# @param [Fixnum] page_size
|
1459
1506
|
# Optional. Maximum number of results to return. If unspecified, defaults to 50.
|
1460
1507
|
# Max allowed value is 1000.
|
@@ -1490,17 +1537,18 @@ module Google
|
|
1490
1537
|
execute_or_queue_command(command, &block)
|
1491
1538
|
end
|
1492
1539
|
|
1493
|
-
# Update of model metadata. Only fields that currently can be updated are:
|
1494
|
-
# filtering_option
|
1495
|
-
# API method
|
1540
|
+
# Update of model metadata. Only fields that currently can be updated are: `
|
1541
|
+
# filtering_option` and `periodic_tuning_state`. If other values are provided,
|
1542
|
+
# this API method ignores them.
|
1496
1543
|
# @param [String] name
|
1497
|
-
# Required. The fully qualified resource name of the model. Format: projects/`
|
1544
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
1498
1545
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1499
|
-
# catalog_id has char limit of 50. recommendation_model_id has char limit of
|
1546
|
+
# ` catalog_id has char limit of 50. recommendation_model_id has char limit of
|
1547
|
+
# 40.
|
1500
1548
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModel] google_cloud_retail_v2alpha_model_object
|
1501
1549
|
# @param [String] update_mask
|
1502
1550
|
# Optional. Indicates which fields in the provided 'model' to update. If not set,
|
1503
|
-
#
|
1551
|
+
# by default updates all fields.
|
1504
1552
|
# @param [String] fields
|
1505
1553
|
# Selector specifying which fields to include in a partial response.
|
1506
1554
|
# @param [String] quota_user
|
@@ -1533,8 +1581,8 @@ module Google
|
|
1533
1581
|
|
1534
1582
|
# Pauses the training of an existing model.
|
1535
1583
|
# @param [String] name
|
1536
|
-
# Required. The name of the model to pause. Format: projects/`project_number`/
|
1537
|
-
# 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``
|
1538
1586
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPauseModelRequest] google_cloud_retail_v2alpha_pause_model_request_object
|
1539
1587
|
# @param [String] fields
|
1540
1588
|
# Selector specifying which fields to include in a partial response.
|
@@ -1567,8 +1615,8 @@ module Google
|
|
1567
1615
|
|
1568
1616
|
# Resumes the training of an existing model.
|
1569
1617
|
# @param [String] name
|
1570
|
-
# Required. The name of the model to resume. Format: projects/`project_number`/
|
1571
|
-
# 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``
|
1572
1620
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaResumeModelRequest] google_cloud_retail_v2alpha_resume_model_request_object
|
1573
1621
|
# @param [String] fields
|
1574
1622
|
# Selector specifying which fields to include in a partial response.
|
@@ -1601,8 +1649,9 @@ module Google
|
|
1601
1649
|
|
1602
1650
|
# Tunes an existing model.
|
1603
1651
|
# @param [String] name
|
1604
|
-
# Required. The resource name of the model to tune. Format: projects/`
|
1652
|
+
# Required. The resource name of the model to tune. Format: `projects/`
|
1605
1653
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/models/`model_id`
|
1654
|
+
# `
|
1606
1655
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTuneModelRequest] google_cloud_retail_v2alpha_tune_model_request_object
|
1607
1656
|
# @param [String] fields
|
1608
1657
|
# Selector specifying which fields to include in a partial response.
|
@@ -1753,7 +1802,7 @@ module Google
|
|
1753
1802
|
end
|
1754
1803
|
|
1755
1804
|
# Performs a search. This feature is only available for users who have Retail
|
1756
|
-
# Search enabled.
|
1805
|
+
# Search enabled. Enable Retail Search on Cloud Console before using this
|
1757
1806
|
# feature.
|
1758
1807
|
# @param [String] placement
|
1759
1808
|
# Required. The resource name of the Retail Search serving config, such as `
|
@@ -1799,9 +1848,9 @@ module Google
|
|
1799
1848
|
# Returns a FAILED_PRECONDITION error if the addition could exceed maximum
|
1800
1849
|
# number of control allowed for that type of control.
|
1801
1850
|
# @param [String] serving_config
|
1802
|
-
# Required. The source ServingConfig resource name . Format: projects/`
|
1851
|
+
# Required. The source ServingConfig resource name . Format: `projects/`
|
1803
1852
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
1804
|
-
# serving_config_id
|
1853
|
+
# serving_config_id``
|
1805
1854
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaAddControlRequest] google_cloud_retail_v2alpha_add_control_request_object
|
1806
1855
|
# @param [String] fields
|
1807
1856
|
# Selector specifying which fields to include in a partial response.
|
@@ -1875,9 +1924,9 @@ module Google
|
|
1875
1924
|
# Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does
|
1876
1925
|
# not exist.
|
1877
1926
|
# @param [String] name
|
1878
|
-
# Required. The resource name of the ServingConfig to delete. Format: projects/`
|
1927
|
+
# Required. The resource name of the ServingConfig to delete. Format: `projects/`
|
1879
1928
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
1880
|
-
# serving_config_id
|
1929
|
+
# serving_config_id``
|
1881
1930
|
# @param [String] fields
|
1882
1931
|
# Selector specifying which fields to include in a partial response.
|
1883
1932
|
# @param [String] quota_user
|
@@ -1908,9 +1957,9 @@ module Google
|
|
1908
1957
|
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
1909
1958
|
# exist.
|
1910
1959
|
# @param [String] name
|
1911
|
-
# Required. The resource name of the ServingConfig to get. Format: projects/`
|
1960
|
+
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
1912
1961
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
1913
|
-
# serving_config_id
|
1962
|
+
# serving_config_id``
|
1914
1963
|
# @param [String] fields
|
1915
1964
|
# Selector specifying which fields to include in a partial response.
|
1916
1965
|
# @param [String] quota_user
|
@@ -1940,8 +1989,8 @@ module Google
|
|
1940
1989
|
|
1941
1990
|
# Lists all ServingConfigs linked to this catalog.
|
1942
1991
|
# @param [String] parent
|
1943
|
-
# Required. The catalog resource name. Format: projects/`project_number`/
|
1944
|
-
# locations/`location_id`/catalogs/`catalog_id
|
1992
|
+
# Required. The catalog resource name. Format: `projects/`project_number`/
|
1993
|
+
# locations/`location_id`/catalogs/`catalog_id``
|
1945
1994
|
# @param [Fixnum] page_size
|
1946
1995
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
1947
1996
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -2062,9 +2111,9 @@ module Google
|
|
2062
2111
|
# the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for
|
2063
2112
|
# the ServingConfig.
|
2064
2113
|
# @param [String] serving_config
|
2065
|
-
# Required. The source ServingConfig resource name . Format: projects/`
|
2114
|
+
# Required. The source ServingConfig resource name . Format: `projects/`
|
2066
2115
|
# project_number`/locations/`location_id`/catalogs/`catalog_id`/servingConfigs/`
|
2067
|
-
# serving_config_id
|
2116
|
+
# serving_config_id``
|
2068
2117
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRemoveControlRequest] google_cloud_retail_v2alpha_remove_control_request_object
|
2069
2118
|
# @param [String] fields
|
2070
2119
|
# Selector specifying which fields to include in a partial response.
|
@@ -2096,7 +2145,7 @@ module Google
|
|
2096
2145
|
end
|
2097
2146
|
|
2098
2147
|
# Performs a search. This feature is only available for users who have Retail
|
2099
|
-
# Search enabled.
|
2148
|
+
# Search enabled. Enable Retail Search on Cloud Console before using this
|
2100
2149
|
# feature.
|
2101
2150
|
# @param [String] placement
|
2102
2151
|
# Required. The resource name of the Retail Search serving config, such as `
|
@@ -2185,9 +2234,9 @@ module Google
|
|
2185
2234
|
|
2186
2235
|
# Bulk import of User events. Request processing might be synchronous. Events
|
2187
2236
|
# that already exist are skipped. Use this method for backfilling historical
|
2188
|
-
# user events. Operation.response is of type ImportResponse
|
2189
|
-
# possible for a subset of the items to be successfully inserted. Operation.
|
2190
|
-
# metadata is of type ImportMetadata
|
2237
|
+
# user events. `Operation.response` is of type `ImportResponse`. Note that it is
|
2238
|
+
# possible for a subset of the items to be successfully inserted. `Operation.
|
2239
|
+
# metadata` is of type `ImportMetadata`.
|
2191
2240
|
# @param [String] parent
|
2192
2241
|
# Required. `projects/1234/locations/global/catalogs/default_catalog`
|
2193
2242
|
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportUserEventsRequest] google_cloud_retail_v2alpha_import_user_events_request_object
|
@@ -2257,12 +2306,12 @@ module Google
|
|
2257
2306
|
execute_or_queue_command(command, &block)
|
2258
2307
|
end
|
2259
2308
|
|
2260
|
-
# Starts a user
|
2261
|
-
# not
|
2262
|
-
# the catalog
|
2263
|
-
#
|
2264
|
-
# method
|
2265
|
-
#
|
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
|
2266
2315
|
# the wrong product catalog. A rejoin operation can take hours or days to
|
2267
2316
|
# complete.
|
2268
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.54.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-08-
|
11
|
+
date: 2022-08-29 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.54.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: []
|