google-apis-retail_v2alpha 0.92.0 → 0.93.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: f72c46d59fc5a2b4da11c33098fe456bd7f5214e0315f2ef29105ddc31c8449e
|
4
|
+
data.tar.gz: 18137f2cf36548d29ae2c71ec651e584667f02b1cf3ecc0d3c961bd6241a10fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8856b56ce308c11d4221d832ee67a1840407b22693644264f87f3819acee37fa0c4c66793b2e174c30b9b85e4b006ae28f43c2c510b1fbd52ffa4ecc8ce4cef
|
7
|
+
data.tar.gz: c12299eca858a1f485f96fe88289e75a362a66008d30def649a542f48e9b5c2c03931fe6a8826d77ff0ec34db48bb8f9030421e817ead84128281ef6182473e0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.93.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240129
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.92.0 (2024-01-22)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240118
|
@@ -1626,6 +1626,14 @@ module Google
|
|
1626
1626
|
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues>]
|
1627
1627
|
attr_accessor :ignored_facet_values
|
1628
1628
|
|
1629
|
+
# The current facet key (i.e. attribute config) maps into the merged_facet_key.
|
1630
|
+
# A facet key can have at most one child. The current facet key and the merged
|
1631
|
+
# facet key need both to be textual custom attributes or both numerical custom
|
1632
|
+
# attributes (same type).
|
1633
|
+
# Corresponds to the JSON property `mergedFacet`
|
1634
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet]
|
1635
|
+
attr_accessor :merged_facet
|
1636
|
+
|
1629
1637
|
# Each instance replaces a list of facet values by a merged facet value. If a
|
1630
1638
|
# facet value is not in any list, then it will stay the same. To avoid conflicts,
|
1631
1639
|
# only paths of length 1 are accepted. In other words, if "dark_blue" merged
|
@@ -1657,6 +1665,7 @@ module Google
|
|
1657
1665
|
def update!(**args)
|
1658
1666
|
@facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
|
1659
1667
|
@ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
|
1668
|
+
@merged_facet = args[:merged_facet] if args.key?(:merged_facet)
|
1660
1669
|
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
1661
1670
|
@rerank_config = args[:rerank_config] if args.key?(:rerank_config)
|
1662
1671
|
end
|
@@ -1701,6 +1710,41 @@ module Google
|
|
1701
1710
|
end
|
1702
1711
|
end
|
1703
1712
|
|
1713
|
+
# The current facet key (i.e. attribute config) maps into the merged_facet_key.
|
1714
|
+
# A facet key can have at most one child. The current facet key and the merged
|
1715
|
+
# facet key need both to be textual custom attributes or both numerical custom
|
1716
|
+
# attributes (same type).
|
1717
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet
|
1718
|
+
include Google::Apis::Core::Hashable
|
1719
|
+
|
1720
|
+
# The merged facet key should be a valid facet key that is different than the
|
1721
|
+
# facet key of the current catalog attribute. We refer this is merged facet key
|
1722
|
+
# as the child of the current catalog attribute. This merged facet key can't be
|
1723
|
+
# a parent of another facet key (i.e. no directed path of length 2). This merged
|
1724
|
+
# facet key needs to be either a textual custom attribute or a numerical custom
|
1725
|
+
# attribute.
|
1726
|
+
# Corresponds to the JSON property `mergedFacetKey`
|
1727
|
+
# @return [String]
|
1728
|
+
attr_accessor :merged_facet_key
|
1729
|
+
|
1730
|
+
# Each instance is a list of facet values that map into the same (possibly
|
1731
|
+
# different) merged facet value. For the current attribute config, each facet
|
1732
|
+
# value should map to at most one merged facet value.
|
1733
|
+
# Corresponds to the JSON property `mergedFacetValues`
|
1734
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue>]
|
1735
|
+
attr_accessor :merged_facet_values
|
1736
|
+
|
1737
|
+
def initialize(**args)
|
1738
|
+
update!(**args)
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# Update properties of this object
|
1742
|
+
def update!(**args)
|
1743
|
+
@merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
|
1744
|
+
@merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
|
1745
|
+
end
|
1746
|
+
end
|
1747
|
+
|
1704
1748
|
# Replaces a set of textual facet values by the same (possibly different) merged
|
1705
1749
|
# facet value. Each facet value should appear at most once as a value per
|
1706
1750
|
# CatalogAttribute. This feature is available only for textual custom attributes.
|
@@ -2993,7 +3037,8 @@ module Google
|
|
2993
3037
|
alias_method :skip_default_branch_protection?, :skip_default_branch_protection
|
2994
3038
|
|
2995
3039
|
# Indicates which fields in the provided imported `products` to update. If not
|
2996
|
-
# set, all fields are updated.
|
3040
|
+
# set, all fields are updated. If provided, only the existing product fields are
|
3041
|
+
# updated. Missing products will not be created.
|
2997
3042
|
# Corresponds to the JSON property `updateMask`
|
2998
3043
|
# @return [String]
|
2999
3044
|
attr_accessor :update_mask
|
@@ -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.93.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,12 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
355
361
|
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
363
|
|
@@ -1931,6 +1937,8 @@ module Google
|
|
1931
1937
|
|
1932
1938
|
collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
|
1933
1939
|
|
1940
|
+
property :merged_facet, as: 'mergedFacet', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet::Representation
|
1941
|
+
|
1934
1942
|
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
|
1935
1943
|
|
1936
1944
|
property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig::Representation
|
@@ -1947,6 +1955,15 @@ module Google
|
|
1947
1955
|
end
|
1948
1956
|
end
|
1949
1957
|
|
1958
|
+
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet
|
1959
|
+
# @private
|
1960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1961
|
+
property :merged_facet_key, as: 'mergedFacetKey'
|
1962
|
+
collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
|
1963
|
+
|
1964
|
+
end
|
1965
|
+
end
|
1966
|
+
|
1950
1967
|
class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
|
1951
1968
|
# @private
|
1952
1969
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.93.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: 2024-
|
11
|
+
date: 2024-02-04 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.93.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: []
|