google-apis-retail_v2alpha 0.84.0 → 0.85.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: 8117873f4bdca933d1c0bf5ae1d921e94395126f6260c50f3ca71fceaf998d35
4
- data.tar.gz: 9bc0d13eba8b0b6deedb8f00ca2b78040105b26e885762e01ca242107812e902
3
+ metadata.gz: cbd3edc5f0cbaf4278c58d0bf44bf3bab493d44432feee8ff28940d5b9fce433
4
+ data.tar.gz: 849e0b88e0318fc16d93559947c2fec533f87662795a12d294852e228139073f
5
5
  SHA512:
6
- metadata.gz: 07e128060f9af46caa0365e1cb2af3cb91cbcbc4163b33fd6987f14d992c4f9d8e5416593ac525260c3bdac5101d72dc721f7dc1a1f62ddfe61ee212a7ff72e5
7
- data.tar.gz: fc2b8b44ab875c2fba9bd976c8f12a0121e34e78a222236592272496afcbaee6c6a067b93ec065a5872992face973e16c17bbbcd857732e7a02bf5a1c276b8d4
6
+ metadata.gz: 1674b9c9110c2f44256003872299978dfaaf30c7145604b7e4af1103fd34790ebde9cd0adeda675e7ce8e662b49a91cb03ad8414af93c604bfbd1d7bc301862f
7
+ data.tar.gz: 275112551718726225362cb11dab2cafaad10af41ffb3eacb0b0068360ad32330e6a39c6aadf5025e8eb8182b47569ce77ae5dd2621e352c05e7fa4e4b584172
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.85.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
3
7
  ### v0.84.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230805
@@ -1510,6 +1510,12 @@ module Google
1510
1510
  # @return [String]
1511
1511
  attr_accessor :exact_searchable_option
1512
1512
 
1513
+ # Possible options for the facet that corresponds to the current attribute
1514
+ # config.
1515
+ # Corresponds to the JSON property `facetConfig`
1516
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfig]
1517
+ attr_accessor :facet_config
1518
+
1513
1519
  # Output only. Indicates whether this attribute has been used by any products. `
1514
1520
  # True` if at least one Product is using this attribute in Product.attributes.
1515
1521
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -1585,6 +1591,7 @@ module Google
1585
1591
  def update!(**args)
1586
1592
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
1587
1593
  @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
1594
+ @facet_config = args[:facet_config] if args.key?(:facet_config)
1588
1595
  @in_use = args[:in_use] if args.key?(:in_use)
1589
1596
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
1590
1597
  @key = args[:key] if args.key?(:key)
@@ -1595,6 +1602,121 @@ module Google
1595
1602
  end
1596
1603
  end
1597
1604
 
