google-apis-retail_v2beta 0.48.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b9beb593a90e096cb6e01a5ca3c7e748246a4963ef3fe32c3a7672db909acf4
|
4
|
+
data.tar.gz: 92a374aec66c49a70fc78f6b65b7cc2098be493652c43566db767827116f9e4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a391ecc58390dce905217812166b1dbc308768af0f88ccb57b30d757047c5ab2ebf4b554a5745ab4f09fe8a63de7a4d24352596cdffcb7e0e7fef13552139304
|
7
|
+
data.tar.gz: bc8dfe60542d2608bd488ea5aebea5baaf6faa00709f82dafc08e403cd668b691f11cff7f01152ed554846624645279c2fad6ddbb770df0578b5e32156edc35a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.51.0 (2022-08-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220811
|
6
|
+
|
7
|
+
### v0.50.0 (2022-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220729
|
10
|
+
|
11
|
+
### v0.49.0 (2022-07-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220722
|
14
|
+
|
3
15
|
### v0.48.0 (2022-07-19)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220716
|
@@ -739,6 +739,31 @@ module Google
|
|
739
739
|
end
|
740
740
|
end
|
741
741
|
|
742
|
+
# A BigQuery output result.
|
743
|
+
class GoogleCloudRetailV2alphaBigQueryOutputResult
|
744
|
+
include Google::Apis::Core::Hashable
|
745
|
+
|
746
|
+
# The ID of a BigQuery Dataset.
|
747
|
+
# Corresponds to the JSON property `datasetId`
|
748
|
+
# @return [String]
|
749
|
+
attr_accessor :dataset_id
|
750
|
+
|
751
|
+
# The ID of a BigQuery Table.
|
752
|
+
# Corresponds to the JSON property `tableId`
|
753
|
+
# @return [String]
|
754
|
+
attr_accessor :table_id
|
755
|
+
|
756
|
+
def initialize(**args)
|
757
|
+
update!(**args)
|
758
|
+
end
|
759
|
+
|
760
|
+
# Update properties of this object
|
761
|
+
def update!(**args)
|
762
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
763
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
742
767
|
# Metadata associated with a create operation.
|
743
768
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
744
769
|
include Google::Apis::Core::Hashable
|
@@ -823,6 +848,11 @@ module Google
|
|
823
848
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig]
|
824
849
|
attr_accessor :errors_config
|
825
850
|
|
851
|
+
# Output result.
|
852
|
+
# Corresponds to the JSON property `outputResult`
|
853
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult]
|
854
|
+
attr_accessor :output_result
|
855
|
+
|
826
856
|
def initialize(**args)
|
827
857
|
update!(**args)
|
828
858
|
end
|
@@ -831,6 +861,7 @@ module Google
|
|
831
861
|
def update!(**args)
|
832
862
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
833
863
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
864
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
834
865
|
end
|
835
866
|
end
|
836
867
|
|
@@ -850,6 +881,11 @@ module Google
|
|
850
881
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig]
|
851
882
|
attr_accessor :errors_config
|
852
883
|
|
884
|
+
# Output result.
|
885
|
+
# Corresponds to the JSON property `outputResult`
|
886
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult]
|
887
|
+
attr_accessor :output_result
|
888
|
+
|
853
889
|
def initialize(**args)
|
854
890
|
update!(**args)
|
855
891
|
end
|
@@ -858,6 +894,7 @@ module Google
|
|
858
894
|
def update!(**args)
|
859
895
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
860
896
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
897
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
861
898
|
end
|
862
899
|
end
|
863
900
|
|
@@ -936,6 +973,11 @@ module Google
|
|
936
973
|
# @return [Fixnum]
|
937
974
|
attr_accessor :success_count
|
938
975
|
|
976
|
+
# Metadata related to transform user events operation.
|
977
|
+
# Corresponds to the JSON property `transformedUserEventsMetadata`
|
978
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaTransformedUserEventsMetadata]
|
979
|
+
attr_accessor :transformed_user_events_metadata
|
980
|
+
|
939
981
|
# Operation last update time. If the operation is done, this is also the finish
|
940
982
|
# time.
|
941
983
|
# Corresponds to the JSON property `updateTime`
|
@@ -953,6 +995,7 @@ module Google
|
|
953
995
|
@notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
|
954
996
|
@request_id = args[:request_id] if args.key?(:request_id)
|
955
997
|
@success_count = args[:success_count] if args.key?(:success_count)
|
998
|
+
@transformed_user_events_metadata = args[:transformed_user_events_metadata] if args.key?(:transformed_user_events_metadata)
|
956
999
|
@update_time = args[:update_time] if args.key?(:update_time)
|
957
1000
|
end
|
958
1001
|
end
|
@@ -1039,8 +1082,8 @@ module Google
|
|
1039
1082
|
attr_accessor :data_state
|
1040
1083
|
|
1041
1084
|
# Required. The display name of the model. Should be human readable, used to
|
1042
|
-
# display Recommendation Models in the Retail
|
1043
|
-
# string with limit of 1024 characters.
|
1085
|
+
# display Recommendation Models in the Retail Cloud Cosole Dashboard. UTF-8
|
1086
|
+
# encoded string with limit of 1024 characters.
|
1044
1087
|
# Corresponds to the JSON property `displayName`
|
1045
1088
|
# @return [String]
|
1046
1089
|
attr_accessor :display_name
|
@@ -1087,6 +1130,12 @@ module Google
|
|
1087
1130
|
# @return [String]
|
1088
1131
|
attr_accessor :periodic_tuning_state
|
1089
1132
|
|
1133
|
+
# Output only. The list of valid serving configs associated with the
|
1134
|
+
# PageOptimizationConfig.
|
1135
|
+
# Corresponds to the JSON property `servingConfigLists`
|
1136
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList>]
|
1137
|
+
attr_accessor :serving_config_lists
|
1138
|
+
|
1090
1139
|
# Output only. The serving state of the model: ACTIVE, NOT_ACTIVE.
|
1091
1140
|
# Corresponds to the JSON property `servingState`
|
1092
1141
|
# @return [String]
|
@@ -1138,6 +1187,7 @@ module Google
|
|
1138
1187
|
@optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective)
|
1139
1188
|
@page_optimization_config = args[:page_optimization_config] if args.key?(:page_optimization_config)
|
1140
1189
|
@periodic_tuning_state = args[:periodic_tuning_state] if args.key?(:periodic_tuning_state)
|
1190
|
+
@serving_config_lists = args[:serving_config_lists] if args.key?(:serving_config_lists)
|
1141
1191
|
@serving_state = args[:serving_state] if args.key?(:serving_state)
|
1142
1192
|
@training_state = args[:training_state] if args.key?(:training_state)
|
1143
1193
|
@tuning_operation = args[:tuning_operation] if args.key?(:tuning_operation)
|
@@ -1243,6 +1293,46 @@ module Google
|
|
1243
1293
|
end
|
1244
1294
|
end
|
1245
1295
|
|
1296
|
+
# Represents an ordered combination of valid serving configs, which / may be
|
1297
|
+
# used for PAGE_OPTIMIZATION recommendations.
|
1298
|
+
class GoogleCloudRetailV2alphaModelServingConfigList
|
1299
|
+
include Google::Apis::Core::Hashable
|
1300
|
+
|
1301
|
+
# Optional. A set of valid serving configs that may be used for
|
1302
|
+
# PAGE_OPTIMIZATION.
|
1303
|
+
# Corresponds to the JSON property `servingConfigIds`
|
1304
|
+
# @return [Array<String>]
|
1305
|
+
attr_accessor :serving_config_ids
|
1306
|
+
|
1307
|
+
def initialize(**args)
|
1308
|
+
update!(**args)
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
# Update properties of this object
|
1312
|
+
def update!(**args)
|
1313
|
+
@serving_config_ids = args[:serving_config_ids] if args.key?(:serving_config_ids)
|
1314
|
+
end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# Output result.
|
1318
|
+
class GoogleCloudRetailV2alphaOutputResult
|
1319
|
+
include Google::Apis::Core::Hashable
|
1320
|
+
|
1321
|
+
# Export result in BigQuery.
|
1322
|
+
# Corresponds to the JSON property `bigqueryResult`
|
1323
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult>]
|
1324
|
+
attr_accessor :bigquery_result
|
1325
|
+
|
1326
|
+
def initialize(**args)
|
1327
|
+
update!(**args)
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# Update properties of this object
|
1331
|
+
def update!(**args)
|
1332
|
+
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1246
1336
|
# Metadata related to the progress of the Purge operation. This will be returned
|
1247
1337
|
# by the google.longrunning.Operation.metadata field.
|
1248
1338
|
class GoogleCloudRetailV2alphaPurgeMetadata
|
@@ -1467,6 +1557,32 @@ module Google
|
|
1467
1557
|
end
|
1468
1558
|
end
|
1469
1559
|
|
1560
|
+
# Metadata related to transform user events operation.
|
1561
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
1562
|
+
include Google::Apis::Core::Hashable
|
1563
|
+
|
1564
|
+
# Count of entries in the source user events BigQuery table.
|
1565
|
+
# Corresponds to the JSON property `sourceEventsCount`
|
1566
|
+
# @return [Fixnum]
|
1567
|
+
attr_accessor :source_events_count
|
1568
|
+
|
1569
|
+
# Count of entries in the transformed user events BigQuery table, which could be
|
1570
|
+
# different from the actually imported number of user events.
|
1571
|
+
# Corresponds to the JSON property `transformedEventsCount`
|
1572
|
+
# @return [Fixnum]
|
1573
|
+
attr_accessor :transformed_events_count
|
1574
|
+
|
1575
|
+
def initialize(**args)
|
1576
|
+
update!(**args)
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
# Update properties of this object
|
1580
|
+
def update!(**args)
|
1581
|
+
@source_events_count = args[:source_events_count] if args.key?(:source_events_count)
|
1582
|
+
@transformed_events_count = args[:transformed_events_count] if args.key?(:transformed_events_count)
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1470
1586
|
# Metadata associated with a tune operation.
|
1471
1587
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
1472
1588
|
include Google::Apis::Core::Hashable
|
@@ -1808,6 +1924,79 @@ module Google
|
|
1808
1924
|
end
|
1809
1925
|
end
|
1810
1926
|
|
1927
|
+
# Request for CatalogService.BatchRemoveCatalogAttributes method.
|
1928
|
+
class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
|
1929
|
+
include Google::Apis::Core::Hashable
|
1930
|
+
|
1931
|
+
# Required. The attribute name keys of the CatalogAttributes to delete. A
|
1932
|
+
# maximum of 1000 catalog attributes can be deleted in a batch.
|
1933
|
+
# Corresponds to the JSON property `attributeKeys`
|
1934
|
+
# @return [Array<String>]
|
1935
|
+
attr_accessor :attribute_keys
|
1936
|
+
|
1937
|
+
def initialize(**args)
|
1938
|
+
update!(**args)
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
# Update properties of this object
|
1942
|
+
def update!(**args)
|
1943
|
+
@attribute_keys = args[:attribute_keys] if args.key?(:attribute_keys)
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# Response of the CatalogService.BatchRemoveCatalogAttributes.
|
1948
|
+
class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
|
1949
|
+
include Google::Apis::Core::Hashable
|
1950
|
+
|
1951
|
+
# Catalog attributes that were deleted. Only attributes that are not in use by
|
1952
|
+
# products can be deleted.
|
1953
|
+
# Corresponds to the JSON property `deletedCatalogAttributes`
|
1954
|
+
# @return [Array<String>]
|
1955
|
+
attr_accessor :deleted_catalog_attributes
|
1956
|
+
|
1957
|
+
# Catalog attributes that were reset. Attributes that are in use by products
|
1958
|
+
# cannot be deleted, however their configuration properties will reset to
|
1959
|
+
# default values upon removal request.
|
1960
|
+
# Corresponds to the JSON property `resetCatalogAttributes`
|
1961
|
+
# @return [Array<String>]
|
1962
|
+
attr_accessor :reset_catalog_attributes
|
1963
|
+
|
1964
|
+
def initialize(**args)
|
1965
|
+
update!(**args)
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Update properties of this object
|
1969
|
+
def update!(**args)
|
1970
|
+
@deleted_catalog_attributes = args[:deleted_catalog_attributes] if args.key?(:deleted_catalog_attributes)
|
1971
|
+
@reset_catalog_attributes = args[:reset_catalog_attributes] if args.key?(:reset_catalog_attributes)
|
1972
|
+
end
|
1973
|
+
end
|
1974
|
+
|
1975
|
+
# A BigQuery output result.
|
1976
|
+
class GoogleCloudRetailV2betaBigQueryOutputResult
|
1977
|
+
include Google::Apis::Core::Hashable
|
1978
|
+
|
1979
|
+
# The ID of a BigQuery Dataset.
|
1980
|
+
# Corresponds to the JSON property `datasetId`
|
1981
|
+
# @return [String]
|
1982
|
+
attr_accessor :dataset_id
|
1983
|
+
|
1984
|
+
# The ID of a BigQuery Table.
|
1985
|
+
# Corresponds to the JSON property `tableId`
|
1986
|
+
# @return [String]
|
1987
|
+
attr_accessor :table_id
|
1988
|
+
|
1989
|
+
def initialize(**args)
|
1990
|
+
update!(**args)
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
# Update properties of this object
|
1994
|
+
def update!(**args)
|
1995
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
1996
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
1997
|
+
end
|
1998
|
+
end
|
1999
|
+
|
1811
2000
|
# BigQuery source import data from.
|
1812
2001
|
class GoogleCloudRetailV2betaBigQuerySource
|
1813
2002
|
include Google::Apis::Core::Hashable
|
@@ -1819,12 +2008,11 @@ module Google
|
|
1819
2008
|
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
1820
2009
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
1821
2010
|
# user_event_ga360`: The schema is available here: https://support.google.com/
|
1822
|
-
# analytics/answer/3437719. * `user_event_ga4`:
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1827
|
-
# suggestion per line. * `allowlist`: One JSON allow suggestion per line.
|
2011
|
+
# analytics/answer/3437719. * `user_event_ga4`: The schema is available here:
|
2012
|
+
# https://support.google.com/analytics/answer/7029846. Supported values for auto-
|
2013
|
+
# completion imports: * `suggestions` (default): One JSON completion suggestion
|
2014
|
+
# per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One
|
2015
|
+
# JSON allow suggestion per line.
|
1828
2016
|
# Corresponds to the JSON property `dataSchema`
|
1829
2017
|
# @return [String]
|
1830
2018
|
attr_accessor :data_schema
|
@@ -1935,6 +2123,13 @@ module Google
|
|
1935
2123
|
# @return [String]
|
1936
2124
|
attr_accessor :dynamic_facetable_option
|
1937
2125
|
|
2126
|
+
# If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This
|
2127
|
+
# property only applies to textual custom attributes and requires indexable set
|
2128
|
+
# to enabled to enable exact-searchable.
|
2129
|
+
# Corresponds to the JSON property `exactSearchableOption`
|
2130
|
+
# @return [String]
|
2131
|
+
attr_accessor :exact_searchable_option
|
2132
|
+
|
1938
2133
|
# Output only. Indicates whether this attribute has been used by any products. `
|
1939
2134
|
# True` if at least one Product is using this attribute in Product.attributes.
|
1940
2135
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -1996,6 +2191,7 @@ module Google
|
|
1996
2191
|
# Update properties of this object
|
1997
2192
|
def update!(**args)
|
1998
2193
|
@dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
|
2194
|
+
@exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
|
1999
2195
|
@in_use = args[:in_use] if args.key?(:in_use)
|
2000
2196
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
2001
2197
|
@key = args[:key] if args.key?(:key)
|
@@ -2068,7 +2264,7 @@ module Google
|
|
2068
2264
|
# CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The
|
2069
2265
|
# recent searches satisfy the follow rules: * They are ordered from latest to
|
2070
2266
|
# oldest. * They are matched with CompleteQueryRequest.query case insensitively.
|
2071
|
-
# * They are transformed to lower
|
2267
|
+
# * They are transformed to lower case. * They are UTF-8 safe. Recent searches
|
2072
2268
|
# are deduplicated. More recent searches will be reserved when duplication
|
2073
2269
|
# happens.
|
2074
2270
|
# Corresponds to the JSON property `recentSearchResults`
|
@@ -2188,16 +2384,16 @@ module Google
|
|
2188
2384
|
# @return [String]
|
2189
2385
|
attr_accessor :matching_order
|
2190
2386
|
|
2191
|
-
# The maximum number of autocomplete suggestions returned per term.
|
2192
|
-
#
|
2193
|
-
#
|
2387
|
+
# The maximum number of autocomplete suggestions returned per term. Default
|
2388
|
+
# value is 20. If left unset or set to 0, then will fallback to default value.
|
2389
|
+
# Value range is 1 to 20.
|
2194
2390
|
# Corresponds to the JSON property `maxSuggestions`
|
2195
2391
|
# @return [Fixnum]
|
2196
2392
|
attr_accessor :max_suggestions
|
2197
2393
|
|
2198
2394
|
# The minimum number of characters needed to be typed in order to get
|
2199
2395
|
# suggestions. Default value is 2. If left unset or set to 0, then will fallback
|
2200
|
-
# to default value.
|
2396
|
+
# to default value. Value range is 1 to 20.
|
2201
2397
|
# Corresponds to the JSON property `minPrefixLength`
|
2202
2398
|
# @return [Fixnum]
|
2203
2399
|
attr_accessor :min_prefix_length
|
@@ -2554,6 +2750,11 @@ module Google
|
|
2554
2750
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
|
2555
2751
|
attr_accessor :errors_config
|
2556
2752
|
|
2753
|
+
# Output result.
|
2754
|
+
# Corresponds to the JSON property `outputResult`
|
2755
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
|
2756
|
+
attr_accessor :output_result
|
2757
|
+
|
2557
2758
|
def initialize(**args)
|
2558
2759
|
update!(**args)
|
2559
2760
|
end
|
@@ -2562,6 +2763,7 @@ module Google
|
|
2562
2763
|
def update!(**args)
|
2563
2764
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
2564
2765
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
2766
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
2565
2767
|
end
|
2566
2768
|
end
|
2567
2769
|
|
@@ -2581,6 +2783,11 @@ module Google
|
|
2581
2783
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig]
|
2582
2784
|
attr_accessor :errors_config
|
2583
2785
|
|
2786
|
+
# Output result.
|
2787
|
+
# Corresponds to the JSON property `outputResult`
|
2788
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult]
|
2789
|
+
attr_accessor :output_result
|
2790
|
+
|
2584
2791
|
def initialize(**args)
|
2585
2792
|
update!(**args)
|
2586
2793
|
end
|
@@ -2589,6 +2796,7 @@ module Google
|
|
2589
2796
|
def update!(**args)
|
2590
2797
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
2591
2798
|
@errors_config = args[:errors_config] if args.key?(:errors_config)
|
2799
|
+
@output_result = args[:output_result] if args.key?(:output_result)
|
2592
2800
|
end
|
2593
2801
|
end
|
2594
2802
|
|
@@ -2882,11 +3090,9 @@ module Google
|
|
2882
3090
|
# the import is finished, a notification will be sent to specified Pub/Sub topic.
|
2883
3091
|
# The message data will be JSON string of a Operation. Format of the Pub/Sub
|
2884
3092
|
# topic is `projects/`project`/topics/`topic``. It has to be within the same
|
2885
|
-
# project as ImportProductsRequest.parent. Make sure that
|
2886
|
-
#
|
2887
|
-
#
|
2888
|
-
# the topic. Only supported when ImportProductsRequest.reconciliation_mode is
|
2889
|
-
# set to `FULL`.
|
3093
|
+
# project as ImportProductsRequest.parent. Make sure that `service-@gcp-sa-
|
3094
|
+
# retail.iam.gserviceaccount.com` has the `pubsub.topics.publish` IAM permission
|
3095
|
+
# on the topic.
|
2890
3096
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
2891
3097
|
# @return [String]
|
2892
3098
|
attr_accessor :notification_pubsub_topic
|
@@ -3217,8 +3423,8 @@ module Google
|
|
3217
3423
|
attr_accessor :branch_id
|
3218
3424
|
|
3219
3425
|
# String representing the destination to import for, all if left empty. List of
|
3220
|
-
# possible values
|
3221
|
-
# answer/7501026
|
3426
|
+
# possible values is given in [Included destination](https://support.google.com/
|
3427
|
+
# merchants/answer/7501026). List of allowed string values: "Shopping_ads", "
|
3222
3428
|
# Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings"
|
3223
3429
|
# , "Free_local_listings" NOTE: The string values are case sensitive.
|
3224
3430
|
# Corresponds to the JSON property `destinations`
|
@@ -3283,6 +3489,25 @@ module Google
|
|
3283
3489
|
end
|
3284
3490
|
end
|
3285
3491
|
|
3492
|
+
# Output result.
|
3493
|
+
class GoogleCloudRetailV2betaOutputResult
|
3494
|
+
include Google::Apis::Core::Hashable
|
3495
|
+
|
3496
|
+
# Export result in BigQuery.
|
3497
|
+
# Corresponds to the JSON property `bigqueryResult`
|
3498
|
+
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult>]
|
3499
|
+
attr_accessor :bigquery_result
|
3500
|
+
|
3501
|
+
def initialize(**args)
|
3502
|
+
update!(**args)
|
3503
|
+
end
|
3504
|
+
|
3505
|
+
# Update properties of this object
|
3506
|
+
def update!(**args)
|
3507
|
+
@bigquery_result = args[:bigquery_result] if args.key?(:bigquery_result)
|
3508
|
+
end
|
3509
|
+
end
|
3510
|
+
|
3286
3511
|
# Request message for Predict method.
|
3287
3512
|
class GoogleCloudRetailV2betaPredictRequest
|
3288
3513
|
include Google::Apis::Core::Hashable
|
@@ -3327,15 +3552,15 @@ module Google
|
|
3327
3552
|
# @return [Hash<String,String>]
|
3328
3553
|
attr_accessor :labels
|
3329
3554
|
|
3330
|
-
# Maximum number of results to return
|
3331
|
-
#
|
3555
|
+
# Maximum number of results to return. Set this property to the number of
|
3556
|
+
# prediction results needed. If zero, the service will choose a reasonable
|
3332
3557
|
# default. The maximum allowed value is 100. Values above 100 will be coerced to
|
3333
3558
|
# 100.
|
3334
3559
|
# Corresponds to the JSON property `pageSize`
|
3335
3560
|
# @return [Fixnum]
|
3336
3561
|
attr_accessor :page_size
|
3337
3562
|
|
3338
|
-
# This field is not used
|
3563
|
+
# This field is not used; leave it unset.
|
3339
3564
|
# Corresponds to the JSON property `pageToken`
|
3340
3565
|
# @return [String]
|
3341
3566
|
attr_accessor :page_token
|
@@ -3642,7 +3867,7 @@ module Google
|
|
3642
3867
|
|
3643
3868
|
# The id of the collection members when type is Type.COLLECTION. Non-existent
|
3644
3869
|
# product ids are allowed. The type of the members must be either Type.PRIMARY
|
3645
|
-
# or Type.VARIANT otherwise
|
3870
|
+
# or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set
|
3646
3871
|
# it for other types. A maximum of 1000 values are allowed. Otherwise, an
|
3647
3872
|
# INVALID_ARGUMENT error is return.
|
3648
3873
|
# Corresponds to the JSON property `collectionMemberIds`
|
@@ -4541,7 +4766,7 @@ module Google
|
|
4541
4766
|
attr_accessor :do_not_associate_action
|
4542
4767
|
|
4543
4768
|
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4544
|
-
# or more Condition.query_terms provided
|
4769
|
+
# or more Condition.query_terms provided are combined with OR operator. * Action
|
4545
4770
|
# Input: The request query and filter that are applied to the retrieved products,
|
4546
4771
|
# in addition to any filters already provided with the SearchRequest. The AND
|
4547
4772
|
# operator is used to combine the query's existing filters with the filter rule(
|
@@ -4678,7 +4903,7 @@ module Google
|
|
4678
4903
|
end
|
4679
4904
|
|
4680
4905
|
# * Rule Condition: - No Condition.query_terms provided is a global match. - 1
|
4681
|
-
# or more Condition.query_terms provided
|
4906
|
+
# or more Condition.query_terms provided are combined with OR operator. * Action
|
4682
4907
|
# Input: The request query and filter that are applied to the retrieved products,
|
4683
4908
|
# in addition to any filters already provided with the SearchRequest. The AND
|
4684
4909
|
# operator is used to combine the query's existing filters with the filter rule(
|
@@ -5298,6 +5523,13 @@ module Google
|
|
5298
5523
|
# @return [Array<String>]
|
5299
5524
|
attr_accessor :restricted_values
|
5300
5525
|
|
5526
|
+
# Returns the min and max value for each numerical facet intervals. Ignored for
|
5527
|
+
# textual facets.
|
5528
|
+
# Corresponds to the JSON property `returnMinMax`
|
5529
|
+
# @return [Boolean]
|
5530
|
+
attr_accessor :return_min_max
|
5531
|
+
alias_method :return_min_max?, :return_min_max
|
5532
|
+
|
5301
5533
|
def initialize(**args)
|
5302
5534
|
update!(**args)
|
5303
5535
|
end
|
@@ -5312,6 +5544,7 @@ module Google
|
|
5312
5544
|
@prefixes = args[:prefixes] if args.key?(:prefixes)
|
5313
5545
|
@query = args[:query] if args.key?(:query)
|
5314
5546
|
@restricted_values = args[:restricted_values] if args.key?(:restricted_values)
|
5547
|
+
@return_min_max = args[:return_min_max] if args.key?(:return_min_max)
|
5315
5548
|
end
|
5316
5549
|
end
|
5317
5550
|
|
@@ -5514,6 +5747,18 @@ module Google
|
|
5514
5747
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval]
|
5515
5748
|
attr_accessor :interval
|
5516
5749
|
|
5750
|
+
# The maximum value in the FacetValue.interval. Only supported on numerical
|
5751
|
+
# facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
|
5752
|
+
# Corresponds to the JSON property `maxValue`
|
5753
|
+
# @return [Float]
|
5754
|
+
attr_accessor :max_value
|
5755
|
+
|
5756
|
+
# The minimum value in the FacetValue.interval. Only supported on numerical
|
5757
|
+
# facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.
|
5758
|
+
# Corresponds to the JSON property `minValue`
|
5759
|
+
# @return [Float]
|
5760
|
+
attr_accessor :min_value
|
5761
|
+
|
5517
5762
|
# Text value of a facet, such as "Black" for facet "colorFamilies".
|
5518
5763
|
# Corresponds to the JSON property `value`
|
5519
5764
|
# @return [String]
|
@@ -5527,6 +5772,8 @@ module Google
|
|
5527
5772
|
def update!(**args)
|
5528
5773
|
@count = args[:count] if args.key?(:count)
|
5529
5774
|
@interval = args[:interval] if args.key?(:interval)
|
5775
|
+
@max_value = args[:max_value] if args.key?(:max_value)
|
5776
|
+
@min_value = args[:min_value] if args.key?(:min_value)
|
5530
5777
|
@value = args[:value] if args.key?(:value)
|
5531
5778
|
end
|
5532
5779
|
end
|
@@ -5582,6 +5829,15 @@ module Google
|
|
5582
5829
|
# @return [Hash<String,String>]
|
5583
5830
|
attr_accessor :matching_variant_fields
|
5584
5831
|
|
5832
|
+
# Specifies previous events related to this product for this user based on
|
5833
|
+
# UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set
|
5834
|
+
# only when SearchRequest.PersonalizationSpec.mode is SearchRequest.
|
5835
|
+
# PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that
|
5836
|
+
# this product has been purchased before.
|
5837
|
+
# Corresponds to the JSON property `personalLabels`
|
5838
|
+
# @return [Array<String>]
|
5839
|
+
attr_accessor :personal_labels
|
5840
|
+
|
5585
5841
|
# Product captures all metadata information of items to be recommended or
|
5586
5842
|
# searched.
|
5587
5843
|
# Corresponds to the JSON property `product`
|
@@ -5614,6 +5870,7 @@ module Google
|
|
5614
5870
|
@id = args[:id] if args.key?(:id)
|
5615
5871
|
@matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
|
5616
5872
|
@matching_variant_fields = args[:matching_variant_fields] if args.key?(:matching_variant_fields)
|
5873
|
+
@personal_labels = args[:personal_labels] if args.key?(:personal_labels)
|
5617
5874
|
@product = args[:product] if args.key?(:product)
|
5618
5875
|
@variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
|
5619
5876
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RetailV2beta
|
18
18
|
# Version of the google-apis-retail_v2beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.51.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
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class GoogleCloudRetailV2alphaBigQueryOutputResult
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -292,6 +298,18 @@ module Google
|
|
292
298
|
include Google::Apis::Core::JsonObjectSupport
|
293
299
|
end
|
294
300
|
|
301
|
+
class GoogleCloudRetailV2alphaModelServingConfigList
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class GoogleCloudRetailV2alphaOutputResult
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
295
313
|
class GoogleCloudRetailV2alphaPurgeMetadata
|
296
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
315
|
|
@@ -364,6 +382,12 @@ module Google
|
|
364
382
|
include Google::Apis::Core::JsonObjectSupport
|
365
383
|
end
|
366
384
|
|
385
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
367
391
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
368
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
393
|
|
@@ -442,6 +466,24 @@ module Google
|
|
442
466
|
include Google::Apis::Core::JsonObjectSupport
|
443
467
|
end
|
444
468
|
|
469
|
+
class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class GoogleCloudRetailV2betaBigQueryOutputResult
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
445
487
|
class GoogleCloudRetailV2betaBigQuerySource
|
446
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
489
|
|
@@ -676,6 +718,12 @@ module Google
|
|
676
718
|
include Google::Apis::Core::JsonObjectSupport
|
677
719
|
end
|
678
720
|
|
721
|
+
class GoogleCloudRetailV2betaOutputResult
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
679
727
|
class GoogleCloudRetailV2betaPredictRequest
|
680
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
729
|
|
@@ -1308,6 +1356,14 @@ module Google
|
|
1308
1356
|
end
|
1309
1357
|
end
|
1310
1358
|
|
1359
|
+
class GoogleCloudRetailV2alphaBigQueryOutputResult
|
1360
|
+
# @private
|
1361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1362
|
+
property :dataset_id, as: 'datasetId'
|
1363
|
+
property :table_id, as: 'tableId'
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1311
1367
|
class GoogleCloudRetailV2alphaCreateModelMetadata
|
1312
1368
|
# @private
|
1313
1369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1337,6 +1393,8 @@ module Google
|
|
1337
1393
|
|
1338
1394
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
1339
1395
|
|
1396
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult::Representation
|
1397
|
+
|
1340
1398
|
end
|
1341
1399
|
end
|
1342
1400
|
|
@@ -1347,6 +1405,8 @@ module Google
|
|
1347
1405
|
|
1348
1406
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
|
1349
1407
|
|
1408
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaOutputResult::Representation
|
1409
|
+
|
1350
1410
|
end
|
1351
1411
|
end
|
1352
1412
|
|
@@ -1373,6 +1433,8 @@ module Google
|
|
1373
1433
|
property :notification_pubsub_topic, as: 'notificationPubsubTopic'
|
1374
1434
|
property :request_id, as: 'requestId'
|
1375
1435
|
property :success_count, :numeric_string => true, as: 'successCount'
|
1436
|
+
property :transformed_user_events_metadata, as: 'transformedUserEventsMetadata', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaTransformedUserEventsMetadata, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaTransformedUserEventsMetadata::Representation
|
1437
|
+
|
1376
1438
|
property :update_time, as: 'updateTime'
|
1377
1439
|
end
|
1378
1440
|
end
|
@@ -1412,6 +1474,8 @@ module Google
|
|
1412
1474
|
property :page_optimization_config, as: 'pageOptimizationConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelPageOptimizationConfig::Representation
|
1413
1475
|
|
1414
1476
|
property :periodic_tuning_state, as: 'periodicTuningState'
|
1477
|
+
collection :serving_config_lists, as: 'servingConfigLists', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaModelServingConfigList::Representation
|
1478
|
+
|
1415
1479
|
property :serving_state, as: 'servingState'
|
1416
1480
|
property :training_state, as: 'trainingState'
|
1417
1481
|
property :tuning_operation, as: 'tuningOperation'
|
@@ -1448,6 +1512,21 @@ module Google
|
|
1448
1512
|
end
|
1449
1513
|
end
|
1450
1514
|
|
1515
|
+
class GoogleCloudRetailV2alphaModelServingConfigList
|
1516
|
+
# @private
|
1517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1518
|
+
collection :serving_config_ids, as: 'servingConfigIds'
|
1519
|
+
end
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
class GoogleCloudRetailV2alphaOutputResult
|
1523
|
+
# @private
|
1524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1525
|
+
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaBigQueryOutputResult::Representation
|
1526
|
+
|
1527
|
+
end
|
1528
|
+
end
|
1529
|
+
|
1451
1530
|
class GoogleCloudRetailV2alphaPurgeMetadata
|
1452
1531
|
# @private
|
1453
1532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1528,6 +1607,14 @@ module Google
|
|
1528
1607
|
end
|
1529
1608
|
end
|
1530
1609
|
|
1610
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
1611
|
+
# @private
|
1612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1613
|
+
property :source_events_count, :numeric_string => true, as: 'sourceEventsCount'
|
1614
|
+
property :transformed_events_count, :numeric_string => true, as: 'transformedEventsCount'
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
|
1531
1618
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
1532
1619
|
# @private
|
1533
1620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1627,6 +1714,29 @@ module Google
|
|
1627
1714
|
end
|
1628
1715
|
end
|
1629
1716
|
|
1717
|
+
class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
|
1718
|
+
# @private
|
1719
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1720
|
+
collection :attribute_keys, as: 'attributeKeys'
|
1721
|
+
end
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
class GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
|
1725
|
+
# @private
|
1726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1727
|
+
collection :deleted_catalog_attributes, as: 'deletedCatalogAttributes'
|
1728
|
+
collection :reset_catalog_attributes, as: 'resetCatalogAttributes'
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
class GoogleCloudRetailV2betaBigQueryOutputResult
|
1733
|
+
# @private
|
1734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1735
|
+
property :dataset_id, as: 'datasetId'
|
1736
|
+
property :table_id, as: 'tableId'
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1630
1740
|
class GoogleCloudRetailV2betaBigQuerySource
|
1631
1741
|
# @private
|
1632
1742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1656,6 +1766,7 @@ module Google
|
|
1656
1766
|
# @private
|
1657
1767
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1658
1768
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1769
|
+
property :exact_searchable_option, as: 'exactSearchableOption'
|
1659
1770
|
property :in_use, as: 'inUse'
|
1660
1771
|
property :indexable_option, as: 'indexableOption'
|
1661
1772
|
property :key, as: 'key'
|
@@ -1809,6 +1920,8 @@ module Google
|
|
1809
1920
|
|
1810
1921
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
1811
1922
|
|
1923
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
|
1924
|
+
|
1812
1925
|
end
|
1813
1926
|
end
|
1814
1927
|
|
@@ -1819,6 +1932,8 @@ module Google
|
|
1819
1932
|
|
1820
1933
|
property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
|
1821
1934
|
|
1935
|
+
property :output_result, as: 'outputResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputResult::Representation
|
1936
|
+
|
1822
1937
|
end
|
1823
1938
|
end
|
1824
1939
|
|
@@ -2015,6 +2130,14 @@ module Google
|
|
2015
2130
|
end
|
2016
2131
|
end
|
2017
2132
|
|
2133
|
+
class GoogleCloudRetailV2betaOutputResult
|
2134
|
+
# @private
|
2135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2136
|
+
collection :bigquery_result, as: 'bigqueryResult', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQueryOutputResult::Representation
|
2137
|
+
|
2138
|
+
end
|
2139
|
+
end
|
2140
|
+
|
2018
2141
|
class GoogleCloudRetailV2betaPredictRequest
|
2019
2142
|
# @private
|
2020
2143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2458,6 +2581,7 @@ module Google
|
|
2458
2581
|
collection :prefixes, as: 'prefixes'
|
2459
2582
|
property :query, as: 'query'
|
2460
2583
|
collection :restricted_values, as: 'restrictedValues'
|
2584
|
+
property :return_min_max, as: 'returnMinMax'
|
2461
2585
|
end
|
2462
2586
|
end
|
2463
2587
|
|
@@ -2519,6 +2643,8 @@ module Google
|
|
2519
2643
|
property :count, :numeric_string => true, as: 'count'
|
2520
2644
|
property :interval, as: 'interval', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval::Representation
|
2521
2645
|
|
2646
|
+
property :max_value, as: 'maxValue'
|
2647
|
+
property :min_value, as: 'minValue'
|
2522
2648
|
property :value, as: 'value'
|
2523
2649
|
end
|
2524
2650
|
end
|
@@ -2537,6 +2663,7 @@ module Google
|
|
2537
2663
|
property :id, as: 'id'
|
2538
2664
|
property :matching_variant_count, as: 'matchingVariantCount'
|
2539
2665
|
hash :matching_variant_fields, as: 'matchingVariantFields'
|
2666
|
+
collection :personal_labels, as: 'personalLabels'
|
2540
2667
|
property :product, as: 'product', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct::Representation
|
2541
2668
|
|
2542
2669
|
hash :variant_rollup_values, as: 'variantRollupValues'
|
@@ -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::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest] google_cloud_retail_v2beta_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::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse] parsed result object
|
491
|
+
# @yieldparam err [StandardError] error object if request failed
|
492
|
+
#
|
493
|
+
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse]
|
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_v2beta_batch_remove_catalog_attributes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
499
|
+
command = make_simple_command(:post, 'v2beta/{+attributesConfig}:batchRemoveCatalogAttributes', options)
|
500
|
+
command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest::Representation
|
501
|
+
command.request_object = google_cloud_retail_v2beta_batch_remove_catalog_attributes_request_object
|
502
|
+
command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse::Representation
|
503
|
+
command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
|
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_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.51.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_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.51.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|