google-apis-retail_v2 0.81.0 → 0.83.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: 9de480601cb0d27651d92ce61cea4376102a89fbf602570dfdbeff2505665a18
4
+ data.tar.gz: 34fb36c078e7d9c99eb29dbe244cbb0dcb5d4bc5cc7e333ce81d3ca11a188359
5
5
  SHA512:
6
- metadata.gz: db86ca08f049baa44d8903083ba94286792f70d9e3926a35ab63c4c9adf5736938bb0650aa81f0311e6b5d77876072e2402b7797fc7f5056f8fedd83f3a15584
7
- data.tar.gz: 538d83b052f90e0d48d9f301ffa10bc672a054f69b7c5f9bdaada2f19a0ffc5e7851c6ef5e6c9a6798f4ba4e827903d4e047322760b25d4869e58193a9254d39
6
+ metadata.gz: a6ea7576e21e754d0578799d0e32b7689effcd127626493e8016504cd4ee06f727e3ed9200d962c0b87282a8336ade4fcbb90a5c00314c14f3c3adc93e6c5442
7
+ data.tar.gz: 49fe8f5090f8bc55da7d0b8dccb8f6cbb4378534fb0d12887826dda6305b4c704ccdff525672b7534059dbc7a58bed33f4157cc0999a8c92b7bc478a4b0aed31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.83.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231012
6
+
7
+ ### v0.82.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230831
10
+
3
11
  ### v0.81.0 (2023-08-13)
4
12
 
5
13
  * 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,122 @@ 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. This feature is available only for textual custom
804
+ # attributes.
805
+ # Corresponds to the JSON property `mergedFacetValues`
806
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue>]
807
+ attr_accessor :merged_facet_values
808
+
809
+ def initialize(**args)
810
+ update!(**args)
811
+ end
812
+
813
+ # Update properties of this object
814
+ def update!(**args)
815
+ @facet_intervals = args[:facet_intervals] if args.key?(:facet_intervals)
816
+ @ignored_facet_values = args[:ignored_facet_values] if args.key?(:ignored_facet_values)
817
+ @merged_facet_values = args[:merged_facet_values] if args.key?(:merged_facet_values)
818
+ end
819
+ end
820
+
821
+ # Facet values to ignore on facets during the specified time range for the given
822
+ # SearchResponse.Facet.key attribute.
823
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues
824
+ include Google::Apis::Core::Hashable
825
+
826
+ # If start time is empty and end time is not empty, then ignore these facet
827
+ # values before end time.
828
+ # Corresponds to the JSON property `endTime`
829
+ # @return [String]
830
+ attr_accessor :end_time
831
+
832
+ # Time range for the current list of facet values to ignore. If multiple time
833
+ # ranges are specified for an facet value for the current attribute, consider
834
+ # all of them. If both are empty, ignore always. If start time and end time are
835
+ # set, then start time must be before end time. If start time is not empty and
836
+ # end time is empty, then will ignore these facet values after the start time.
837
+ # Corresponds to the JSON property `startTime`
838
+ # @return [String]
839
+ attr_accessor :start_time
840
+
841
+ # List of facet values to ignore for the following time range. The facet values
842
+ # are the same as the attribute values. There is a limit of 10 values per
843
+ # instance of IgnoredFacetValues. Each value can have at most 128 characters.
844
+ # Corresponds to the JSON property `values`
845
+ # @return [Array<String>]
846
+ attr_accessor :values
847
+
848
+ def initialize(**args)
849
+ update!(**args)
850
+ end
851
+
852
+ # Update properties of this object
853
+ def update!(**args)
854
+ @end_time = args[:end_time] if args.key?(:end_time)
855
+ @start_time = args[:start_time] if args.key?(:start_time)
856
+ @values = args[:values] if args.key?(:values)
857
+ end
858
+ end
859
+
860
+ # Replaces a set of textual facet values by the same (possibly different) merged
861
+ # facet value. Each facet value should appear at most once as a value per
862
+ # CatalogAttribute. This feature is available only for textual custom attributes.
863
+ class GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
864
+ include Google::Apis::Core::Hashable
865
+
866
+ # All the previous values are replaced by this merged facet value. This
867
+ # merged_value must be non-empty and can have up to 128 characters.
868
+ # Corresponds to the JSON property `mergedValue`
869
+ # @return [String]
870
+ attr_accessor :merged_value
871
+
872
+ # All the facet values that are replaces by the same merged_value that follows.
873
+ # The maximum number of values per MergedFacetValue is 25. Each value can have
874
+ # up to 128 characters.
875
+ # Corresponds to the JSON property `values`
876
+ # @return [Array<String>]
877
+ attr_accessor :values
878
+
879
+ def initialize(**args)
880
+ update!(**args)
881
+ end
882
+
883
+ # Update properties of this object
884
+ def update!(**args)
885
+ @merged_value = args[:merged_value] if args.key?(:merged_value)
886
+ @values = args[:values] if args.key?(:values)
887
+ end
888
+ end
889
+
767
890
  # The color information of a Product.
768
891
  class GoogleCloudRetailV2ColorInfo
769
892
  include Google::Apis::Core::Hashable
@@ -1059,6 +1182,12 @@ module Google
1059
1182
  # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2ConditionTimeRange>]
1060
1183
  attr_accessor :active_time_range
1061
1184
 
1185
+ # Used to support browse uses cases. A list (up to 10 entries) of categories or
1186
+ # departments. The format should be the same as UserEvent.page_categories;
1187
+ # Corresponds to the JSON property `pageCategories`
1188
+ # @return [Array<String>]
1189
+ attr_accessor :page_categories
1190
+
1062
1191
  # A list (up to 10 entries) of terms to match the query on. If not specified,
1063
1192
  # match all queries. If many query terms are specified, the condition is matched
1064
1193
  # if any of the terms is a match (i.e. using the OR operator).
@@ -1073,6 +1202,7 @@ module Google
1073
1202
  # Update properties of this object
1074
1203
  def update!(**args)
1075
1204
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
1205
+ @page_categories = args[:page_categories] if args.key?(:page_categories)
1076
1206
  @query_terms = args[:query_terms] if args.key?(:query_terms)
1077
1207
  end
1078
1208
  end
@@ -3591,6 +3721,22 @@ module Google
3591
3721
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleFilterAction]
3592
3722
  attr_accessor :filter_action
3593
3723
 
3724
+ # Force returns an attribute/facet in the request around a certain position or
3725
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
3726
+ # search only) or Condition.page_categories (for browse only), but can't specify
3727
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
3728
+ # return a facet key around a certain position or above if the condition is
3729
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
3730
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
3731
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
3732
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
3733
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
3734
+ # among the top 8 positions in the request, then it will stay at its current
3735
+ # rank.
3736
+ # Corresponds to the JSON property `forceReturnFacetAction`
3737
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetAction]
3738
+ attr_accessor :force_return_facet_action
3739
+
3594
3740
  # Prevents a term in the query from being used in search. Example: Don't search
3595
3741
  # for "shoddy".
3596
3742
  # Corresponds to the JSON property `ignoreAction`
@@ -3612,6 +3758,17 @@ module Google
3612
3758
  # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleRedirectAction]
3613
3759
  attr_accessor :redirect_action
3614
3760
 
3761
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
3762
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
3763
+ # page_categories (for browse only), but can't specify both. * Action Input:
3764
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
3765
+ # the request if it is present. Example: Suppose the query is "shoes", the
3766
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
3767
+ # "size" will be removed from the request (if it is present).
3768
+ # Corresponds to the JSON property `removeFacetAction`
3769
+ # @return [Google::Apis::RetailV2::GoogleCloudRetailV2RuleRemoveFacetAction]
3770
+ attr_accessor :remove_facet_action
3771
+
3615
3772
  # Replaces a term in the query. Multiple replacement candidates can be specified.
3616
3773
  # All `query_terms` will be replaced with the replacement term. Example:
3617
3774
  # Replace "gShoe" with "google shoe".
@@ -3636,9 +3793,11 @@ module Google
3636
3793
  @condition = args[:condition] if args.key?(:condition)
3637
3794
  @do_not_associate_action = args[:do_not_associate_action] if args.key?(:do_not_associate_action)
3638
3795
  @filter_action = args[:filter_action] if args.key?(:filter_action)
3796
+ @force_return_facet_action = args[:force_return_facet_action] if args.key?(:force_return_facet_action)
3639
3797
  @ignore_action = args[:ignore_action] if args.key?(:ignore_action)
3640
3798
  @oneway_synonyms_action = args[:oneway_synonyms_action] if args.key?(:oneway_synonyms_action)
3641
3799
  @redirect_action = args[:redirect_action] if args.key?(:redirect_action)
3800
+ @remove_facet_action = args[:remove_facet_action] if args.key?(:remove_facet_action)
3642
3801
  @replacement_action = args[:replacement_action] if args.key?(:replacement_action)
3643
3802
  @twoway_synonyms_action = args[:twoway_synonyms_action] if args.key?(:twoway_synonyms_action)
3644
3803
  end
