google-apis-retail_v2beta 0.49.0 → 0.50.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: 13a365006880a4823d9ccbb8a703c823c8a1b8979555251f063562614405adef
|
4
|
+
data.tar.gz: '085ba4ee48a012a220c06054565180160f05800d2bdc466b45493d17648fd16d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29406b129efeff8a021d9e2a4a6f9097ab82a001ac5ffb64b432cc5cdf4be0687587c72b36da809d31f9060c01c3a93a7e9e96871ce8d4a6082b07a824619c2e
|
7
|
+
data.tar.gz: e1fbdbd09bbaac0b675ce17329d53e430743159976c53fae3f7a79724e7a8bc08cb10696d4d50a90c69ac7c4ced7a4d598286d74386cbc23b65badc333c33612
|
data/CHANGELOG.md
CHANGED
@@ -973,6 +973,11 @@ module Google
|
|
973
973
|
# @return [Fixnum]
|
974
974
|
attr_accessor :success_count
|
975
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
|
+
|
976
981
|
# Operation last update time. If the operation is done, this is also the finish
|
977
982
|
# time.
|
978
983
|
# Corresponds to the JSON property `updateTime`
|
@@ -990,6 +995,7 @@ module Google
|
|
990
995
|
@notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
|
991
996
|
@request_id = args[:request_id] if args.key?(:request_id)
|
992
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)
|
993
999
|
@update_time = args[:update_time] if args.key?(:update_time)
|
994
1000
|
end
|
995
1001
|
end
|
@@ -1076,8 +1082,8 @@ module Google
|
|
1076
1082
|
attr_accessor :data_state
|
1077
1083
|
|
1078
1084
|
# Required. The display name of the model. Should be human readable, used to
|
1079
|
-
# display Recommendation Models in the Retail
|
1080
|
-
# 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.
|
1081
1087
|
# Corresponds to the JSON property `displayName`
|
1082
1088
|
# @return [String]
|
1083
1089
|
attr_accessor :display_name
|
@@ -1551,6 +1557,32 @@ module Google
|
|
1551
1557
|
end
|
1552
1558
|
end
|
1553
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
|
+
|
1554
1586
|
# Metadata associated with a tune operation.
|
1555
1587
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
1556
1588
|
include Google::Apis::Core::Hashable
|
@@ -1892,6 +1924,54 @@ module Google
|
|
1892
1924
|
end
|
1893
1925
|
end
|
1894
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
|
+
|
1895
1975
|
# A BigQuery output result.
|
1896
1976
|
class GoogleCloudRetailV2betaBigQueryOutputResult
|
1897
1977
|
include Google::Apis::Core::Hashable
|
@@ -1928,12 +2008,11 @@ module Google
|
|
1928
2008
|
# recommendations-ai/docs/upload-catalog#mc). Supported values for user events
|
1929
2009
|
# imports: * `user_event` (default): One JSON UserEvent per line. * `
|
1930
2010
|
# user_event_ga360`: The schema is available here: https://support.google.com/
|
1931
|
-
# analytics/answer/3437719. * `user_event_ga4`:
|
1932
|
-
#
|
1933
|
-
#
|
1934
|
-
#
|
1935
|
-
#
|
1936
|
-
# 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.
|
1937
2016
|
# Corresponds to the JSON property `dataSchema`
|
1938
2017
|
# @return [String]
|
1939
2018
|
attr_accessor :data_schema
|
@@ -2044,6 +2123,13 @@ module Google
|
|
2044
2123
|
# @return [String]
|
2045
2124
|
attr_accessor :dynamic_facetable_option
|
2046
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
|
+
|
2047
2133
|
# Output only. Indicates whether this attribute has been used by any products. `
|
2048
2134
|
# True` if at least one Product is using this attribute in Product.attributes.
|
2049
2135
|
# Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
|
@@ -2105,6 +2191,7 @@ module Google
|
|
2105
2191
|
# Update properties of this object
|
2106
2192
|
def update!(**args)
|
2107
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)
|
2108
2195
|
@in_use = args[:in_use] if args.key?(:in_use)
|
2109
2196
|
@indexable_option = args[:indexable_option] if args.key?(:indexable_option)
|
2110
2197
|
@key = args[:key] if args.key?(:key)
|
@@ -2297,16 +2384,16 @@ module Google
|
|
2297
2384
|
# @return [String]
|
2298
2385
|
attr_accessor :matching_order
|
2299
2386
|
|
2300
|
-
# The maximum number of autocomplete suggestions returned per term.
|
2301
|
-
#
|
2302
|
-
#
|
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.
|
2303
2390
|
# Corresponds to the JSON property `maxSuggestions`
|
2304
2391
|
# @return [Fixnum]
|
2305
2392
|
attr_accessor :max_suggestions
|
2306
2393
|
|
2307
2394
|
# The minimum number of characters needed to be typed in order to get
|
2308
2395
|
# suggestions. Default value is 2. If left unset or set to 0, then will fallback
|
2309
|
-
# to default value.
|
2396
|
+
# to default value. Value range is 1 to 20.
|
2310
2397
|
# Corresponds to the JSON property `minPrefixLength`
|
2311
2398
|
# @return [Fixnum]
|
2312
2399
|
attr_accessor :min_prefix_length
|
@@ -3003,11 +3090,9 @@ module Google
|
|
3003
3090
|
# the import is finished, a notification will be sent to specified Pub/Sub topic.
|
3004
3091
|
# The message data will be JSON string of a Operation. Format of the Pub/Sub
|
3005
3092
|
# topic is `projects/`project`/topics/`topic``. It has to be within the same
|
3006
|
-
# project as ImportProductsRequest.parent. Make sure that
|
3007
|
-
#
|
3008
|
-
#
|
3009
|
-
# the topic. Only supported when ImportProductsRequest.reconciliation_mode is
|
3010
|
-
# 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.
|
3011
3096
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
3012
3097
|
# @return [String]
|
3013
3098
|
attr_accessor :notification_pubsub_topic
|
@@ -3782,7 +3867,7 @@ module Google
|
|
3782
3867
|
|
3783
3868
|
# The id of the collection members when type is Type.COLLECTION. Non-existent
|
3784
3869
|
# product ids are allowed. The type of the members must be either Type.PRIMARY
|
3785
|
-
# or Type.VARIANT otherwise
|
3870
|
+
# or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set
|
3786
3871
|
# it for other types. A maximum of 1000 values are allowed. Otherwise, an
|
3787
3872
|
# INVALID_ARGUMENT error is return.
|
3788
3873
|
# Corresponds to the JSON property `collectionMemberIds`
|
@@ -5438,6 +5523,13 @@ module Google
|
|
5438
5523
|
# @return [Array<String>]
|
5439
5524
|
attr_accessor :restricted_values
|
5440
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
|
+
|
5441
5533
|
def initialize(**args)
|
5442
5534
|
update!(**args)
|
5443
5535
|
end
|
@@ -5452,6 +5544,7 @@ module Google
|
|
5452
5544
|
@prefixes = args[:prefixes] if args.key?(:prefixes)
|
5453
5545
|
@query = args[:query] if args.key?(:query)
|
5454
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)
|
5455
5548
|
end
|
5456
5549
|
end
|
5457
5550
|
|
@@ -5654,6 +5747,18 @@ module Google
|
|
5654
5747
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval]
|
5655
5748
|
attr_accessor :interval
|
5656
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
|
+
|
5657
5762
|
# Text value of a facet, such as "Black" for facet "colorFamilies".
|
5658
5763
|
# Corresponds to the JSON property `value`
|
5659
5764
|
# @return [String]
|
@@ -5667,6 +5772,8 @@ module Google
|
|
5667
5772
|
def update!(**args)
|
5668
5773
|
@count = args[:count] if args.key?(:count)
|
5669
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)
|
5670
5777
|
@value = args[:value] if args.key?(:value)
|
5671
5778
|
end
|
5672
5779
|
end
|
@@ -5722,6 +5829,15 @@ module Google
|
|
5722
5829
|
# @return [Hash<String,String>]
|
5723
5830
|
attr_accessor :matching_variant_fields
|
5724
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
|
+
|
5725
5841
|
# Product captures all metadata information of items to be recommended or
|
5726
5842
|
# searched.
|
5727
5843
|
# Corresponds to the JSON property `product`
|
@@ -5754,6 +5870,7 @@ module Google
|
|
5754
5870
|
@id = args[:id] if args.key?(:id)
|
5755
5871
|
@matching_variant_count = args[:matching_variant_count] if args.key?(:matching_variant_count)
|
5756
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)
|
5757
5874
|
@product = args[:product] if args.key?(:product)
|
5758
5875
|
@variant_rollup_values = args[:variant_rollup_values] if args.key?(:variant_rollup_values)
|
5759
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.50.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 = "20220729"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -382,6 +382,12 @@ module Google
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
383
383
|
end
|
384
384
|
|
385
|
+
class GoogleCloudRetailV2alphaTransformedUserEventsMetadata
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
385
391
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
393
|
|
@@ -460,6 +466,18 @@ module Google
|
|
460
466
|
include Google::Apis::Core::JsonObjectSupport
|
461
467
|
end
|
462
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
|
+
|
463
481
|
class GoogleCloudRetailV2betaBigQueryOutputResult
|
464
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
483
|
|
@@ -1415,6 +1433,8 @@ module Google
|
|
1415
1433
|
property :notification_pubsub_topic, as: 'notificationPubsubTopic'
|
1416
1434
|
property :request_id, as: 'requestId'
|
1417
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
|
+
|
1418
1438
|
property :update_time, as: 'updateTime'
|
1419
1439
|
end
|
1420
1440
|
end
|
@@ -1587,6 +1607,14 @@ module Google
|
|
1587
1607
|
end
|
1588
1608
|
end
|
1589
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
|
+
|
1590
1618
|
class GoogleCloudRetailV2alphaTuneModelMetadata
|
1591
1619
|
# @private
|
1592
1620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1686,6 +1714,21 @@ module Google
|
|
1686
1714
|
end
|
1687
1715
|
end
|
1688
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
|
+
|
1689
1732
|
class GoogleCloudRetailV2betaBigQueryOutputResult
|
1690
1733
|
# @private
|
1691
1734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1723,6 +1766,7 @@ module Google
|
|
1723
1766
|
# @private
|
1724
1767
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1725
1768
|
property :dynamic_facetable_option, as: 'dynamicFacetableOption'
|
1769
|
+
property :exact_searchable_option, as: 'exactSearchableOption'
|
1726
1770
|
property :in_use, as: 'inUse'
|
1727
1771
|
property :indexable_option, as: 'indexableOption'
|
1728
1772
|
property :key, as: 'key'
|
@@ -2537,6 +2581,7 @@ module Google
|
|
2537
2581
|
collection :prefixes, as: 'prefixes'
|
2538
2582
|
property :query, as: 'query'
|
2539
2583
|
collection :restricted_values, as: 'restrictedValues'
|
2584
|
+
property :return_min_max, as: 'returnMinMax'
|
2540
2585
|
end
|
2541
2586
|
end
|
2542
2587
|
|
@@ -2598,6 +2643,8 @@ module Google
|
|
2598
2643
|
property :count, :numeric_string => true, as: 'count'
|
2599
2644
|
property :interval, as: 'interval', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval::Representation
|
2600
2645
|
|
2646
|
+
property :max_value, as: 'maxValue'
|
2647
|
+
property :min_value, as: 'minValue'
|
2601
2648
|
property :value, as: 'value'
|
2602
2649
|
end
|
2603
2650
|
end
|
@@ -2616,6 +2663,7 @@ module Google
|
|
2616
2663
|
property :id, as: 'id'
|
2617
2664
|
property :matching_variant_count, as: 'matchingVariantCount'
|
2618
2665
|
hash :matching_variant_fields, as: 'matchingVariantFields'
|
2666
|
+
collection :personal_labels, as: 'personalLabels'
|
2619
2667
|
property :product, as: 'product', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct::Representation
|
2620
2668
|
|
2621
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.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-08 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.50.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: []
|