1605
+ # Possible options for the facet that corresponds to the current attribute
1606
+ # config.
1607
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig
1608
+ include Google::Apis::Core::Hashable
1609
+
1610
+ # If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the
1611
+ # request to a numerical attribute, then we use the computed intervals with
1612
+ # rounded bounds obtained from all its product numerical attribute values. The
1613
+ # computed intervals might not be ideal for some attributes. Therefore, we give
1614
+ # you the option to overwrite them with the facet_intervals field. The maximum
1615
+ # of facet intervals per CatalogAttribute is 40. Each interval must have a lower
1616
+ # bound or an upper bound. If both bounds are provided, then the lower bound
1617
+ # must be smaller or equal than the upper bound.
1618
+ # Corresponds to the JSON property `facetIntervals`
1619
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval>]
1620
+ attr_accessor :facet_intervals
1621
+
1622
+ # Each instance represents a list of attribute values to ignore as facet values
1623
+ # for a specific time range. The maximum number of instances per
1624
+ # CatalogAttribute is 25.
1625
+ # Corresponds to the JSON property `ignoredFacetValues`
1626
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues>]
1627
+ attr_accessor :ignored_facet_values
1628
+
1629
+ # Each instance replaces a list of facet values by a merged facet value. If a
1630
+ # facet value is not in any list, then it will stay the same. To avoid conflicts,
1631
+ # only paths of length 1 are accepted. In other words, if "dark_blue" merged
1632
+ # into "BLUE", then the latter can't merge into "blues" because this would
1633
+ # create a path of length 2. The maximum number of instances of MergedFacetValue
1634
+ # per CatalogAttribute is 100.
1635
+ # Corresponds to the JSON property `mergedFacetValues`
1636
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue>]
1637
+ attr_accessor :merged_facet_values
1638
+
1639
+ def initialize(**args)
1640
+ update!(**args)
1641
+ end
1642
+
1643
+ # Update properties of this object
1644
+ def update!(**args)
1645
+ @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
1646
+ @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
1647
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
1648
+ end
1649
+ end
1650
+
1651
+ # Facet values to ignore on facets during the specified time range for the given
1652
+ # SearchResponse.Facet.key attribute.
1653
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues
1654
+ include Google::Apis::Core::Hashable
1655
+
1656
+ # If start time is empty and end time is not empty, then ignore these facet
1657
+ # values before end time.
1658
+ # Corresponds to the JSON property `endTime`
1659
+ # @return [String]
1660
+ attr_accessor :end_time
1661
+
1662
+ # Time range for the current list of facet values to ignore. If multiple time
1663
+ # ranges are specified for an facet value for the current attribute, consider
1664
+ # all of them. If both are empty, ignore always. If start time and end time are
1665
+ # set, then start time must be before end time. If start time is not empty and
1666
+ # end time is empty, then will ignore these facet values after the start time.
1667
+ # Corresponds to the JSON property `startTime`
1668
+ # @return [String]
1669
+ attr_accessor :start_time
1670
+
1671
+ # List of facet values to ignore for the following time range. The facet values
1672
+ # are the same as the attribute values. There is a limit of 10 values per
1673
+ # instance of IgnoredFacetValues. Each value can have at most 60 characters.
1674
+ # Corresponds to the JSON property `values`
1675
+ # @return [Array<String>]
1676
+ attr_accessor :values
1677
+
1678
+ def initialize(**args)
1679
+ update!(**args)
1680
+ end
1681
+
1682
+ # Update properties of this object
1683
+ def update!(**args)
1684
+ @end_time = args[:end_time] if args.key?(:end_time)
1685
+ @start_time = args[:start_time] if args.key?(:start_time)
1686
+ @values = args[:values] if args.key?(:values)
1687
+ end
1688
+ end
1689
+
1690
+ # Replaces a set of facet values by the same (possibly different) merged facet
1691
+ # value. Each facet value should appear at most once as a value per
1692
+ # CatalogAttribute.
1693
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
1694
+ include Google::Apis::Core::Hashable
1695
+
1696
+ # All the previous values are replaced by this merged facet value. This
1697
+ # merged_value must be non-empty and can have up to 60 characters.
1698
+ # Corresponds to the JSON property `mergedValue`
1699
+ # @return [String]
1700
+ attr_accessor :merged_value
1701
+
1702
+ # All the facet values that are replaces by the same merged_value that follows.
1703
+ # The maximum number of values per MergedFacetValue is 25. Each value can have
1704
+ # up to 60 characters.
1705
+ # Corresponds to the JSON property `values`
1706
+ # @return [Array<String>]
1707
+ attr_accessor :values
1708
+
1709
+ def initialize(**args)
1710
+ update!(**args)
1711
+ end
1712
+
1713
+ # Update properties of this object
1714
+ def update!(**args)
1715
+ @merged_value = args[:merged_value] if args.key?(:merged_value)
1716
+ @values = args[:values] if args.key?(:values)
1717
+ end
1718
+ end
1719
+
1598
1720
  # The color information of a Product.
1599
1721
  class GoogleCloudRetailV2alphaColorInfo
1600
1722
  include Google::Apis::Core::Hashable
@@ -1933,6 +2055,12 @@ module Google
1933
2055
  # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange>]
1934
2056
  attr_accessor :active_time_range
1935
2057
 
2058
+ # Used to support browse uses cases. A list (up to 10 entries) of categories or
2059
+ # departments. The format should be the same as UserEvent.page_categories;
2060
+ # Corresponds to the JSON property `pageCategories`
2061
+ # @return [Array<String>]
2062
+ attr_accessor :page_categories
2063
+
1936
2064
  # A list (up to 10 entries) of terms to match the query on. If not specified,
