google-apis-retail_v2alpha 0.49.0 → 0.52.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: fdf5342931693ca78651fda9b2cb53b118325d56ec73b55b21d4f9694c5e8ad0
|
4
|
+
data.tar.gz: 9745feed4d19626674ec86cc4c890f13d58273c48c2fa8a190e1b21862045553
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a8e3f3e34b344ee6d6e1d78b9256d4cb9140a741bcba666b4c8f5e67ae26c39981f79a7f592a1bbb16aff4cf3ead526efe8e7b07400740bf43834bd611f0328
|
7
|
+
data.tar.gz: 9cf86a1a3083b33353d7242b394a2f07357a6fe8685cdf949d1238931613ef33ae3524397c197a25a592a989e6896dd34dc79c79b2a06b0d398a9a1bf05e7ec2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.52.0 (2022-08-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220811
|
6
|
+
|
7
|
+
### v0.51.0 (2022-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220729
|
10
|
+
|
11
|
+
### v0.50.0 (2022-07-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220722
|
14
|
+
|
3
15
|
### v0.49.0 (2022-07-19)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220716
|
@@ -960,6 +960,79 @@ module Google
|
|
960
960
|
end
|
961
961
|
end
|
962
962
|
|
963
|
+
# Request for CatalogService.BatchRemoveCatalogAttributes method.
|
964
|
+
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
|
965
|
+
include Google::Apis::Core::Hashable
|
966
|
+
|
967
|
+
# Required. The attribute name keys of the CatalogAttributes to delete. A
|
968
|
+
# maximum of 1000 catalog attributes can be deleted in a batch.
|
969
|
+
# Corresponds to the JSON property `attributeKeys`
|
970
|
+
# @return [Array<String>]
|
971
|
+
attr_accessor :attribute_keys
|
972
|
+
|
973
|
+
def initialize(**args)
|
974
|
+
update!(**args)
|
975
|
+
end
|
976
|
+
|
977
|
+
# Update properties of this object
|
978
|
+
def update!(**args)
|
979
|
+
@attribute_keys = args[:attribute_keys] if args.key?(:attribute_keys)
|
980
|
+
end
|
981
|
+
end
|
982
|
+
|
983
|
+
# Response of the CatalogService.BatchRemoveCatalogAttributes.
|
984
|
+
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
|
985
|
+
include Google::Apis::Core::Hashable
|
986
|
+
|
987
|
+
# Catalog attributes that were deleted. Only attributes that are not in use by
|
988
|
+
# products can be deleted.
|
989
|
+
# Corresponds to the JSON property `deletedCatalogAttributes`
|
990
|
+
# @return [Array<String>]
|
991
|
+
attr_accessor :deleted_catalog_attributes
|
992
|
+
|
993
|
+
# Catalog attributes that were reset. Attributes that are in use by products
|
994
|
+
# cannot be deleted, however their configuration properties will reset to
|
995
|
+
# default values upon removal request.
|
996
|
+
# Corresponds to the JSON property `resetCatalogAttributes`
|
997
|
+
# @return [Array<String>]
|
998
|
+
attr_accessor :reset_catalog_attributes
|
999
|
+
|
1000
|
+
def initialize(**args)
|
1001
|
+
update!(**args)
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# Update properties of this object
|
1005
|
+
def update!(**args)
|
1006
|
+
@deleted_catalog_attributes = args[:deleted_catalog_attributes] if args.key?(:deleted_catalog_attributes)
|
1007
|
+
@reset_catalog_attributes = args[:reset_catalog_attributes] if args.key?(:reset_catalog_attributes)
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# A BigQuery output result.
|
1012
|
+
class GoogleCloudRetailV2alphaBigQueryOutputResult
|
1013
|
+
include Google::Apis::Core::Hashable
|
1014
|
+
|
1015
|
+
# The ID of a BigQuery Dataset.
|
1016
|
+
# Corresponds to the JSON property `datasetId`
|
1017
|
+
# @return [String]
|
1018
|
+
attr_accessor :dataset_id
|
1019
|
+
|
1020
|
+
# The ID of a BigQuery Table.
|
1021
|
+
# Corresponds to the JSON property `tableId`
|
1022
|
+
# @return [String]
|
1023
|
+
attr_accessor :table_id
|
1024
|
+
|
1025
|
+
def initialize(**args)
|
1026
|
+
update!(**args)
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Update properties of this object
|
1030
|
+
def update!(**args)
|
1031
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
1032
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
963
1036
|
# BigQuery source import data from.
|
964
1037
|
class GoogleCloudRetailV2alphaBigQuerySource
|
965
1038
|
include Google::Apis::Core::Hashable
|
@@ -971,12 +1044,11 @@ module Google
|
|
971
1044
|
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
972
1045
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
973
1046
|
# user_event_ga360`: The schema is available here: https://support.google.com/
|
974
|
-
# analytics/answer/3437719. * `user_event_ga4`:
|
975
|
-
#
|
976
|
-
#
|
977
|
-
#
|
978
|
-
#
|
979
|
-
# suggestion per line. * `allowlist`: One JSON allow suggestion per line.
|
1047
|
+
# analytics/answer/3437719. * `user_event_ga4`: The schema is available here:
|
1048
|
+
# https://support.google.com/analytics/answer/7029846. Supported values for auto-
|
1049
|
+
# completion imports: * `suggestions` (default): One JSON completion suggestion
|
1050
|
+
# per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One
|
1051
|
+
# JSON allow suggestion per line.
|
980
1052
|
# Corresponds to the JSON property `dataSchema`
|
981
1053
|
# @return [String]
|
982
1054
|
attr_accessor :data_schema
|
@@ -1087,6 +1159,13 @@ module Google
|
|
1087
1159
|
# @return [String]
|
1088
1160
|
attr_accessor :dynamic_facetable_option
|
1089
1161
|
|
1162
|
+
# If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
|
1163
|
+
# property only applies to textual custom attributes and requires indexable set
|
1164
|
+
# to enabled to enable exact-searchable.
|
1165
|
+
# Corresponds to the JSON property `exactSearchableOption`
|
1166
|
+
# @return [String]
|
1167
|
+
attr_accessor :exact_searchable_option
|
1168
|
+
|
1090
1169
|
# Output only. Indicates whether this attribute has been used by any products. `
|
1091
1170
|
# True` if at least one Product is using this attribute in Product.attributes.
|
1092
1171
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -1148,6 +1227,7 @@ module Google
|
|
1148
1227
|
# Update properties of this object
|
1149
1228
|
def update!(**args)
|
1150
1229
|
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
1230
|
+
@exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
|
1151
1231
|
@in_use = args[:in_use] if args.key?(:in_use)
|
1152
1232
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
1153
1233
|
@key = args[:key] if args.key?(:key)
|
@@ -1220,7 +1300,7 @@ module Google
|
|
1220
1300
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
1221
1301
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
1222
1302
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
1223
|
-
# * They are transformed to lower
|
1303
|
+
# * They are transformed to lower case. * They are UTF-8 safe. Recent searches
|
1224
1304
|
# are deduplicated. More recent searches will be reserved when duplication
|
1225
1305
|
# happens.
|
1226
1306
|
# Corresponds to the JSON property `recentSearchResults`
|
@@ -1340,16 +1420,16 @@ module Google
|
|
1340
1420
|
# @return [String]
|
1341
1421
|
attr_accessor :matching_order
|
1342
1422
|
|
1343
|
-
# The maximum number of autocomplete suggestions returned per term.
|
1344
|
-
#
|
1345
|
-
#
|
1423
|
+
# The maximum number of autocomplete suggestions returned per term. Default
|
1424
|
+
# value is 20. If left unset or set to 0, then will fallback to default value.
|
1425
|
+
# Value range is 1 to 20.
|
1346
1426
|
# Corresponds to the JSON property `maxSuggestions`
|
1347
1427
|
# @return [Fixnum]
|
1348
1428
|
attr_accessor :max_suggestions
|
1349
1429
|
|
1350
1430
|
# The minimum number of characters needed to be typed in order to get
|
1351
1431
|
# suggestions. Default value is 2. If left unset or set to 0, then will fallback
|
1352
|
-
# to default value.
|
1432
|
+
# to default value. Value range is 1 to 20.
|
1353
1433
|
# Corresponds to the JSON property `minPrefixLength`
|
1354
1434
|
# @return [Fixnum]
|
1355
1435
|
attr_accessor :min_prefix_length
|
@@ -1726,6 +1806,11 @@ module Google
|
|
1726
1806
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig]
|
1727
1807
|
attr_accessor :errors_config
|
1728
1808
|
|
1809
|
+
# Output result.
|
1810
|
+
# Corresponds to the JSON property `outputResult`
|
1811
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult]
|
1812
|
+
attr_accessor :output_result
|
1813
|
+
|
1729
1814
|
def initialize(**args)
|
1730
1815
|
update!(**args)
|
1731
1816
|
end
|
@@ -1734,6 +1819,7 @@ module Google
|
|
1734
1819
|
def update!(**args)
|
1735
1820
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
1736
1821
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
1822
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
1737
1823
|
end
|
1738
1824
|
end
|
1739
1825
|
|
@@ -1753,6 +1839,11 @@ module Google
|
|
1753
1839
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig]
|
1754
1840
|
attr_accessor :errors_config
|
1755
1841
|
|
1842
|
+
# Output result.
|
1843
|
+
# Corresponds to the JSON property `outputResult`
|
1844
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult]
|
1845
|
+
attr_accessor :output_result
|
1846
|
+
|
1756
1847
|
def initialize(**args)
|
1757
1848
|
update!(**args)
|
1758
1849
|
end
|
@@ -1761,6 +1852,7 @@ module Google
|
|
1761
1852
|
def update!(**args)
|
1762
1853
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
1763
1854
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
1855
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
1764
1856
|
end
|
1765
1857
|
end
|
1766
1858
|
|
@@ -2015,6 +2107,11 @@ module Google
|
|
2015
2107
|
# @return [Fixnum]
|
2016
2108
|
attr_accessor :success_count
|
2017
2109
|
|
2110
|
+
# Metadata related to transform user events operation.
|
2111
|
+
# Corresponds to the JSON property `transformedUserEventsMetadata`
|
2112
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata]
|
2113
|
+
attr_accessor :transformed_user_events_metadata
|
2114
|
+
|
2018
2115
|
# Operation last update time. If the operation is done, this is also the finish
|
2019
2116
|
# time.
|
2020
2117
|
# Corresponds to the JSON property `updateTime`
|
@@ -2032,6 +2129,7 @@ module Google
|
|
2032
2129
|
@notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
|
2033
2130
|
@request_id = args[:request_id] if args.key?(:request_id)
|
2034
2131
|
@success_count = args[:success_count] if args.key?(:success_count)
|
2132
|
+
@transformed_user_events_metadata = args[:transformed_user_events_metadata] if args.key?(:transformed_user_events_metadata)
|
2035
2133
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2036
2134
|
end
|
2037
2135
|
end
|
@@ -2054,11 +2152,9 @@ module Google
|
|
2054
2152
|
# the import is finished, a notification will be sent to specified Pub/Sub topic.
|
2055
2153
|
# The message data will be JSON string of a Operation. Format of the Pub/Sub
|
2056
2154
|
# topic is `projects/`project`/topics/`topic``. It has to be within the same
|
2057
|
-
# project as ImportProductsRequest.parent. Make sure that
|
2058
|
-
#
|
2059
|
-
#
|
2060
|
-
# the topic. Only supported when ImportProductsRequest.reconciliation_mode is
|
2061
|
-
# set to `FULL`.
|
2155
|
+
# project as ImportProductsRequest.parent. Make sure that `service-@gcp-sa-
|
2156
|
+
# retail.iam.gserviceaccount.com` has the `pubsub.topics.publish` IAM permission
|
2157
|
+
# on the topic.
|
2062
2158
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2063
2159
|
# @return [String]
|
2064
2160
|
attr_accessor :notification_pubsub_topic
|
@@ -2433,8 +2529,8 @@ module Google
|
|
2433
2529
|
attr_accessor :branch_id
|
2434
2530
|
|
2435
2531
|
# String representing the destination to import for, all if left empty. List of
|
2436
|
-
# possible values
|
2437
|
-
# answer/7501026
|
2532
|
+
# possible values is given in [Included destination](https://support.google.com/
|
2533
|
+
# merchants/answer/7501026). List of allowed string values: "Shopping_ads", "
|
2438
2534
|
# Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings"
|
2439
2535
|
# , "Free_local_listings" NOTE: The string values are case sensitive.
|
2440
2536
|
# Corresponds to the JSON property `destinations`
|
@@ -2520,8 +2616,8 @@ module Google
|
|
2520
2616
|
attr_accessor :data_state
|
2521
2617
|
|
2522
2618
|
# Required. The display name of the model. Should be human readable, used to
|
2523
|
-
# display Recommendation Models in the Retail
|
2524
|
-
# string with limit of 1024 characters.
|
2619
|
+
# display Recommendation Models in the Retail Cloud Cosole Dashboard. UTF-8
|
2620
|
+
# encoded string with limit of 1024 characters.
|
2525
2621
|
# Corresponds to the JSON property `displayName`
|
2526
2622
|
# @return [String]
|
2527
2623
|
attr_accessor :display_name
|
@@ -2568,6 +2664,12 @@ module Google
|
|
2568
2664
|
# @return [String]
|
2569
2665
|
attr_accessor :periodic_tuning_state
|
2570
2666
|
|
2667
|
+
# Output only. The list of valid serving configs associated with the
|
2668
|
+
# PageOptimizationConfig.
|
2669
|
+
# Corresponds to the JSON property `servingConfigLists`
|
2670
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList>]
|
2671
|
+
attr_accessor :serving_config_lists
|
2672
|
+
|
2571
2673
|
# Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
|
2572
2674
|
# Corresponds to the JSON property `servingState`
|
2573
2675
|
# @return [String]
|
@@ -2619,6 +2721,7 @@ module Google
|
|
2619
2721
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
2620
2722
|
@page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
|
2621
2723
|
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
2724
|
+
@serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
|
2622
2725
|
@serving_state = args[:serving_state] if args.key?(:serving_state)
|
2623
2726
|
@training_state = args[:training_state] if args.key?(:training_state)
|
2624
2727
|
@tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
|
@@ -2724,6 +2827,46 @@ module Google
|
|
2724
2827
|
end
|
2725
2828
|
end
|
2726
2829
|
|
2830
|
+
# Represents an ordered combination of valid serving configs, which / may be
|
2831
|
+
# used for PAGE_OPTIMIZATION recommendations.
|
2832
|
+
class GoogleCloudRetailV2alphaModelServingConfigList
|
2833
|
+
include Google::Apis::Core::Hashable
|
2834
|
+
|
2835
|
+
# Optional. A set of valid serving configs that may be used for
|
2836
|
+
# PAGE_OPTIMIZATION.
|
2837
|
+
# Corresponds to the JSON property `servingConfigIds`
|
2838
|
+
# @return [Array<String>]
|
2839
|
+
attr_accessor :serving_config_ids
|
2840
|
+
|
2841
|
+
def initialize(**args)
|
2842
|
+
update!(**args)
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
# Update properties of this object
|
2846
|
+
def update!(**args)
|
2847
|
+
@serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
|
2848
|
+
end
|
2849
|
+
end
|
2850
|
+
|
2851
|
+
# Output result.
|
2852
|
+
class GoogleCloudRetailV2alphaOutputResult
|
2853
|
+
include Google::Apis::Core::Hashable
|
2854
|
+
|
2855
|
+
# Export result in BigQuery.
|
2856
|
+
# Corresponds to the JSON property `bigqueryResult`
|
2857
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult>]
|
2858
|
+
attr_accessor :bigquery_result
|
2859
|
+
|
2860
|
+
def initialize(**args)
|
2861
|
+
update!(**args)
|
2862
|
+
end
|
2863
|
+
|
2864
|
+
# Update properties of this object
|
2865
|
+
def update!(**args)
|
2866
|
+
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
|
2727
2870
|
# Request for pausing training of a model.
|
2728
2871
|
class GoogleCloudRetailV2alphaPauseModelRequest
|
2729
2872
|
include Google::Apis::Core::Hashable
|
@@ -2781,15 +2924,15 @@ module Google
|
|
2781
2924
|
# @return [Hash<String,String>]
|
2782
2925
|
attr_accessor :labels
|
2783
2926
|
|
2784
|
-
# Maximum number of results to return
|
2785
|
-
#
|
2927
|
+
# Maximum number of results to return. Set this property to the number of
|
2928
|
+
# prediction results needed. If zero, the service will choose a reasonable
|
2786
2929
|
# default. The maximum allowed value is 100. Values above 100 will be coerced to
|
2787
2930
|
# 100.
|
2788
2931
|
# Corresponds to the JSON property `pageSize`
|
2789
2932
|
# @return [Fixnum]
|
2790
2933
|
attr_accessor :page_size
|
2791
2934
|
|
2792
|
-
# This field is not used
|
2935
|
+
# This field is not used; leave it unset.
|
2793
2936
|
# Corresponds to the JSON property `pageToken`
|
2794
2937
|
# @return [String]
|
2795
2938
|
attr_accessor :page_token
|
@@ -3096,7 +3239,7 @@ module Google
|
|
3096
3239
|
|
3097
3240
|
# The id of the collection members when type is Type.COLLECTION. Non-existent
|
3098
3241
|
# product ids are allowed. The type of the members must be either Type.PRIMARY
|
3099
|
-
# or Type.VARIANT otherwise
|
3242
|
+
# or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set
|
3100
3243
|
# it for other types. A maximum of 1000 values are allowed. Otherwise, an
|
3101
3244
|
# INVALID_ARGUMENT error is return.
|
3102
3245
|
# Corresponds to the JSON property `collectionMemberIds`
|
@@ -4117,7 +4260,7 @@ module Google
|
|
4117
4260
|
attr_accessor :do_not_associate_action
|
4118
4261
|
|
4119
4262
|
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4120
|
-
# or more Condition.query_terms provided
|
4263
|
+
# or more Condition.query_terms provided are combined with OR operator. * Action
|
4121
4264
|
# Input: The request query and filter that are applied to the retrieved products,
|
4122
4265
|
# in addition to any filters already provided with the SearchRequest. The AND
|
4123
4266
|
# operator is used to combine the query's existing filters with the filter rule(
|
@@ -4254,7 +4397,7 @@ module Google
|
|
4254
4397
|
end
|
4255
4398
|
|
4256
4399
|
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4257
|
-
# or more Condition.query_terms provided
|
4400
|
+
# or more Condition.query_terms provided are combined with OR operator. * Action
|
4258
4401
|
# Input: The request query and filter that are applied to the retrieved products,
|
4259
4402
|
# in addition to any filters already provided with the SearchRequest. The AND
|
4260
4403
|
# operator is used to combine the query's existing filters with the filter rule(
|
@@ -4883,6 +5026,13 @@ module Google
|
|
4883
5026
|
# @return [Array<String>]
|
4884
5027
|
attr_accessor :restricted_values
|
4885
5028
|
|
5029
|
+
# Returns the min and max value for each numerical facet intervals. Ignored for
|
5030
|
+
# textual facets.
|
5031
|
+
# Corresponds to the JSON property `returnMinMax`
|
5032
|
+
# @return [Boolean]
|
5033
|
+
attr_accessor :return_min_max
|
5034
|
+
alias_method :return_min_max?, :return_min_max
|
5035
|
+
|
4886
5036
|
def initialize(**args)
|
4887
5037
|
update!(**args)
|
4888
5038
|
end
|
@@ -4897,6 +5047,7 @@ module Google
|
|
4897
5047
|
@prefixes = args[:prefixes] if args.key?(:prefixes)
|
4898
5048
|
@query = args[:query] if args.key?(:query)
|
4899
5049
|
@restricted_values = args[:restricted_values] if args.key?(:restricted_values)
|
5050
|
+
@return_min_max = args[:return_min_max] if args.key?(:return_min_max)
|
4900
5051
|
end
|
4901
5052
|
end
|
4902
5053
|
|
@@ -5099,6 +5250,18 @@ module Google
|
|
5099
5250
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval]
|
5100
5251
|
attr_accessor :interval
|
5101
5252
|
|
5253
|
+
# The maximum value in the FacetValue.interval. Only supported on numerical
|
5254
|
+
# facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
|
5255
|
+
# Corresponds to the JSON property `maxValue`
|
5256
|
+
# @return [Float]
|
5257
|
+
attr_accessor :max_value
|
5258
|
+
|
5259
|
+
# The minimum value in the FacetValue.interval. Only supported on numerical
|
5260
|
+
# facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
|
5261
|
+
# Corresponds to the JSON property `minValue`
|
5262
|
+
# @return [Float]
|
5263
|
+
attr_accessor :min_value
|
5264
|
+
|
5102
5265
|
# Text value of a facet, such as "Black" for facet "colorFamilies".
|
5103
5266
|
# Corresponds to the JSON property `value`
|
5104
5267
|
# @return [String]
|
@@ -5112,6 +5275,8 @@ module Google
|
|
5112
5275
|
def update!(**args)
|
5113
5276
|
@count = args[:count] if args.key?(:count)
|
5114
5277
|
@interval = args[:interval] if args.key?(:interval)
|
5278
|
+
@max_value = args[:max_value] if args.key?(:max_value)
|
5279
|
+
@min_value = args[:min_value] if args.key?(:min_value)
|
5115
5280
|
@value = args[:value] if args.key?(:value)
|
5116
5281
|
end
|
5117
5282
|
end
|
@@ -5167,6 +5332,15 @@ module Google
|
|
5167
5332
|
# @return [Hash<String,String>]
|
5168
5333
|
attr_accessor :matching_variant_fields
|
5169
5334
|
|
5335
|
+
# Specifies previous events related to this product for this user based on
|
5336
|
+
# UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
|
5337
|
+
# only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
|
5338
|
+
# PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that
|
5339
|
+
# this product has been purchased before.
|
5340
|
+
# Corresponds to the JSON property `personalLabels`
|
5341
|
+
# @return [Array<String>]
|
5342
|
+
attr_accessor :personal_labels
|
5343
|
+
|
5170
5344
|
# Product captures all metadata information of items to be recommended or
|
5171
5345
|
# searched.
|
5172
5346
|
# Corresponds to the JSON property `product`
|
@@ -5199,6 +5373,7 @@ module Google
|
|
5199
5373
|
@id = args[:id] if args.key?(:id)
|
5200
5374
|
@matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
|
5201
5375
|
@matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
|
5376
|
+
@personal_labels = args[:personal_labels] if args.key?(:personal_labels)
|
5202
5377
|
@product = args[:product] if args.key?(:product)
|
5203
5378
|
@variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
|
5204
5379
|
end
|
@@ -5495,6 +5670,32 @@ module Google
|
|
5495
5670
|
end
|
5496
5671
|
end
|
5497
5672
|
|
5673
|
+
# Metadata related to transform user events operation.
|
5674
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
5675
|
+
include Google::Apis::Core::Hashable
|
5676
|
+
|
5677
|
+
# Count of entries in the source user events BigQuery table.
|
5678
|
+
# Corresponds to the JSON property `sourceEventsCount`
|
5679
|
+
# @return [Fixnum]
|
5680
|
+
attr_accessor :source_events_count
|
5681
|
+
|
5682
|
+
# Count of entries in the transformed user events BigQuery table, which could be
|
5683
|
+
# different from the actually imported number of user events.
|
5684
|
+
# Corresponds to the JSON property `transformedEventsCount`
|
5685
|
+
# @return [Fixnum]
|
5686
|
+
attr_accessor :transformed_events_count
|
5687
|
+
|
5688
|
+
def initialize(**args)
|
5689
|
+
update!(**args)
|
5690
|
+
end
|
5691
|
+
|
5692
|
+
# Update properties of this object
|
5693
|
+
def update!(**args)
|
5694
|
+
@source_events_count = args[:source_events_count] if args.key?(:source_events_count)
|
5695
|
+
@transformed_events_count = args[:transformed_events_count] if args.key?(:transformed_events_count)
|
5696
|
+
end
|
5697
|
+
end
|
5698
|
+
|
5498
5699
|
# Metadata associated with a tune operation.
|
5499
5700
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
5500
5701
|
include Google::Apis::Core::Hashable
|
@@ -5964,6 +6165,31 @@ module Google
|
|
5964
6165
|
end
|
5965
6166
|
end
|
5966
6167
|
|
6168
|
+
# A BigQuery output result.
|
6169
|
+
class GoogleCloudRetailV2betaBigQueryOutputResult
|
6170
|
+
include Google::Apis::Core::Hashable
|
6171
|
+
|
6172
|
+
# The ID of a BigQuery Dataset.
|
6173
|
+
# Corresponds to the JSON property `datasetId`
|
6174
|
+
# @return [String]
|
6175
|
+
attr_accessor :dataset_id
|
6176
|
+
|
6177
|
+
# The ID of a BigQuery Table.
|
6178
|
+
# Corresponds to the JSON property `tableId`
|
6179
|
+
# @return [String]
|
6180
|
+
attr_accessor :table_id
|
6181
|
+
|
6182
|
+
def initialize(**args)
|
6183
|
+
update!(**args)
|
6184
|
+
end
|
6185
|
+
|
6186
|
+
# Update properties of this object
|
6187
|
+
def update!(**args)
|
6188
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
6189
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
6190
|
+
end
|
6191
|
+
end
|
6192
|
+
|
5967
6193
|
# Configuration of destination for Export related errors.
|
5968
6194
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
5969
6195
|
include Google::Apis::Core::Hashable
|
@@ -6028,6 +6254,11 @@ module Google
|
|
6028
6254
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig]
|
6029
6255
|
attr_accessor :errors_config
|
6030
6256
|
|
6257
|
+
# Output result.
|
6258
|
+
# Corresponds to the JSON property `outputResult`
|
6259
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult]
|
6260
|
+
attr_accessor :output_result
|
6261
|
+
|
6031
6262
|
def initialize(**args)
|
6032
6263
|
update!(**args)
|
6033
6264
|
end
|
@@ -6036,6 +6267,7 @@ module Google
|
|
6036
6267
|
def update!(**args)
|
6037
6268
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
6038
6269
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
6270
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
6039
6271
|
end
|
6040
6272
|
end
|
6041
6273
|
|
@@ -6055,6 +6287,11 @@ module Google
|
|
6055
6287
|
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig]
|
6056
6288
|
attr_accessor :errors_config
|
6057
6289
|
|
6290
|
+
# Output result.
|
6291
|
+
# Corresponds to the JSON property `outputResult`
|
6292
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult]
|
6293
|
+
attr_accessor :output_result
|
6294
|
+
|
6058
6295
|
def initialize(**args)
|
6059
6296
|
update!(**args)
|
6060
6297
|
end
|
@@ -6063,6 +6300,7 @@ module Google
|
|
6063
6300
|
def update!(**args)
|
6064
6301
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
6065
6302
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
6303
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
6066
6304
|
end
|
6067
6305
|
end
|
6068
6306
|
|
@@ -6223,6 +6461,25 @@ module Google
|
|
6223
6461
|
end
|
6224
6462
|
end
|
6225
6463
|
|
6464
|
+
# Output result.
|
6465
|
+
class GoogleCloudRetailV2betaOutputResult
|
6466
|
+
include Google::Apis::Core::Hashable
|
6467
|
+
|
6468
|
+
# Export result in BigQuery.
|
6469
|
+
# Corresponds to the JSON property `bigqueryResult`
|
6470
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult>]
|
6471
|
+
attr_accessor :bigquery_result
|
6472
|
+
|
6473
|
+
def initialize(**args)
|
6474
|
+
update!(**args)
|
6475
|
+
end
|
6476
|
+
|
6477
|
+
# Update properties of this object
|
6478
|
+
def update!(**args)
|
6479
|
+
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
6480
|
+
end
|
6481
|
+
end
|
6482
|
+
|
6226
6483
|
# Metadata related to the progress of the Purge operation. This will be returned
|
6227
6484
|
# by the google.longrunning.Operation.metadata field.
|
6228
6485
|
class GoogleCloudRetailV2betaPurgeMetadata
|
@@ -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.52.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 = "20220811"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -244,6 +244,24 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class GoogleCloudRetailV2alphaBigQueryOutputResult
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
247
265
|
class GoogleCloudRetailV2alphaBigQuerySource
|
248
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
267
|
|
@@ -514,6 +532,18 @@ module Google
|
|
514
532
|
include Google::Apis::Core::JsonObjectSupport
|
515
533
|
end
|
516
534
|
|
535
|
+
class GoogleCloudRetailV2alphaModelServingConfigList
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
541
|
+
class GoogleCloudRetailV2alphaOutputResult
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
517
547
|
class GoogleCloudRetailV2alphaPauseModelRequest
|
518
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
549
|
|
@@ -880,6 +910,12 @@ module Google
|
|
880
910
|
include Google::Apis::Core::JsonObjectSupport
|
881
911
|
end
|
882
912
|
|
913
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
883
919
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
884
920
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
921
|
|
@@ -952,6 +988,12 @@ module Google
|
|
952
988
|
include Google::Apis::Core::JsonObjectSupport
|
953
989
|
end
|
954
990
|
|
991
|
+
class GoogleCloudRetailV2betaBigQueryOutputResult
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
|
+
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
995
|
+
end
|
996
|
+
|
955
997
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
956
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
999
|
|
@@ -1006,6 +1048,12 @@ module Google
|
|
1006
1048
|
include Google::Apis::Core::JsonObjectSupport
|
1007
1049
|
end
|
1008
1050
|
|
1051
|
+
class GoogleCloudRetailV2betaOutputResult
|
1052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1053
|
+
|
1054
|
+
include Google::Apis::Core::JsonObjectSupport
|
1055
|
+
end
|
1056
|
+
|
1009
1057
|
class GoogleCloudRetailV2betaPurgeMetadata
|
1010
1058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1011
1059
|
|
@@ -1392,6 +1440,29 @@ module Google
|
|
1392
1440
|
end
|
1393
1441
|
end
|
1394
1442
|
|
1443
|
+
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
|
1444
|
+
# @private
|
1445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1446
|
+
collection :attribute_keys, as: 'attributeKeys'
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
class GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
|
1451
|
+
# @private
|
1452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1453
|
+
collection :deleted_catalog_attributes, as: 'deletedCatalogAttributes'
|
1454
|
+
collection :reset_catalog_attributes, as: 'resetCatalogAttributes'
|
1455
|
+
end
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
class GoogleCloudRetailV2alphaBigQueryOutputResult
|
1459
|
+
# @private
|
1460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1461
|
+
property :dataset_id, as: 'datasetId'
|
1462
|
+
property :table_id, as: 'tableId'
|
1463
|
+
end
|
1464
|
+
end
|
1465
|
+
|
1395
1466
|
class GoogleCloudRetailV2alphaBigQuerySource
|
1396
1467
|
# @private
|
1397
1468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1421,6 +1492,7 @@ module Google
|
|
1421
1492
|
# @private
|
1422
1493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1423
1494
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1495
|
+
property :exact_searchable_option, as: 'exactSearchableOption'
|
1424
1496
|
property :in_use, as: 'inUse'
|
1425
1497
|
property :indexable_option, as: 'indexableOption'
|
1426
1498
|
property :key, as: 'key'
|
@@ -1581,6 +1653,8 @@ module Google
|
|
1581
1653
|
|
1582
1654
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
1583
1655
|
|
1656
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult::Representation
|
1657
|
+
|
1584
1658
|
end
|
1585
1659
|
end
|
1586
1660
|
|
@@ -1591,6 +1665,8 @@ module Google
|
|
1591
1665
|
|
1592
1666
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
1593
1667
|
|
1668
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputResult::Representation
|
1669
|
+
|
1594
1670
|
end
|
1595
1671
|
end
|
1596
1672
|
|
@@ -1660,6 +1736,8 @@ module Google
|
|
1660
1736
|
property :notification_pubsub_topic, as: 'notificationPubsubTopic'
|
1661
1737
|
property :request_id, as: 'requestId'
|
1662
1738
|
property :success_count, :numeric_string => true, as: 'successCount'
|
1739
|
+
property :transformed_user_events_metadata, as: 'transformedUserEventsMetadata', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaTransformedUserEventsMetadata::Representation
|
1740
|
+
|
1663
1741
|
property :update_time, as: 'updateTime'
|
1664
1742
|
end
|
1665
1743
|
end
|
@@ -1811,6 +1889,8 @@ module Google
|
|
1811
1889
|
property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
|
1812
1890
|
|
1813
1891
|
property :periodic_tuning_state, as: 'periodicTuningState'
|
1892
|
+
collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaModelServingConfigList::Representation
|
1893
|
+
|
1814
1894
|
property :serving_state, as: 'servingState'
|
1815
1895
|
property :training_state, as: 'trainingState'
|
1816
1896
|
property :tuning_operation, as: 'tuningOperation'
|
@@ -1847,6 +1927,21 @@ module Google
|
|
1847
1927
|
end
|
1848
1928
|
end
|
1849
1929
|
|
1930
|
+
class GoogleCloudRetailV2alphaModelServingConfigList
|
1931
|
+
# @private
|
1932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1933
|
+
collection :serving_config_ids, as: 'servingConfigIds'
|
1934
|
+
end
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
class GoogleCloudRetailV2alphaOutputResult
|
1938
|
+
# @private
|
1939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1940
|
+
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
|
1941
|
+
|
1942
|
+
end
|
1943
|
+
end
|
1944
|
+
|
1850
1945
|
class GoogleCloudRetailV2alphaPauseModelRequest
|
1851
1946
|
# @private
|
1852
1947
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2329,6 +2424,7 @@ module Google
|
|
2329
2424
|
collection :prefixes, as: 'prefixes'
|
2330
2425
|
property :query, as: 'query'
|
2331
2426
|
collection :restricted_values, as: 'restrictedValues'
|
2427
|
+
property :return_min_max, as: 'returnMinMax'
|
2332
2428
|
end
|
2333
2429
|
end
|
2334
2430
|
|
@@ -2390,6 +2486,8 @@ module Google
|
|
2390
2486
|
property :count, :numeric_string => true, as: 'count'
|
2391
2487
|
property :interval, as: 'interval', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
|
2392
2488
|
|
2489
|
+
property :max_value, as: 'maxValue'
|
2490
|
+
property :min_value, as: 'minValue'
|
2393
2491
|
property :value, as: 'value'
|
2394
2492
|
end
|
2395
2493
|
end
|
@@ -2408,6 +2506,7 @@ module Google
|
|
2408
2506
|
property :id, as: 'id'
|
2409
2507
|
property :matching_variant_count, as: 'matchingVariantCount'
|
2410
2508
|
hash :matching_variant_fields, as: 'matchingVariantFields'
|
2509
|
+
collection :personal_labels, as: 'personalLabels'
|
2411
2510
|
property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
|
2412
2511
|
|
2413
2512
|
hash :variant_rollup_values, as: 'variantRollupValues'
|
@@ -2470,6 +2569,14 @@ module Google
|
|
2470
2569
|
end
|
2471
2570
|
end
|
2472
2571
|
|
2572
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
2573
|
+
# @private
|
2574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2575
|
+
property :source_events_count, :numeric_string => true, as: 'sourceEventsCount'
|
2576
|
+
property :transformed_events_count, :numeric_string => true, as: 'transformedEventsCount'
|
2577
|
+
end
|
2578
|
+
end
|
2579
|
+
|
2473
2580
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
2474
2581
|
# @private
|
2475
2582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2582,6 +2689,14 @@ module Google
|
|
2582
2689
|
end
|
2583
2690
|
end
|
2584
2691
|
|
2692
|
+
class GoogleCloudRetailV2betaBigQueryOutputResult
|
2693
|
+
# @private
|
2694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2695
|
+
property :dataset_id, as: 'datasetId'
|
2696
|
+
property :table_id, as: 'tableId'
|
2697
|
+
end
|
2698
|
+
end
|
2699
|
+
|
2585
2700
|
class GoogleCloudRetailV2betaExportErrorsConfig
|
2586
2701
|
# @private
|
2587
2702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2604,6 +2719,8 @@ module Google
|
|
2604
2719
|
|
2605
2720
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
2606
2721
|
|
2722
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult::Representation
|
2723
|
+
|
2607
2724
|
end
|
2608
2725
|
end
|
2609
2726
|
|
@@ -2614,6 +2731,8 @@ module Google
|
|
2614
2731
|
|
2615
2732
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
2616
2733
|
|
2734
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaOutputResult::Representation
|
2735
|
+
|
2617
2736
|
end
|
2618
2737
|
end
|
2619
2738
|
|
@@ -2666,6 +2785,14 @@ module Google
|
|
2666
2785
|
end
|
2667
2786
|
end
|
2668
2787
|
|
2788
|
+
class GoogleCloudRetailV2betaOutputResult
|
2789
|
+
# @private
|
2790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2791
|
+
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
|
2792
|
+
|
2793
|
+
end
|
2794
|
+
end
|
2795
|
+
|
2669
2796
|
class GoogleCloudRetailV2betaPurgeMetadata
|
2670
2797
|
# @private
|
2671
2798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -472,6 +472,41 @@ module Google
|
|
472
472
|
execute_or_queue_command(command, &block)
|
473
473
|
end
|
474
474
|
|
475
|
+
# Removes all specified CatalogAttributes from the AttributesConfig.
|
476
|
+
# @param [String] attributes_config
|
477
|
+
# Required. The attributes config resource shared by all catalog attributes
|
478
|
+
# being deleted. Format: `projects/`project_number`/locations/`location_id`/
|
479
|
+
# catalogs/`catalog_id`/attributesConfig`
|
480
|
+
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest] google_cloud_retail_v2alpha_batch_remove_catalog_attributes_request_object
|
481
|
+
# @param [String] fields
|
482
|
+
# Selector specifying which fields to include in a partial response.
|
483
|
+
# @param [String] quota_user
|
484
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
485
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
486
|
+
# @param [Google::Apis::RequestOptions] options
|
487
|
+
# Request-specific options
|
488
|
+
#
|
489
|
+
# @yield [result, err] Result & error if block supplied
|
490
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse] parsed result object
|
491
|
+
# @yieldparam err [StandardError] error object if request failed
|
492
|
+
#
|
493
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse]
|
494
|
+
#
|
495
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
496
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
497
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
498
|
+
def batch_project_location_catalog_attributes_config_remove_catalog_attributes(attributes_config, google_cloud_retail_v2alpha_batch_remove_catalog_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
499
|
+
command = make_simple_command(:post, 'v2alpha/{+attributesConfig}:batchRemoveCatalogAttributes', options)
|
500
|
+
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest::Representation
|
501
|
+
command.request_object = google_cloud_retail_v2alpha_batch_remove_catalog_attributes_request_object
|
502
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse::Representation
|
503
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
|
504
|
+
command.params['attributesConfig'] = attributes_config unless attributes_config.nil?
|
505
|
+
command.query['fields'] = fields unless fields.nil?
|
506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
507
|
+
execute_or_queue_command(command, &block)
|
508
|
+
end
|
509
|
+
|
475
510
|
# Removes the specified CatalogAttribute from the AttributesConfig. If the
|
476
511
|
# CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
|
477
512
|
# @param [String] attributes_config
|
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.52.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-08-15 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.52.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: []
|