google-apis-retail_v2 0.87.0 → 0.88.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: f955a2116199d0020d8d7fa1a31d9f3a9530a3345077b13a1a14512d564d8ef2
4
- data.tar.gz: 0b47e9ce274392ad9339ef2ed95b69f1508bd756a1bdfae2f9f85ae821771f0d
3
+ metadata.gz: 54582d1dd8e8e04af512667e123c5a7df6631974c494529d5542f36cfab3045d
4
+ data.tar.gz: be0c929e09d1ea3dfd09e732325b0425944fe263fff97833e9a24071c39663bc
5
5
  SHA512:
6
- metadata.gz: 47cf0ae95d3738f20a7050d5bef1598aec06e598de1d30d03363bfb0077ba2dffb40a3086b8609accedb3fadecc9f5f147410e9da3751a1884ebf9bd6a506cb4
7
- data.tar.gz: e61cee1be25b125ee7060b440555490bddf9cd03bbc22197c0bda4dfc74ec0cdb2dc34ecaded290d8fd5102477f3cc43dce1067b8b63b44dd6a4a98ae32c0fd1
6
+ metadata.gz: a6f128948a79c7b84aaa1c4bd46c23e7da46a53c2873aedbb47ecf3de12d1760a42349b6eea77a979f9e23ec5942428067a66a0d711406ab63626a401c1514f8
7
+ data.tar.gz: df5a674f409a6708444a8f2a01dc5c274545c7d7110a39f3ec2ef84cd6612968d463d4fdca76646941db32a2e7756ba1a264c3608c4365ad1f9b7ce2f2db2163
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.88.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240129
6
+ * Regenerated using generator version 0.13.1
7
+
3
8
  ### v0.87.0 (2024-01-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240118
@@ -795,6 +795,14 @@ module Google
795
795
  # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues>]
796
796
  attr_accessor :ignored_facet_values
797
797
 
798
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
799
+ # A facet key can have at most one child. The current facet key and the merged
800
+ # facet key need both to be textual custom attributes or both numerical custom
801
+ # attributes (same type).
802
+ # Corresponds to the JSON property `mergedFacet`
803
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet]
804
+ attr_accessor :merged_facet
805
+
798
806
  # Each instance replaces a list of facet values by a merged facet value. If a
799
807
  # facet value is not in any list, then it will stay the same. To avoid conflicts,
800
808
  # only paths of length 1 are accepted. In other words, if "dark_blue" merged
@@ -826,6 +834,7 @@ module Google
826
834
  def update!(**args)
827
835
  @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
828
836
  @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
837
+ @merged_facet = args[:merged_facet] if args.key?(:merged_facet)
829
838
  @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
830
839
  @rerank_config = args[:rerank_config] if args.key?(:rerank_config)
831
840
  end
@@ -870,6 +879,41 @@ module Google
870
879
  end
871
880
  end
872
881
 
882
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
883
+ # A facet key can have at most one child. The current facet key and the merged
884
+ # facet key need both to be textual custom attributes or both numerical custom
885
+ # attributes (same type).
886
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
887
+ include Google::Apis::Core::Hashable
888
+
889
+ # The merged facet key should be a valid facet key that is different than the
890
+ # facet key of the current catalog attribute. We refer this is merged facet key
891
+ # as the child of the current catalog attribute. This merged facet key can't be
892
+ # a parent of another facet key (i.e. no directed path of length 2). This merged
893
+ # facet key needs to be either a textual custom attribute or a numerical custom
894
+ # attribute.
895
+ # Corresponds to the JSON property `mergedFacetKey`
896
+ # @return [String]
897
+ attr_accessor :merged_facet_key
898
+
899
+ # Each instance is a list of facet values that map into the same (possibly
900
+ # different) merged facet value. For the current attribute config, each facet
901
+ # value should map to at most one merged facet value.
902
+ # Corresponds to the JSON property `mergedFacetValues`
903
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue>]
904
+ attr_accessor :merged_facet_values
905
+
906
+ def initialize(**args)
907
+ update!(**args)
908
+ end
909
+
910
+ # Update properties of this object
911
+ def update!(**args)
912
+ @merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
913
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
914
+ end
915
+ end
916
+
873
917
  # Replaces a set of textual facet values by the same (possibly different) merged
874
918
  # facet value. Each facet value should appear at most once as a value per
875
919
  # CatalogAttribute. This feature is available only for textual custom attributes.
@@ -1818,7 +1862,8 @@ module Google
1818
1862
  attr_accessor :request_id
1819
1863
 
1820
1864
  # Indicates which fields in the provided imported `products` to update. If not
1821
- # set, all fields are updated.
1865
+ # set, all fields are updated. If provided, only the existing product fields are
1866
+ # updated. Missing products will not be created.
1822
1867
  # Corresponds to the JSON property `updateMask`
1823
1868
  # @return [String]
1824
1869
  attr_accessor :update_mask
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.87.0"
19
+ GEM_VERSION = "0.88.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240129"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -1565,6 +1571,8 @@ module Google
1565
1571
 
1566
1572
  collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues::Representation
1567
1573
 
1574
+ property :merged_facet, as: 'mergedFacet', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet::Representation
1575
+
1568
1576
  collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::Representation
1569
1577
 
1570
1578
  property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig::Representation
@@ -1581,6 +1589,15 @@ module Google
1581
1589
  end
1582
1590
  end
1583
1591
 
1592
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
1593
+ # @private
1594
+ class Representation < Google::Apis::Core::JsonRepresentation
1595
+ property :merged_facet_key, as: 'mergedFacetKey'
1596
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::Representation
1597
+
1598
+ end
1599
+ end
1600
+
1584
1601
  class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
1585
1602
  # @private
1586
1603
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.87.0
4
+ version: 0.88.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-01-23 00:00:00.000000000 Z
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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.87.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.88.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []