google-apis-retail_v2 0.81.0 → 0.82.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: f6ecf28767eced4d152d0993d6ba2c4693fdafde266dc0d409ac87f83d317b2b
4
- data.tar.gz: ca139477b077f633a08f6171f2b2563e8da85e8df29d27e505ce85c381f732e1
3
+ metadata.gz: 3601fad34f4ee09052ee4614a454bc092776b5a9a147daea4401344cdb5a9aa1
4
+ data.tar.gz: aa6895507571c100022ecf0f8c112d568180539ef0e2a60c6e9a7bd4cb9cecc8
5
5
  SHA512:
6
- metadata.gz: db86ca08f049baa44d8903083ba94286792f70d9e3926a35ab63c4c9adf5736938bb0650aa81f0311e6b5d77876072e2402b7797fc7f5056f8fedd83f3a15584
7
- data.tar.gz: 538d83b052f90e0d48d9f301ffa10bc672a054f69b7c5f9bdaada2f19a0ffc5e7851c6ef5e6c9a6798f4ba4e827903d4e047322760b25d4869e58193a9254d39
6
+ metadata.gz: 95a362cebb5b4c44742642779df7bf65efb08fd24e6202289d4f9c64ccd1bc9c7b4fa762667d6f4b6f2643529c430b1abfe27ef1f4a69d78ae55215bba68b53e
7
+ data.tar.gz: 9b4953403c1f940f7205b147107841c0d7c0ffe9a575d2d8a2656154c155cf8795a6061452eb2ffc113848e254ceec3442d0a8554dcb5d3e73670e265c156c08
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.82.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
3
7
  ### v0.81.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230805
@@ -688,6 +688,12 @@ module Google
688
688
  # @return [String]
689
689
  attr_accessor :exact_searchable_option
690
690
 
691
+ # Possible options for the facet that corresponds to the current attribute
692
+ # config.
693
+ # Corresponds to the JSON property `facetConfig`
694
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfig]
695
+ attr_accessor :facet_config
696
+
691
697
  # Output only. Indicates whether this attribute has been used by any products. `
692
698
  # True` if at least one Product is using this attribute in Product.attributes.
693
699
  # Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using
@@ -755,6 +761,7 @@ module Google
755
761
  def update!(**args)
756
762
  @dynamic_facetable_option = args[:dynamic_facetable_option] if args.key?(:dynamic_facetable_option)
757
763
  @exact_searchable_option = args[:exact_searchable_option] if args.key?(:exact_searchable_option)
764
+ @facet_config = args[:facet_config] if args.key?(:facet_config)
758
765
  @in_use = args[:in_use] if args.key?(:in_use)
759
766
  @indexable_option = args[:indexable_option] if args.key?(:indexable_option)
760
767
  @key = args[:key] if args.key?(:key)
@@ -764,6 +771,121 @@ module Google
764
771
  end
765
772
  end
766
773
 
