google-apis-retail_v2beta 0.82.0 → 0.84.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: 77810352176909036029faadf58d98ec052155dba426265d0abba4cb818279ad
4
- data.tar.gz: b93c77623d74b129bb66695d371d965ac6bde0dc5c50944c17e48efca6741c1c
3
+ metadata.gz: 99144af4c107cdbe3b9d642fa4c53f197670eb876eae2b9f06c93a8c509efdf4
4
+ data.tar.gz: 3e6faef2fd592608723679cfd55793c03874c286655c89f65356c06574912540
5
5
  SHA512:
6
- metadata.gz: cd259c37d9a8fed80dc0b35a5da086e7aaf43ac9be8948c17396a9f28fe4a72ac17e6bc2e9db758d9339597f07a31549fb1598ac66f88245e56d2f1f0e622cb1
7
- data.tar.gz: a0d07eeac7e73b0dc415ba30963e0bde27e7e796611ec16d6c181f60dc03e16ff114b292db3b3736595f6108087bdbf72800c936eb8de6e70381ba9d360293cc
6
+ metadata.gz: 4b51227c248d4c3f72a6ce02dc740b429b8f992d33458517bec36c4b45087bad888d4fbc75eb31589d1ccabd8b656689284f3dc2ed65d0c36c056715cf3bb39f
7
+ data.tar.gz: f651a4c6a4c9d30f38dba572626fac42e90264495942987c4a0229bf3d4745112cf3a3aa7ddd50b990487cec056444d693ddcf7c6850b835112342386a63557c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.84.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
7
+ ### v0.83.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230805
10
+
3
11
  ### v0.82.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230720
@@ -2731,6 +2731,12 @@ module Google
2731
2731
  # @return [String]
2732
2732
  attr_accessor :exact_searchable_option
2733
2733
 
2734
+ # Possible options for the facet that corresponds to the current attribute
2735
+ # config.
2736
+ # Corresponds to the JSON property `facetConfig`
2737
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfig]
2738
+ attr_accessor :facet_config
2739
+
2734
2740
  # Output only. Indicates whether this attribute has been used by any products. `
2735
2741
  # True` if at least one Product is using this attribute in Product.attributes.
2736
2742
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -2806,6 +2812,7 @@ module Google
2806
2812
  def update!(**args)
2807
2813
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
2808
2814
  @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
2815
+ @facet_config = args[:facet_config] if args.key?(:facet_config)
2809
2816
  @in_use = args[:in_use] if args.key?(:in_use)
2810
2817
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
2811
2818
  @key = args[:key] if args.key?(:key)
@@ -2816,6 +2823,121 @@ module Google
2816
2823
  end
2817
2824
  end
2818
2825
 