@@ -3747,6 +3906,65 @@ module Google
3747
3906
  end
3748
3907
  end
3749
3908
 
3909
+ # Force returns an attribute/facet in the request around a certain position or
3910
+ # above. * Rule Condition: - Must specify non-empty Condition.query_terms (for
3911
+ # search only) or Condition.page_categories (for browse only), but can't specify
3912
+ # both. * Action Inputs: attribute name, position * Action Result: Will force
3913
+ # return a facet key around a certain position or above if the condition is
3914
+ # satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is
3915
+ # "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "
3916
+ # size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8.
3917
+ # Two cases: a) The facet key "size" is not already in the top 8 slots, then the
3918
+ # facet "size" will appear at a position close to 8. b) The facet key "size" in
3919
+ # among the top 8 positions in the request, then it will stay at its current
3920
+ # rank.
3921
+ class GoogleCloudRetailV2RuleForceReturnFacetAction
3922
+ include Google::Apis::Core::Hashable
3923
+
3924
+ # Each instance corresponds to a force return attribute for the given condition.
3925
+ # There can't be more 3 instances here.
3926
+ # Corresponds to the JSON property `facetPositionAdjustments`
3927
+ # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment>]
3928
+ attr_accessor :facet_position_adjustments
3929
+
3930
+ def initialize(**args)
3931
+ update!(**args)
3932
+ end
3933
+
3934
+ # Update properties of this object
3935
+ def update!(**args)
3936
+ @facet_position_adjustments = args[:facet_position_adjustments] if args.key?(:facet_position_adjustments)
3937
+ end
3938
+ end
3939
+
3940
+ # Each facet position adjustment consists of a single attribute name (i.e. facet
3941
+ # key) along with a specified position.
3942
+ class GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment
3943
+ include Google::Apis::Core::Hashable
3944
+
3945
+ # The attribute name to force return as a facet. Each attribute name should be a
3946
+ # valid attribute name, be non-empty and contain at most 80 characters long.
3947
+ # Corresponds to the JSON property `attributeName`
3948
+ # @return [String]
3949
+ attr_accessor :attribute_name
3950
+
3951
+ # This is the position in the request as explained above. It should be strictly
3952
+ # positive be at most 100.
3953
+ # Corresponds to the JSON property `position`
3954
+ # @return [Fixnum]
3955
+ attr_accessor :position
3956
+
3957
+ def initialize(**args)
3958
+ update!(**args)
3959
+ end
3960
+
3961
+ # Update properties of this object
3962
+ def update!(**args)
3963
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
3964
+ @position = args[:position] if args.key?(:position)
3965
+ end
3966
+ end
3967
+
3750
3968
  # Prevents a term in the query from being used in search. Example: Don't search
3751
3969
  # for "shoddy".
3752
3970
  class GoogleCloudRetailV2RuleIgnoreAction
@@ -3824,6 +4042,34 @@ module Google
3824
4042
  end
3825
4043
  end
3826
4044
 
4045
+ # Removes an attribute/facet in the request if is present. * Rule Condition: -
4046
+ # Must specify non-empty Condition.query_terms (for search only) or Condition.
4047
+ # page_categories (for browse only), but can't specify both. * Action Input:
4048
+ # attribute name * Action Result: Will remove the attribute (as a facet) from
4049
+ # the request if it is present. Example: Suppose the query is "shoes", the
4050
+ # Condition.query_terms is "shoes" and the attribute name "size", then facet key
4051
+ # "size" will be removed from the request (if it is present).
4052
+ class GoogleCloudRetailV2RuleRemoveFacetAction
4053
+ include Google::Apis::Core::Hashable
4054
+
4055
+ # The attribute names (i.e. facet keys) to remove from the dynamic facets (if
4056
+ # present in the request). There can't be more 3 attribute names. Each attribute
4057
+ # name should be a valid attribute name, be non-empty and contain at most 80
4058
+ # characters.
4059
+ # Corresponds to the JSON property `attributeNames`
4060
+ # @return [Array<String>]
4061
+ attr_accessor :attribute_names
4062
+
4063
+ def initialize(**args)
4064
+ update!(**args)
4065
+ end
4066
+
4067
+ # Update properties of this object
4068
+ def update!(**args)
4069
+ @attribute_names = args[:attribute_names] if args.key?(:attribute_names)
4070
+ end
4071
+ end
4072
+
3827
4073
  # Replaces a term in the query. Multiple replacement candidates can be specified.
3828
4074
  # All `query_terms` will be replaced with the replacement term. Example:
3829
4075
  # 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.83.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 = "20231012"
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.83.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-10-22 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.83.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