google-apis-retail_v2beta 0.89.0 → 0.90.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: 42180bdb12b8db55ddd6a7b1448d9f9e85262bf60efea9db77fb7bfc116453f1
4
- data.tar.gz: 1c6ed7f9a3ad401dea2beca1e389e828bb7b2b24722cc2e192516e985e59b37d
3
+ metadata.gz: 4727b4e317bee8270f99d6328a70540bba14e1a52ecfb91bc5c0abe878af3fa6
4
+ data.tar.gz: 8f1e76be367781c595c9a81fc85e4e958d48ccf0a8858f0b8bd663464c310953
5
5
  SHA512:
6
- metadata.gz: ea9722b184c76ec2ce747acad0249a7ec9681f90716e7c3e0635b7ada9eda8646186e0bf2a404266dbeecce18ff1cabc65b7602aa83beddfb04bd4f4611445f2
7
- data.tar.gz: bf81c2f5c6083069c34413297befb0fd97c57e0a4184cc142855b03154462fcefdb99d01f22eed2be6e9223a96604db886d45c5ed8560eb765f8c1d5958fef69
6
+ metadata.gz: 35c0bf672a44a6ffb23a3d912152e7f7cc2a31f88d879316fbdfd3dba00bc988f71008a31147a32f8b2db2263d31b45bcd52ffa27c7ca606244e22ed1ca6af1e
7
+ data.tar.gz: 01bf16ff49f36a81dccc8c18708e5b19b6a2168ec64164d66359f3d6887a102a1c9fd58fc2fd56165aa95f87d2f6c27e3675e2f72b8133420368ac3c36b7d1e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.90.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240129
6
+ * Regenerated using generator version 0.13.1
7
+
3
8
  ### v0.89.0 (2024-01-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240118
@@ -2881,6 +2881,14 @@ module Google
2881
2881
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues>]
2882
2882
  attr_accessor :ignored_facet_values
2883
2883
 
2884
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
2885
+ # A facet key can have at most one child. The current facet key and the merged
2886
+ # facet key need both to be textual custom attributes or both numerical custom
2887
+ # attributes (same type).
2888
+ # Corresponds to the JSON property `mergedFacet`
2889
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet]
2890
+ attr_accessor :merged_facet
2891
+
2884
2892
  # Each instance replaces a list of facet values by a merged facet value. If a
2885
2893
  # facet value is not in any list, then it will stay the same. To avoid conflicts,
2886
2894
  # only paths of length 1 are accepted. In other words, if "dark_blue" merged
@@ -2912,6 +2920,7 @@ module Google
2912
2920
  def update!(**args)
2913
2921
  @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
2914
2922
  @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
2923
+ @merged_facet = args[:merged_facet] if args.key?(:merged_facet)
2915
2924
  @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
2916
2925
  @rerank_config = args[:rerank_config] if args.key?(:rerank_config)
2917
2926
  end
@@ -2956,6 +2965,41 @@ module Google
2956
2965
  end
2957
2966
  end
2958
2967
 
2968
+ # The current facet key (i.e. attribute config) maps into the merged_facet_key.
2969
+ # A facet key can have at most one child. The current facet key and the merged
2970
+ # facet key need both to be textual custom attributes or both numerical custom
2971
+ # attributes (same type).
2972
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet
2973
+ include Google::Apis::Core::Hashable
2974
+
2975
+ # The merged facet key should be a valid facet key that is different than the
2976
+ # facet key of the current catalog attribute. We refer this is merged facet key
2977
+ # as the child of the current catalog attribute. This merged facet key can't be
2978
+ # a parent of another facet key (i.e. no directed path of length 2). This merged
2979
+ # facet key needs to be either a textual custom attribute or a numerical custom
2980
+ # attribute.
2981
+ # Corresponds to the JSON property `mergedFacetKey`
2982
+ # @return [String]
2983
+ attr_accessor :merged_facet_key
2984
+
2985
+ # Each instance is a list of facet values that map into the same (possibly
2986
+ # different) merged facet value. For the current attribute config, each facet
2987
+ # value should map to at most one merged facet value.
2988
+ # Corresponds to the JSON property `mergedFacetValues`
2989
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue>]
2990
+ attr_accessor :merged_facet_values
2991
+
2992
+ def initialize(**args)
2993
+ update!(**args)
2994
+ end
2995
+
2996
+ # Update properties of this object
2997
+ def update!(**args)
2998
+ @merged_facet_key = args[:merged_facet_key] if args.key?(:merged_facet_key)
2999
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
3000
+ end
3001
+ end
3002
+
2959
3003
  # Replaces a set of textual facet values by the same (possibly different) merged
2960
3004
  # facet value. Each facet value should appear at most once as a value per
2961
3005
  # CatalogAttribute. This feature is available only for textual custom attributes.
@@ -4138,7 +4182,8 @@ module Google
4138
4182
  attr_accessor :request_id
4139
4183
 
4140
4184
  # Indicates which fields in the provided imported `products` to update. If not
4141
- # set, all fields are updated.
4185
+ # set, all fields are updated. If provided, only the existing product fields are
4186
+ # updated. Missing products will not be created.
4142
4187
  # Corresponds to the JSON property `updateMask`
4143
4188
  # @return [String]
4144
4189
  attr_accessor :update_mask
@@ -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.89.0"
19
+ GEM_VERSION = "0.90.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
@@ -622,6 +622,12 @@ module Google
622
622
  include Google::Apis::Core::JsonObjectSupport
623
623
  end
624
624
 
625
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
625
631
  class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
626
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
633
 
@@ -2259,6 +2265,8 @@ module Google
2259
2265
 
2260
2266
  collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
2261
2267
 
2268
+ property :merged_facet, as: 'mergedFacet', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet::Representation
2269
+
2262
2270
  collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue::Representation
2263
2271
 
2264
2272
  property :rerank_config, as: 'rerankConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigRerankConfig::Representation
@@ -2275,6 +2283,15 @@ module Google
2275
2283
  end
2276
2284
  end
2277
2285
 
2286
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacet
2287
+ # @private
2288
+ class Representation < Google::Apis::Core::JsonRepresentation
2289
+ property :merged_facet_key, as: 'mergedFacetKey'
2290
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue::Representation
2291
+
2292
+ end
2293
+ end
2294
+
2278
2295
  class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
2279
2296
  # @private
2280
2297
  class Representation < Google::Apis::Core::JsonRepresentation
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.89.0
4
+ version: 0.90.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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.89.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.90.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: []