2826
+ # Possible options for the facet that corresponds to the current attribute
2827
+ # config.
2828
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfig
2829
+ include Google::Apis::Core::Hashable
2830
+
2831
+ # If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the
2832
+ # request to a numerical attribute, then we use the computed intervals with
2833
+ # rounded bounds obtained from all its product numerical attribute values. The
2834
+ # computed intervals might not be ideal for some attributes. Therefore, we give
2835
+ # you the option to overwrite them with the facet_intervals field. The maximum
2836
+ # of facet intervals per CatalogAttribute is 40. Each interval must have a lower
2837
+ # bound or an upper bound. If both bounds are provided, then the lower bound
2838
+ # must be smaller or equal than the upper bound.
2839
+ # Corresponds to the JSON property `facetIntervals`
2840
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval>]
2841
+ attr_accessor :facet_intervals
2842
+
2843
+ # Each instance represents a list of attribute values to ignore as facet values
2844
+ # for a specific time range. The maximum number of instances per
2845
+ # CatalogAttribute is 25.
2846
+ # Corresponds to the JSON property `ignoredFacetValues`
2847
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues>]
2848
+ attr_accessor :ignored_facet_values
2849
+
2850
+ # Each instance replaces a list of facet values by a merged facet value. If a
2851
+ # facet value is not in any list, then it will stay the same. To avoid conflicts,
2852
+ # only paths of length 1 are accepted. In other words, if "dark_blue" merged
2853
+ # into "BLUE", then the latter can't merge into "blues" because this would
2854
+ # create a path of length 2. The maximum number of instances of MergedFacetValue
2855
+ # per CatalogAttribute is 100.
2856
+ # Corresponds to the JSON property `mergedFacetValues`
2857
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue>]
2858
+ attr_accessor :merged_facet_values
2859
+
2860
+ def initialize(**args)
2861
+ update!(**args)
2862
+ end
2863
+
2864
+ # Update properties of this object
2865
+ def update!(**args)
2866
+ @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
2867
+ @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
2868
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
2869
+ end
2870
+ end
2871
+
2872
+ # Facet values to ignore on facets during the specified time range for the given
2873
+ # SearchResponse.Facet.key attribute.
2874
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues
2875
+ include Google::Apis::Core::Hashable
2876
+
2877
+ # If start time is empty and end time is not empty, then ignore these facet
2878
+ # values before end time.
2879
+ # Corresponds to the JSON property `endTime`
2880
+ # @return [String]
2881
+ attr_accessor :end_time
2882
+
2883
+ # Time range for the current list of facet values to ignore. If multiple time
2884
+ # ranges are specified for an facet value for the current attribute, consider
2885
+ # all of them. If both are empty, ignore always. If start time and end time are
2886
+ # set, then start time must be before end time. If start time is not empty and
2887
+ # end time is empty, then will ignore these facet values after the start time.
2888
+ # Corresponds to the JSON property `startTime`
2889
+ # @return [String]
2890
+ attr_accessor :start_time
2891
+
2892
+ # List of facet values to ignore for the following time range. The facet values
2893
+ # are the same as the attribute values. There is a limit of 10 values per
2894
+ # instance of IgnoredFacetValues. Each value can have at most 60 characters.
2895
+ # Corresponds to the JSON property `values`
2896
+ # @return [Array<String>]
2897
+ attr_accessor :values
2898
+
2899
+ def initialize(**args)
2900
+ update!(**args)
2901
+ end
2902
+
2903
+ # Update properties of this object
2904
+ def update!(**args)
2905
+ @end_time = args[:end_time] if args.key?(:end_time)
2906
+ @start_time = args[:start_time] if args.key?(:start_time)
2907
+ @values = args[:values] if args.key?(:values)
2908
+ end
2909
+ end
2910
+
2911
+ # Replaces a set of facet values by the same (possibly different) merged facet
2912
+ # value. Each facet value should appear at most once as a value per
2913
+ # CatalogAttribute.
2914
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
2915
+ include Google::Apis::Core::Hashable
2916
+
2917
+ # All the previous values are replaced by this merged facet value. This
2918
+ # merged_value must be non-empty and can have up to 60 characters.
2919
+ # Corresponds to the JSON property `mergedValue`
2920
+ # @return [String]
2921
+ attr_accessor :merged_value
2922
+
2923
+ # All the facet values that are replaces by the same merged_value that follows.
2924
+ # The maximum number of values per MergedFacetValue is 25. Each value can have
2925
+ # up to 60 characters.
2926
+ # Corresponds to the JSON property `values`
2927
+ # @return [Array<String>]
2928
+ attr_accessor :values
2929
+
2930
+ def initialize(**args)
2931
+ update!(**args)
2932
+ end
2933
+
2934
+ # Update properties of this object
2935
+ def update!(**args)
2936
+ @merged_value = args[:merged_value] if args.key?(:merged_value)
2937
+ @values = args[:values] if args.key?(:values)
2938
+ end
2939
+ end
2940
+
2819
2941
  # The color information of a Product.
2820
2942
  class GoogleCloudRetailV2betaColorInfo
2821
2943
  include Google::Apis::Core::Hashable
@@ -3111,6 +3233,12 @@ module Google
3111
3233
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange>]
3112
3234
  attr_accessor :active_time_range
3113
3235
 
3236
+ # Used to support browse uses cases. A list (up to 10 entries) of categories or
3237
+ # departments. The format should be the same as UserEvent.page_categories;
3238
+ # Corresponds to the JSON property `pageCategories`
3239
+ # @return [Array<String>]
3240
+ attr_accessor :page_categories
3241
+
3114
3242
  # A list (up to 10 entries) of terms to match the query on. If not specified,
3115
3243
  # match all queries. If many query terms are specified, the condition is matched
3116
3244
  # if any of the terms is a match (i.e. using the OR operator).
@@ -3125,6 +3253,7 @@ module Google
3125
3253
  # Update properties of this object
3126
3254
  def update!(**args)