774
+ # Possible options for the facet that corresponds to the current attribute
775
+ # config.
776
+ class GoogleCloudRetailV2CatalogAttributeFacetConfig
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the
780
+ # request to a numerical attribute, then we use the computed intervals with
781
+ # rounded bounds obtained from all its product numerical attribute values. The
782
+ # computed intervals might not be ideal for some attributes. Therefore, we give
783
+ # you the option to overwrite them with the facet_intervals field. The maximum
784
+ # of facet intervals per CatalogAttribute is 40. Each interval must have a lower
785
+ # bound or an upper bound. If both bounds are provided, then the lower bound
786
+ # must be smaller or equal than the upper bound.
787
+ # Corresponds to the JSON property `facetIntervals`
788
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2Interval>]
789
+ attr_accessor :facet_intervals
790
+
791
+ # Each instance represents a list of attribute values to ignore as facet values
792
+ # for a specific time range. The maximum number of instances per
793
+ # CatalogAttribute is 25.
794
+ # Corresponds to the JSON property `ignoredFacetValues`
795
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues>]
796
+ attr_accessor :ignored_facet_values
797
+
798
+ # Each instance replaces a list of facet values by a merged facet value. If a
799
+ # facet value is not in any list, then it will stay the same. To avoid conflicts,
800
+ # only paths of length 1 are accepted. In other words, if "dark_blue" merged
801
+ # into "BLUE", then the latter can't merge into "blues" because this would
802
+ # create a path of length 2. The maximum number of instances of MergedFacetValue
803
+ # per CatalogAttribute is 100.
804
+ # Corresponds to the JSON property `mergedFacetValues`
805
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue>]
806
+ attr_accessor :merged_facet_values
807
+
808
+ def initialize(**args)
809
+ update!(**args)
810
+ end
811
+
812
+ # Update properties of this object
813
+ def update!(**args)
814
+ @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
815
+ @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
816
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
817
+ end
818
+ end
819
+
820
+ # Facet values to ignore on facets during the specified time range for the given
821
+ # SearchResponse.Facet.key attribute.
822
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues
823
+ include Google::Apis::Core::Hashable
824
+
825
+ # If start time is empty and end time is not empty, then ignore these facet
826
+ # values before end time.
827
+ # Corresponds to the JSON property `endTime`
828
+ # @return [String]
829
+ attr_accessor :end_time
830
+
831
+ # Time range for the current list of facet values to ignore. If multiple time
832
+ # ranges are specified for an facet value for the current attribute, consider
833
+ # all of them. If both are empty, ignore always. If start time and end time are
834
+ # set, then start time must be before end time. If start time is not empty and
835
+ # end time is empty, then will ignore these facet values after the start time.
836
+ # Corresponds to the JSON property `startTime`
837
+ # @return [String]
838
+ attr_accessor :start_time
839
+
840
+ # List of facet values to ignore for the following time range. The facet values
841
+ # are the same as the attribute values. There is a limit of 10 values per
842
+ # instance of IgnoredFacetValues. Each value can have at most 60 characters.
843
+ # Corresponds to the JSON property `values`
844
+ # @return [Array<String>]
845
+ attr_accessor :values
846
+
847
+ def initialize(**args)
848
+ update!(**args)
849
+ end
850
+
851
+ # Update properties of this object
852
+ def update!(**args)
853
+ @end_time = args[:end_time] if args.key?(:end_time)
854
+ @start_time = args[:start_time] if args.key?(:start_time)
855
+ @values = args[:values] if args.key?(:values)
856
+ end
857
+ end
858
+
859
+ # Replaces a set of facet values by the same (possibly different) merged facet
860
+ # value. Each facet value should appear at most once as a value per
861
+ # CatalogAttribute.
862
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
863
+ include Google::Apis::Core::Hashable
864
+
865
+ # All the previous values are replaced by this merged facet value. This
866
+ # merged_value must be non-empty and can have up to 60 characters.
867
+ # Corresponds to the JSON property `mergedValue`
868
+ # @return [String]
869
+ attr_accessor :merged_value
870
+
871
+ # All the facet values that are replaces by the same merged_value that follows.
872
+ # The maximum number of values per MergedFacetValue is 25. Each value can have
873
+ # up to 60 characters.
874
+ # Corresponds to the JSON property `values`
875
+ # @return [Array<String>]
876
+ attr_accessor :values
877
+
878
+ def initialize(**args)
879
+ update!(**args)
880
+ end
881
+
882
+ # Update properties of this object
883
+ def update!(**args)
884
+ @merged_value = args[:merged_value] if args.key?(:merged_value)
885
+ @values = args[:values] if args.key?(:values)
886
+ end
887
+ end
888
+
767
889
  # The color information of a Product.
768
890
  class GoogleCloudRetailV2ColorInfo
769
891
  include Google::Apis::Core::Hashable
@@ -1059,6 +1181,12 @@ module Google
1059
1181
  # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2ConditionTimeRange>]
1060
1182
  attr_accessor :active_time_range
1061
1183
 
1184
+ # Used to support browse uses cases. A list (up to 10 entries) of categories or
1185
+ # departments. The format should be the same as UserEvent.page_categories;
1186
+ # Corresponds to the JSON property `pageCategories`
1187
+ # @return [Array<String>]
1188
+ attr_accessor :page_categories
1189
+
1062
1190
  # A list (up to 10 entries) of terms to match the query on. If not specified,
1063
1191
  # match all queries. If many query terms are specified, the condition is matched
1064
1192
  # if any of the terms is a match (i.e. using the OR operator).
@@ -1073,6 +1201,7 @@ module Google
1073
1201
  # Update properties of this object
1074
1202
  def update!(**args)
1075
1203
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
1204
+ @page_categories = args[:page_categories] if args.key?(:page_categories)
1076
1205
  @query_terms = args[:query_terms] if args.key?(:query_terms)
1077
1206
  end
1078
1207
  end
@@ -3591,6 +3720,22 @@ module Google
3591
3720
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleFilterAction]
3592
3721
  attr_accessor :filter_action
3593
3722
 
3723
+ # Force returns an attribute/facet in the request around a certain position or
3724
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
3725
+ # search only) or Condition.page_categories (for browse only), but can't specify
3726
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
3727
+ # return a facet key around a certain position or above if the condition is
3728
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
3729
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
3730
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
3731
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
3732
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
3733
+ # among the top 8 positions in the request, then it will stay at its current
3734
+ # rank.
3735
+ # Corresponds to the JSON property `forceReturnFacetAction`
3736
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetAction]
3737
+ attr_accessor :force_return_facet_action
3738
+
3594
3739
  # Prevents a term in the query from being used in search. Example: Don't search
3595
3740
  # for "shoddy".
3596
3741
  # Corresponds to the JSON property `ignoreAction`
@@ -3612,6 +3757,17 @@ module Google
3612
3757
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleRedirectAction]
3613
3758
  attr_accessor :redirect_action
3614
3759
 
3760
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
3761
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
3762
+ # page_categories (for browse only), but can't specify both. * Action Input:
3763
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
3764
+ # the request if it is present. Example: Suppose the query is "shoes", the
3765
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
3766
+ # "size" will be removed from the request (if it is present).
3767
+ # Corresponds to the JSON property `removeFacetAction`
3768
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleRemoveFacetAction]
3769
+ attr_accessor :remove_facet_action
3770
+
3615
3771
  # Replaces a term in the query. Multiple replacement candidates can be specified.
3616
3772
  # All `query_terms` will be replaced with the replacement term. Example:
3617
3773
  # Replace "gShoe" with "google shoe".
@@ -3636,9 +3792,11 @@ module Google
3636
3792
  @condition = args[:condition] if args.key?(:condition)
3637
3793
  @do_not_associate_action = args[:do_not_associate_action] if args.key?(:do_not_associate_action)
3638
3794
  @filter_action = args[:filter_action] if args.key?(:filter_action)
3795
+ @force_return_facet_action = args[:force_return_facet_action] if args.key?(:force_return_facet_action)
3639
3796
  @ignore_action = args[:ignore_action] if args.key?(:ignore_action)
3640
3797
  @oneway_synonyms_action = args[:oneway_synonyms_action] if args.key?(:oneway_synonyms_action)
3641
3798
  @redirect_action = args[:redirect_action] if args.key?(:redirect_action)
3799
+ @remove_facet_action = args[:remove_facet_action] if args.key?(:remove_facet_action)
3642
3800
  @replacement_action = args[:replacement_action] if args.key?(:replacement_action)
3643
3801
  @twoway_synonyms_action = args[:twoway_synonyms_action] if args.key?(:twoway_synonyms_action)
3644
3802
  end
@@ -3747,6 +3905,65 @@ module Google
3747
3905
  end
3748
3906
  end
3749
3907
 
3908
+ # Force returns an attribute/facet in the request around a certain position or
3909
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
3910
+ # search only) or Condition.page_categories (for browse only), but can't specify
3911
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
3912
+ # return a facet key around a certain position or above if the condition is
3913
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
3914
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
3915
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
3916
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
3917
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
3918
+ # among the top 8 positions in the request, then it will stay at its current
3919
+ # rank.
3920
+ class GoogleCloudRetailV2RuleForceReturnFacetAction
3921
+ include Google::Apis::Core::Hashable
3922
+
3923
+ # Each instance corresponds to a force return attribute for the given condition.
3924
+ # There can't be more 3 instances here.
3925
+ # Corresponds to the JSON property `facetPositionAdjustments`
3926
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment>]
3927
+ attr_accessor :facet_position_adjustments
3928
+
3929
+ def initialize(**args)
3930
+ update!(**args)
3931
+ end
3932
+
3933
+ # Update properties of this object
3934
+ def update!(**args)
3935
+ @facet_position_adjustments = args[:facet_position_adjustments] if args.key?(:facet_position_adjustments)
3936
+ end
3937
+ end
3938
+
3939
+ # Each facet position adjustment consists of a single attribute name (i.e. facet
3940
+ # key) along with a specified position.
3941
+ class GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment
3942
+ include Google::Apis::Core::Hashable
3943
+
3944
+ # The attribute name to force return as a facet. Each attribute name should be a
3945
+ # valid attribute name, be non-empty and contain at most 80 characters long.
3946
+ # Corresponds to the JSON property `attributeName`
3947
+ # @return [String]
3948
+ attr_accessor :attribute_name
3949
+
3950
+ # This is the position in the request as explained above. It should be strictly
3951
+ # positive be at most 100.
3952
+ # Corresponds to the JSON property `position`
3953
+ # @return [Fixnum]
3954
+ attr_accessor :position
3955
+
3956
+ def initialize(**args)
3957
+ update!(**args)
3958
+ end
3959
+
3960
+ # Update properties of this object
3961
+ def update!(**args)
3962
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
3963
+ @position = args[:position] if args.key?(:position)
3964
+ end
3965
+ end
3966
+
3750
3967
  # Prevents a term in the query from being used in search. Example: Don't search
3751
3968
  # for "shoddy".
3752
3969
  class GoogleCloudRetailV2RuleIgnoreAction
@@ -3824,6 +4041,34 @@ module Google
3824
4041
  end
3825
4042
  end
3826
4043
 
4044
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
4045
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
4046
+ # page_categories (for browse only), but can't specify both. * Action Input:
4047
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
4048
+ # the request if it is present. Example: Suppose the query is "shoes", the
4049
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
4050
+ # "size" will be removed from the request (if it is present).
4051
+ class GoogleCloudRetailV2RuleRemoveFacetAction
4052
+ include Google::Apis::Core::Hashable
4053
+
4054
+ # The attribute names (i.e. facet keys) to remove from the dynamic facets (if
4055
+ # present in the request). There can't be more 3 attribute names. Each attribute
4056
+ # name should be a valid attribute name, be non-empty and contain at most 80
4057
+ # characters.
4058
+ # Corresponds to the JSON property `attributeNames`
4059
+ # @return [Array<String>]
4060
+ attr_accessor :attribute_names
4061
+
4062
+ def initialize(**args)
4063
+ update!(**args)
4064
+ end
4065
+
4066
+ # Update properties of this object
4067
+ def update!(**args)
4068
+ @attribute_names = args[:attribute_names] if args.key?(:attribute_names)
4069
+ end
4070
+ end
4071
+
3827
4072
  # Replaces a term in the query. Multiple replacement candidates can be specified.
3828
4073
  # All `query_terms` will be replaced with the replacement term. Example:
3829
4074
  # Replace "gShoe" with "google shoe".
@@ -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.81.0"
19
+ GEM_VERSION = "0.82.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
@@ -142,6 +142,24 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class GoogleCloudRetailV2CatalogAttributeFacetConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class GoogleCloudRetailV2ColorInfo
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -592,6 +610,18 @@ module Google
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class GoogleCloudRetailV2RuleForceReturnFacetAction
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
595
625
  class GoogleCloudRetailV2RuleIgnoreAction
596
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
627
 
@@ -610,6 +640,12 @@ module Google
610
640
  include Google::Apis::Core::JsonObjectSupport
611
641
  end
612
642
 
643
+ class GoogleCloudRetailV2RuleRemoveFacetAction
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
613
649
  class GoogleCloudRetailV2RuleReplacementAction
614
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
651
 
@@ -1493,6 +1529,8 @@ module Google
1493
1529
  class Representation < Google::Apis::Core::JsonRepresentation
1494
1530
  property :dynamic_facetable_option, as: 'dynamicFacetableOption'
1495
1531
  property :exact_searchable_option, as: 'exactSearchableOption'
1532
+ property :facet_config, as: 'facetConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfig::Representation
1533
+
1496
1534
  property :in_use, as: 'inUse'
1497
1535
  property :indexable_option, as: 'indexableOption'
1498
1536
  property :key, as: 'key'
@@ -1502,6 +1540,35 @@ module Google
1502
1540
  end
1503
1541
  end
1504
1542
 
1543
+ class GoogleCloudRetailV2CatalogAttributeFacetConfig
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ collection :facet_intervals, as: 'facetIntervals', class: Google::Apis::RetailV2::GoogleCloudRetailV2Interval, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Interval::Representation
1547
+
1548
+ collection :ignored_facet_values, as: 'ignoredFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues::Representation
1549
+
1550
+ collection :merged_facet_values, as: 'mergedFacetValues', class: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::Representation
1551
+
1552
+ end
1553
+ end
1554
+
1555
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :end_time, as: 'endTime'
1559
+ property :start_time, as: 'startTime'
1560
+ collection :values, as: 'values'
1561
+ end
1562
+ end
1563
+
1564
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ property :merged_value, as: 'mergedValue'
1568
+ collection :values, as: 'values'
1569
+ end
1570
+ end
1571
+
1505
1572
  class GoogleCloudRetailV2ColorInfo
1506
1573
  # @private
1507
1574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1579,6 +1646,7 @@ module Google
1579
1646
  class Representation < Google::Apis::Core::JsonRepresentation
1580
1647
  collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionTimeRange, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionTimeRange::Representation
1581
1648
 
1649
+ collection :page_categories, as: 'pageCategories'
1582
1650
  collection :query_terms, as: 'queryTerms', class: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionQueryTerm, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ConditionQueryTerm::Representation
1583
1651
 
1584
1652
  end
@@ -2202,12 +2270,16 @@ module Google
2202
2270
 
2203
2271
  property :filter_action, as: 'filterAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleFilterAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleFilterAction::Representation
2204
2272
 
2273
+ property :force_return_facet_action, as: 'forceReturnFacetAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetAction::Representation
2274
+
2205
2275
  property :ignore_action, as: 'ignoreAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleIgnoreAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleIgnoreAction::Representation
2206
2276
 
2207
2277
  property :oneway_synonyms_action, as: 'onewaySynonymsAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleOnewaySynonymsAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleOnewaySynonymsAction::Representation
2208
2278
 
2209
2279
  property :redirect_action, as: 'redirectAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleRedirectAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleRedirectAction::Representation
2210
2280
 
2281
+ property :remove_facet_action, as: 'removeFacetAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleRemoveFacetAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleRemoveFacetAction::Representation
2282
+
2211
2283
  property :replacement_action, as: 'replacementAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleReplacementAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleReplacementAction::Representation
2212
2284
 
2213
2285
  property :twoway_synonyms_action, as: 'twowaySynonymsAction', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleTwowaySynonymsAction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleTwowaySynonymsAction::Representation
@@ -2239,6 +2311,22 @@ module Google
2239
2311
  end
2240
2312
  end
2241
2313
 
2314
+ class GoogleCloudRetailV2RuleForceReturnFacetAction
2315
+ # @private
2316
+ class Representation < Google::Apis::Core::JsonRepresentation
2317
+ collection :facet_position_adjustments, as: 'facetPositionAdjustments', class: Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment::Representation
2318
+
2319
+ end
2320
+ end
2321
+
2322
+ class GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment
2323
+ # @private
2324
+ class Representation < Google::Apis::Core::JsonRepresentation
2325
+ property :attribute_name, as: 'attributeName'
2326
+ property :position, as: 'position'
2327
+ end
2328
+ end
2329
+
2242
2330
  class GoogleCloudRetailV2RuleIgnoreAction
2243
2331
  # @private
2244
2332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2262,6 +2350,13 @@ module Google
2262
2350
  end
2263
2351
  end
2264
2352
 
2353
+ class GoogleCloudRetailV2RuleRemoveFacetAction
2354
+ # @private
2355
+ class Representation < Google::Apis::Core::JsonRepresentation
2356
+ collection :attribute_names, as: 'attributeNames'
2357
+ end
2358
+ end
2359
+
2265
2360
  class GoogleCloudRetailV2RuleReplacementAction
2266
2361
  # @private
2267
2362
  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.81.0
4
+ version: 0.82.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-20 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.81.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.82.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: []
@@ -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 V2