1937
2065
  # match all queries. If many query terms are specified, the condition is matched
1938
2066
  # if any of the terms is a match (i.e. using the OR operator).
@@ -1947,6 +2075,7 @@ module Google
1947
2075
  # Update properties of this object
1948
2076
  def update!(**args)
1949
2077
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
2078
+ @page_categories = args[:page_categories] if args.key?(:page_categories)
1950
2079
  @query_terms = args[:query_terms] if args.key?(:query_terms)
1951
2080
  end
1952
2081
  end
@@ -5144,6 +5273,22 @@ module Google
5144
5273
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction]
5145
5274
  attr_accessor :filter_action
5146
5275
 
5276
+ # Force returns an attribute/facet in the request around a certain position or
5277
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
5278
+ # search only) or Condition.page_categories (for browse only), but can't specify
5279
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
5280
+ # return a facet key around a certain position or above if the condition is
5281
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
5282
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
5283
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
5284
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
5285
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
5286
+ # among the top 8 positions in the request, then it will stay at its current
5287
+ # rank.
5288
+ # Corresponds to the JSON property `forceReturnFacetAction`
5289
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetAction]
5290
+ attr_accessor :force_return_facet_action
5291
+
5147
5292
  # Prevents a term in the query from being used in search. Example: Don't search
5148
5293
  # for "shoddy".
5149
5294
  # Corresponds to the JSON property `ignoreAction`
@@ -5165,6 +5310,17 @@ module Google
5165
5310
  # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction]
5166
5311
  attr_accessor :redirect_action
5167
5312
 
5313
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
5314
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
5315
+ # page_categories (for browse only), but can't specify both. * Action Input:
5316
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
5317
+ # the request if it is present. Example: Suppose the query is "shoes", the
5318
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
5319
+ # "size" will be removed from the request (if it is present).
5320
+ # Corresponds to the JSON property `removeFacetAction`
5321
+ # @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRemoveFacetAction]
5322
+ attr_accessor :remove_facet_action
5323
+
5168
5324
  # Replaces a term in the query. Multiple replacement candidates can be specified.
5169
5325
  # All `query_terms` will be replaced with the replacement term. Example:
5170
5326
  # Replace "gShoe" with "google shoe".
@@ -5189,9 +5345,11 @@ module Google
5189
5345
  @condition = args[:condition] if args.key?(:condition)
5190
5346
  @do_not_associate_action = args[:do_not_associate_action] if args.key?(:do_not_associate_action)
5191
5347
  @filter_action = args[:filter_action] if args.key?(:filter_action)
5348
+ @force_return_facet_action = args[:force_return_facet_action] if args.key?(:force_return_facet_action)
5192
5349
  @ignore_action = args[:ignore_action] if args.key?(:ignore_action)
5193
5350
  @oneway_synonyms_action = args[:oneway_synonyms_action] if args.key?(:oneway_synonyms_action)
5194
5351
  @redirect_action = args[:redirect_action] if args.key?(:redirect_action)
5352
+ @remove_facet_action = args[:remove_facet_action] if args.key?(:remove_facet_action)
5195
5353
  @replacement_action = args[:replacement_action] if args.key?(:replacement_action)
5196
5354
  @twoway_synonyms_action = args[:twoway_synonyms_action] if args.key?(:twoway_synonyms_action)
5197
5355
  end
@@ -5300,6 +5458,65 @@ module Google
5300
5458
  end
5301
5459
  end
5302
5460
 