3127
3255
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
3256
+ @page_categories = args[:page_categories] if args.key?(:page_categories)
3128
3257
  @query_terms = args[:query_terms] if args.key?(:query_terms)
3129
3258
  end
3130
3259
  end
@@ -6073,6 +6202,22 @@ module Google
6073
6202
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction]
6074
6203
  attr_accessor :filter_action
6075
6204
 
6205
+ # Force returns an attribute/facet in the request around a certain position or
6206
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
6207
+ # search only) or Condition.page_categories (for browse only), but can't specify
6208
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
6209
+ # return a facet key around a certain position or above if the condition is
6210
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
6211
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
6212
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
6213
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
6214
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
6215
+ # among the top 8 positions in the request, then it will stay at its current
6216
+ # rank.
6217
+ # Corresponds to the JSON property `forceReturnFacetAction`
6218
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleForceReturnFacetAction]
6219
+ attr_accessor :force_return_facet_action
6220
+
6076
6221
  # Prevents a term in the query from being used in search. Example: Don't search
6077
6222
  # for "shoddy".
6078
6223
  # Corresponds to the JSON property `ignoreAction`
@@ -6094,6 +6239,17 @@ module Google
6094
6239
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction]
6095
6240
  attr_accessor :redirect_action
6096
6241
 
6242
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
6243
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
6244
+ # page_categories (for browse only), but can't specify both. * Action Input:
6245
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
6246
+ # the request if it is present. Example: Suppose the query is "shoes", the
6247
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
6248
+ # "size" will be removed from the request (if it is present).
6249
+ # Corresponds to the JSON property `removeFacetAction`
6250
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRemoveFacetAction]
6251
+ attr_accessor :remove_facet_action
6252
+
6097
6253
  # Replaces a term in the query. Multiple replacement candidates can be specified.
6098
6254
  # All `query_terms` will be replaced with the replacement term. Example:
6099
6255
  # Replace "gShoe" with "google shoe".
@@ -6118,9 +6274,11 @@ module Google
6118
6274
  @condition = args[:condition] if args.key?(:condition)
6119
6275
  @do_not_associate_action = args[:do_not_associate_action] if args.key?(:do_not_associate_action)
6120
6276
  @filter_action = args[:filter_action] if args.key?(:filter_action)
6277
+ @force_return_facet_action = args[:force_return_facet_action] if args.key?(:force_return_facet_action)
6121
6278
  @ignore_action = args[:ignore_action] if args.key?(:ignore_action)
6122
6279
  @oneway_synonyms_action = args[:oneway_synonyms_action] if args.key?(:oneway_synonyms_action)
6123
6280
  @redirect_action = args[:redirect_action] if args.key?(:redirect_action)
6281
+ @remove_facet_action = args[:remove_facet_action] if args.key?(:remove_facet_action)
6124
6282
  @replacement_action = args[:replacement_action] if args.key?(:replacement_action)
6125
6283
  @twoway_synonyms_action = args[:twoway_synonyms_action] if args.key?(:twoway_synonyms_action)
6126
6284
  end
@@ -6229,6 +6387,65 @@ module Google
6229
6387
  end
6230
6388
  end
6231
6389
 
6390
+ # Force returns an attribute/facet in the request around a certain position or
6391
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
6392
+ # search only) or Condition.page_categories (for browse only), but can't specify
6393
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
6394
+ # return a facet key around a certain position or above if the condition is
6395
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
6396
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
6397
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
6398
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
6399
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
6400
+ # among the top 8 positions in the request, then it will stay at its current
6401
+ # rank.
6402
+ class GoogleCloudRetailV2betaRuleForceReturnFacetAction
6403
+ include Google::Apis::Core::Hashable
6404
+
6405
+ # Each instance corresponds to a force return attribute for the given condition.
6406
+ # There can't be more 3 instances here.
6407
+ # Corresponds to the JSON property `facetPositionAdjustments`
6408
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment>]
6409
+ attr_accessor :facet_position_adjustments
6410
+
6411
+ def initialize(**args)
6412
+ update!(**args)
6413
+ end
6414
+
6415
+ # Update properties of this object
6416
+ def update!(**args)
6417
+ @facet_position_adjustments = args[:facet_position_adjustments] if args.key?(:facet_position_adjustments)
6418
+ end
6419
+ end
6420
+
6421
+ # Each facet position adjustment consists of a single attribute name (i.e. facet
6422
+ # key) along with a specified position.
6423
+ class GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment
6424
+ include Google::Apis::Core::Hashable
6425
+
6426
+ # The attribute name to force return as a facet. Each attribute name should be a
6427
+ # valid attribute name, be non-empty and contain at most 80 characters long.
6428
+ # Corresponds to the JSON property `attributeName`
6429
+ # @return [String]
6430
+ attr_accessor :attribute_name
6431
+
6432
+ # This is the position in the request as explained above. It should be strictly
6433
+ # positive be at most 100.
6434
+ # Corresponds to the JSON property `position`
6435
+ # @return [Fixnum]
6436
+ attr_accessor :position
6437
+
6438
+ def initialize(**args)
6439
+ update!(**args)
6440
+ end
6441
+
6442
+ # Update properties of this object
6443
+ def update!(**args)
6444
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
6445
+ @position = args[:position] if args.key?(:position)
6446
+ end
6447
+ end
6448
+
6232
6449
  # Prevents a term in the query from being used in search. Example: Don't search