5461
+ # Force returns an attribute/facet in the request around a certain position or
5462
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
5463
+ # search only) or Condition.page_categories (for browse only), but can't specify
5464
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
5465
+ # return a facet key around a certain position or above if the condition is
5466
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
5467
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
5468
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
5469
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
5470
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
5471
+ # among the top 8 positions in the request, then it will stay at its current
5472
+ # rank.
5473
+ class GoogleCloudRetailV2alphaRuleForceReturnFacetAction
5474
+ include Google::Apis::Core::Hashable
5475
+
5476
+ # Each instance corresponds to a force return attribute for the given condition.
5477
+ # There can't be more 3 instances here.
5478
+ # Corresponds to the JSON property `facetPositionAdjustments`
5479
+ # @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment>]
5480
+ attr_accessor :facet_position_adjustments
5481
+
5482
+ def initialize(**args)
5483
+ update!(**args)
5484
+ end
5485
+
5486
+ # Update properties of this object
5487
+ def update!(**args)
5488
+ @facet_position_adjustments = args[:facet_position_adjustments] if args.key?(:facet_position_adjustments)
5489
+ end
5490
+ end
5491
+
5492
+ # Each facet position adjustment consists of a single attribute name (i.e. facet
5493
+ # key) along with a specified position.
5494
+ class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment
5495
+ include Google::Apis::Core::Hashable
5496
+
5497
+ # The attribute name to force return as a facet. Each attribute name should be a
5498
+ # valid attribute name, be non-empty and contain at most 80 characters long.
5499
+ # Corresponds to the JSON property `attributeName`
5500
+ # @return [String]
5501
+ attr_accessor :attribute_name
5502
+
5503
+ # This is the position in the request as explained above. It should be strictly
5504
+ # positive be at most 100.
5505
+ # Corresponds to the JSON property `position`
5506
+ # @return [Fixnum]
5507
+ attr_accessor :position
5508
+
5509
+ def initialize(**args)
5510
+ update!(**args)
5511
+ end
5512
+
5513
+ # Update properties of this object
5514
+ def update!(**args)
5515
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
5516
+ @position = args[:position] if args.key?(:position)
5517
+ end
5518
+ end
5519
+
5303
5520
  # Prevents a term in the query from being used in search. Example: Don't search
5304
5521
  # for "shoddy".
5305
5522
  class GoogleCloudRetailV2alphaRuleIgnoreAction
@@ -5377,6 +5594,34 @@ module Google
5377
5594
  end
5378
5595
  end
5379
5596
 
5597
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
5598
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
5599
+ # page_categories (for browse only), but can't specify both. * Action Input:
5600
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
5601
+ # the request if it is present. Example: Suppose the query is "shoes", the
5602
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
5603
+ # "size" will be removed from the request (if it is present).
5604
+ class GoogleCloudRetailV2alphaRuleRemoveFacetAction
5605
+ include Google::Apis::Core::Hashable
5606
+
5607
+ # The attribute names (i.e. facet keys) to remove from the dynamic facets (if
5608
+ # present in the request). There can't be more 3 attribute names. Each attribute
5609
+ # name should be a valid attribute name, be non-empty and contain at most 80
5610
+ # characters.
5611
+ # Corresponds to the JSON property `attributeNames`
5612
+ # @return [Array<String>]
5613
+ attr_accessor :attribute_names
5614
+
5615
+ def initialize(**args)
5616
+ update!(**args)
5617
+ end
5618
+
5619
+ # Update properties of this object
5620
+ def update!(**args)
5621
+ @attribute_names = args[:attribute_names] if args.key?(:attribute_names)
5622
+ end
5623
+ end
5624
+
5380
5625
  # Replaces a term in the query. Multiple replacement candidates can be specified.
5381
5626
  # All `query_terms` will be replaced with the replacement term. Example:
5382
5627
  # Replace "gShoe" with "google shoe".
@@ -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.84.0"
19
+ GEM_VERSION = "0.85.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 = "20230805"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,24 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class GoogleCloudRetailV2alphaColorInfo
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
@@ -922,6 +940,18 @@ module Google
922
940
  include Google::Apis::Core::JsonObjectSupport
923
941
  end
924
942
 
943
+ class GoogleCloudRetailV2alphaRuleForceReturnFacetAction
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
925
955
  class GoogleCloudRetailV2alphaRuleIgnoreAction
926
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
927
957
 
@@ -940,6 +970,12 @@ module Google
940
970
  include Google::Apis::Core::JsonObjectSupport
941
971
  end
942
972
 
973
+ class GoogleCloudRetailV2alphaRuleRemoveFacetAction
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
943
979
  class GoogleCloudRetailV2alphaRuleReplacementAction
944
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
981
 
@@ -1816,6 +1852,8 @@ module Google
1816
1852
  class Representation < Google::Apis::Core::JsonRepresentation