6233
6450
  # for "shoddy".
6234
6451
  class GoogleCloudRetailV2betaRuleIgnoreAction
@@ -6306,6 +6523,34 @@ module Google
6306
6523
  end
6307
6524
  end
6308
6525
 
6526
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
6527
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
6528
+ # page_categories (for browse only), but can't specify both. * Action Input:
6529
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
6530
+ # the request if it is present. Example: Suppose the query is "shoes", the
6531
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
6532
+ # "size" will be removed from the request (if it is present).
6533
+ class GoogleCloudRetailV2betaRuleRemoveFacetAction
6534
+ include Google::Apis::Core::Hashable
6535
+
6536
+ # The attribute names (i.e. facet keys) to remove from the dynamic facets (if
6537
+ # present in the request). There can't be more 3 attribute names. Each attribute
6538
+ # name should be a valid attribute name, be non-empty and contain at most 80
6539
+ # characters.
6540
+ # Corresponds to the JSON property `attributeNames`
6541
+ # @return [Array<String>]
6542
+ attr_accessor :attribute_names
6543
+
6544
+ def initialize(**args)
6545
+ update!(**args)
6546
+ end
6547
+
6548
+ # Update properties of this object
6549
+ def update!(**args)
6550
+ @attribute_names = args[:attribute_names] if args.key?(:attribute_names)
6551
+ end
6552
+ end
6553
+
6309
6554
  # Replaces a term in the query. Multiple replacement candidates can be specified.
6310
6555
  # All `query_terms` will be replaced with the replacement term. Example:
6311
6556
  # Replace "gShoe" with "google shoe".
@@ -7977,13 +8222,13 @@ module Google
7977
8222
  # @return [String]
7978
8223
  attr_accessor :name
7979
8224
 
7980
- # The normal response of the operation in case of success. If the original
7981
- # method returns no data on success, such as `Delete`, the response is `google.
7982
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
7983
- # the response should be the resource. For other methods, the response should
7984
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
7985
- # example, if the original method name is `TakeSnapshot()`, the inferred
7986
- # response type is `TakeSnapshotResponse`.
8225
+ # The normal, successful response of the operation. If the original method
8226
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
8227
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
8228
+ # response should be the resource. For other methods, the response should have
8229
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
8230
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
8231
+ # `TakeSnapshotResponse`.
7987
8232
  # Corresponds to the JSON property `response`
7988
8233
  # @return [Hash<String,Object>]
7989
8234
  attr_accessor :response
@@ -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.82.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230720"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -604,6 +604,24 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfig
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
607
625
  class GoogleCloudRetailV2betaColorInfo
608
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
627
 
@@ -1126,6 +1144,18 @@ module Google
1126
1144
  include Google::Apis::Core::JsonObjectSupport
1127
1145
  end
1128
1146
 
1147
+ class GoogleCloudRetailV2betaRuleForceReturnFacetAction
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1153
+ class GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1129
1159
  class GoogleCloudRetailV2betaRuleIgnoreAction
1130
1160
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1161
 
@@ -1144,6 +1174,12 @@ module Google
1144
1174
  include Google::Apis::Core::JsonObjectSupport
1145
1175
  end
1146
1176
 
1177
+ class GoogleCloudRetailV2betaRuleRemoveFacetAction
1178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1147
1183
  class GoogleCloudRetailV2betaRuleReplacementAction
1148
1184
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1185
 
@@ -2150,6 +2186,8 @@ module Google
2150
2186
  class Representation < Google::Apis::Core::JsonRepresentation
2151
2187
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
2152
2188
  property :exact_searchable_option, as: 'exactSearchableOption'
2189
+ property :facet_config, as: 'facetConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfig::Representation
2190
+
2153
2191
  property :in_use, as: 'inUse'
2154
2192
  property :indexable_option, as: 'indexableOption'
2155
2193
  property :key, as: 'key'
@@ -2160,6 +2198,35 @@ module Google
2160
2198
  end
2161
2199
  end
2162
2200
 
2201
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfig
2202
+ # @private
2203
+ class Representation < Google::Apis::Core::JsonRepresentation
2204
+ collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval::Representation
2205
+
2206
+ collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
2207
+
2208
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue::Representation
2209
+
2210
+ end
2211
+ end
2212
+
2213
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigIgnoredFacetValues
2214
+ # @private
2215
+ class Representation < Google::Apis::Core::JsonRepresentation
2216
+ property :end_time, as: 'endTime'
2217
+ property :start_time, as: 'startTime'
2218
+ collection :values, as: 'values'
2219
+ end
2220
+ end
2221
+
2222
+ class GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue
2223
+ # @private
2224
+ class Representation < Google::Apis::Core::JsonRepresentation
2225
+ property :merged_value, as: 'mergedValue'
2226
+ collection :values, as: 'values'
2227
+ end
2228
+ end
2229
+
2163
2230
  class GoogleCloudRetailV2betaColorInfo
2164
2231
  # @private
2165
2232
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2237,6 +2304,7 @@ module Google
2237
2304
  class Representation < Google::Apis::Core::JsonRepresentation
2238
2305
  collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionTimeRange::Representation
2239
2306
 
2307
+ collection :page_categories, as: 'pageCategories'
2240
2308
  collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionQueryTerm, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConditionQueryTerm::Representation
2241
2309
 
2242
2310
  end
@@ -2980,12 +3048,16 @@ module Google
2980
3048
 
2981
3049
  property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleFilterAction::Representation
2982
3050
 
3051
+ property :force_return_facet_action, as: 'forceReturnFacetAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleForceReturnFacetAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleForceReturnFacetAction::Representation
3052
+
2983
3053
  property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleIgnoreAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleIgnoreAction::Representation
2984
3054
 
2985
3055
  property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleOnewaySynonymsAction::Representation
2986
3056
 
2987
3057
  property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRedirectAction::Representation
2988
3058
 
3059
+ property :remove_facet_action, as: 'removeFacetAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRemoveFacetAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleRemoveFacetAction::Representation
3060
+
2989
3061
  property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleReplacementAction::Representation
2990
3062
 
2991
3063
  property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleTwowaySynonymsAction::Representation
@@ -3017,6 +3089,22 @@ module Google
3017
3089
  end
3018
3090
  end
3019
3091
 
3092
+ class GoogleCloudRetailV2betaRuleForceReturnFacetAction
3093
+ # @private
3094
+ class Representation < Google::Apis::Core::JsonRepresentation
3095
+ collection :facet_position_adjustments, as: 'facetPositionAdjustments', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment::Representation
3096
+
3097
+ end
3098
+ end
3099
+
3100
+ class GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment
3101
+ # @private
3102
+ class Representation < Google::Apis::Core::JsonRepresentation
3103
+ property :attribute_name, as: 'attributeName'
3104
+ property :position, as: 'position'
3105
+ end
3106
+ end
3107
+
3020
3108
  class GoogleCloudRetailV2betaRuleIgnoreAction
3021
3109
  # @private
3022
3110
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3040,6 +3128,13 @@ module Google
3040
3128
  end
3041
3129
  end
3042
3130
 
3131
+ class GoogleCloudRetailV2betaRuleRemoveFacetAction
3132
+ # @private
3133
+ class Representation < Google::Apis::Core::JsonRepresentation
3134
+ collection :attribute_names, as: 'attributeNames'
3135
+ end
3136
+ end
3137
+
3043
3138
  class GoogleCloudRetailV2betaRuleReplacementAction
3044
3139
  # @private
3045
3140
  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.82.0
4
+ version: 0.84.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-09-10 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.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.84.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Retail API V2beta