1817
1853
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1818
1854
  property :exact_searchable_option, as: 'exactSearchableOption'
1855
+ property :facet_config, as: 'facetConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfig::Representation
1856
+
1819
1857
  property :in_use, as: 'inUse'
1820
1858
  property :indexable_option, as: 'indexableOption'
1821
1859
  property :key, as: 'key'
@@ -1826,6 +1864,35 @@ module Google
1826
1864
  end
1827
1865
  end
1828
1866
 
1867
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfig
1868
+ # @private
1869
+ class Representation < Google::Apis::Core::JsonRepresentation
1870
+ collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval::Representation
1871
+
1872
+ collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues::Representation
1873
+
1874
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue::Representation
1875
+
1876
+ end
1877
+ end
1878
+
1879
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues
1880
+ # @private
1881
+ class Representation < Google::Apis::Core::JsonRepresentation
1882
+ property :end_time, as: 'endTime'
1883
+ property :start_time, as: 'startTime'
1884
+ collection :values, as: 'values'
1885
+ end
1886
+ end
1887
+
1888
+ class GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue
1889
+ # @private
1890
+ class Representation < Google::Apis::Core::JsonRepresentation
1891
+ property :merged_value, as: 'mergedValue'
1892
+ collection :values, as: 'values'
1893
+ end
1894
+ end
1895
+
1829
1896
  class GoogleCloudRetailV2alphaColorInfo
1830
1897
  # @private
1831
1898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1915,6 +1982,7 @@ module Google
1915
1982
  class Representation < Google::Apis::Core::JsonRepresentation
1916
1983
  collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionTimeRange::Representation
1917
1984
 
1985
+ collection :page_categories, as: 'pageCategories'
1918
1986
  collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionQueryTerm, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConditionQueryTerm::Representation
1919
1987
 
1920
1988
  end
@@ -2735,12 +2803,16 @@ module Google
2735
2803
 
2736
2804
  property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleFilterAction::Representation
2737
2805
 
2806
+ property :force_return_facet_action, as: 'forceReturnFacetAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetAction::Representation
2807
+
2738
2808
  property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleIgnoreAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleIgnoreAction::Representation
2739
2809
 
2740
2810
  property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleOnewaySynonymsAction::Representation
2741
2811
 
2742
2812
  property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRedirectAction::Representation
2743
2813
 
2814
+ property :remove_facet_action, as: 'removeFacetAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRemoveFacetAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleRemoveFacetAction::Representation
2815
+
2744
2816
  property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleReplacementAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleReplacementAction::Representation
2745
2817
 
2746
2818
  property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleTwowaySynonymsAction::Representation
@@ -2772,6 +2844,22 @@ module Google
2772
2844
  end
2773
2845
  end
2774
2846
 
2847
+ class GoogleCloudRetailV2alphaRuleForceReturnFacetAction
2848
+ # @private
2849
+ class Representation < Google::Apis::Core::JsonRepresentation
2850
+ collection :facet_position_adjustments, as: 'facetPositionAdjustments', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment::Representation
2851
+
2852
+ end
2853
+ end
2854
+
2855
+ class GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment
2856
+ # @private
2857
+ class Representation < Google::Apis::Core::JsonRepresentation
2858
+ property :attribute_name, as: 'attributeName'
2859
+ property :position, as: 'position'
2860
+ end
2861
+ end
2862
+
2775
2863
  class GoogleCloudRetailV2alphaRuleIgnoreAction
2776
2864
  # @private
2777
2865
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2795,6 +2883,13 @@ module Google
2795
2883
  end
2796
2884
  end
2797
2885
 
2886
+ class GoogleCloudRetailV2alphaRuleRemoveFacetAction
2887
+ # @private
2888
+ class Representation < Google::Apis::Core::JsonRepresentation
2889
+ collection :attribute_names, as: 'attributeNames'
2890
+ end
2891
+ end
2892
+
2798
2893
  class GoogleCloudRetailV2alphaRuleReplacementAction
2799
2894
  # @private
2800
2895
  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.84.0
4
+ version: 0.85.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-13 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.85.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: []
@@ -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 V2alpha