google-apis-retail_v2beta 0.112.0 → 0.114.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55707b535095226559e5dbb6497cac7ffe5bf0d41c1aad220c05dfb320f1f1e4
4
- data.tar.gz: c8dd03cf8aecb59961e51fd7ea8f6217c8ee5b3f420e6ef4f2fbbf59f366450a
3
+ metadata.gz: c7bd142f759b83714b526881570cb0ca19d245e4830f0054a2d50f9685b6c96a
4
+ data.tar.gz: 65a7c4216ff65524ae3a1901d86422fac3358d081326dbf7a12247dc07978782
5
5
  SHA512:
6
- metadata.gz: f0aee94784ee92cea4c34df7febc065b3ad3882de7e92948068cdbf73725237bb78321016c66b785a3d2cb9fbe9bafec2c8567d462f32508713db14387718194
7
- data.tar.gz: 73359ee3bf058f81fa272e6fb367771f80e70b6892bc09e0fabc059149218846eec46a287520c9864374b7218ba80a1b6b4d3e896e4585b975051a5d9acf484e
6
+ metadata.gz: fd825030ab9907caf2596b0e37646abf063d40f561bebdfef8f3933e648b94b04290583e1e54463721cb5729069ef0712952c09251b94afec2d26e471e55ffd2
7
+ data.tar.gz: ae4915c1b1cdafbd0a05a1b10dc2a07ce02446aba54079a0da697d63272122a5e3f6c5d456cfa8c7b5cc668b58be9ef1ced6f2239589d2a577b4cf5c65e0953d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.114.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250626
6
+
7
+ ### v0.113.0 (2025-06-22)
8
+
9
+ * Regenerated from discovery document revision 20250613
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.112.0 (2025-05-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20250515
@@ -3856,6 +3856,41 @@ module Google
3856
3856
  end
3857
3857
  end
3858
3858
 
3859
+ # The public proto to represent the conversational search customization config.
3860
+ # It will be converted to the internal proto in the backend.
3861
+ class GoogleCloudRetailV2betaConversationalSearchCustomizationConfig
3862
+ include Google::Apis::Core::Hashable
3863
+
3864
+ # Required. Resource name of the catalog. Format: projects/`project`/locations/`
3865
+ # location`/catalogs/`catalog`
3866
+ # Corresponds to the JSON property `catalog`
3867
+ # @return [String]
3868
+ attr_accessor :catalog
3869
+
3870
+ # The public proto to represent the intent classification config. It will be
3871
+ # converted to the internal proto in the backend.
3872
+ # Corresponds to the JSON property `intentClassificationConfig`
3873
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfig]
3874
+ attr_accessor :intent_classification_config
3875
+
3876
+ # Optional. The retailer's display name that could be used in our LLM answers.
3877
+ # Example - "Google"
3878
+ # Corresponds to the JSON property `retailerDisplayName`
3879
+ # @return [String]
3880
+ attr_accessor :retailer_display_name
3881
+
3882
+ def initialize(**args)
3883
+ update!(**args)
3884
+ end
3885
+
3886
+ # Update properties of this object
3887
+ def update!(**args)
3888
+ @catalog = args[:catalog] if args.key?(:catalog)
3889
+ @intent_classification_config = args[:intent_classification_config] if args.key?(:intent_classification_config)
3890
+ @retailer_display_name = args[:retailer_display_name] if args.key?(:retailer_display_name)
3891
+ end
3892
+ end
3893
+
3859
3894
  # Metadata associated with a create operation.
3860
3895
  class GoogleCloudRetailV2betaCreateModelMetadata
3861
3896
  include Google::Apis::Core::Hashable
@@ -4820,6 +4855,149 @@ module Google
4820
4855
  end
4821
4856
  end
4822
4857
 
4858
+ # The public proto to represent the intent classification config. It will be
4859
+ # converted to the internal proto in the backend.
4860
+ class GoogleCloudRetailV2betaIntentClassificationConfig
4861
+ include Google::Apis::Core::Hashable
4862
+
4863
+ # Optional. A list of keywords that will be used to classify the query to the "
4864
+ # BLOCKLISTED" intent type. The keywords are case insensitive.
4865
+ # Corresponds to the JSON property `blocklistKeywords`
4866
+ # @return [Array<String>]
4867
+ attr_accessor :blocklist_keywords
4868
+
4869
+ # Optional. A list of intent types that will be disabled for this customer. The
4870
+ # intent types must match one of the predefined intent types defined at https://
4871
+ # cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#
4872
+ # querytype
4873
+ # Corresponds to the JSON property `disabledIntentTypes`
4874
+ # @return [Array<String>]
4875
+ attr_accessor :disabled_intent_types
4876
+
4877
+ # Optional. A list of examples for intent classification.
4878
+ # Corresponds to the JSON property `example`
4879
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigExample>]
4880
+ attr_accessor :example
4881
+
4882
+ # Inline source for intent classifications.
4883
+ # Corresponds to the JSON property `inlineSource`
4884
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource]
4885
+ attr_accessor :inline_source
4886
+
4887
+ # Optional. Customers can use the preamble to specify any requirements for
4888
+ # blocklisting intent classification. This preamble will be added to the
4889
+ # blocklisting intent classification model prompt.
4890
+ # Corresponds to the JSON property `modelPreamble`
4891
+ # @return [String]
4892
+ attr_accessor :model_preamble
4893
+
4894
+ def initialize(**args)
4895
+ update!(**args)
4896
+ end
4897
+
4898
+ # Update properties of this object
4899
+ def update!(**args)
4900
+ @blocklist_keywords = args[:blocklist_keywords] if args.key?(:blocklist_keywords)
4901
+ @disabled_intent_types = args[:disabled_intent_types] if args.key?(:disabled_intent_types)
4902
+ @example = args[:example] if args.key?(:example)
4903
+ @inline_source = args[:inline_source] if args.key?(:inline_source)
4904
+ @model_preamble = args[:model_preamble] if args.key?(:model_preamble)
4905
+ end
4906
+ end
4907
+
4908
+ # An example for intent classification.
4909
+ class GoogleCloudRetailV2betaIntentClassificationConfigExample
4910
+ include Google::Apis::Core::Hashable
4911
+
4912
+ # Required. Whether the example is classified positively.
4913
+ # Corresponds to the JSON property `classifiedPositive`
4914
+ # @return [Boolean]
4915
+ attr_accessor :classified_positive
4916
+ alias_method :classified_positive?, :classified_positive
4917
+
4918
+ # Optional. The intent_type must match one of the predefined intent types
4919
+ # defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.
4920
+ # retail.v2alpha#querytype
4921
+ # Corresponds to the JSON property `intentType`
4922
+ # @return [String]
4923
+ attr_accessor :intent_type
4924
+
4925
+ # Required. Example query.
4926
+ # Corresponds to the JSON property `query`
4927
+ # @return [String]
4928
+ attr_accessor :query
4929
+
4930
+ # Optional. The reason for the intent classification. This is used to explain
4931
+ # the intent classification decision.
4932
+ # Corresponds to the JSON property `reason`
4933
+ # @return [String]
4934
+ attr_accessor :reason
4935
+
4936
+ def initialize(**args)
4937
+ update!(**args)
4938
+ end
4939
+
4940
+ # Update properties of this object
4941
+ def update!(**args)
4942
+ @classified_positive = args[:classified_positive] if args.key?(:classified_positive)
4943
+ @intent_type = args[:intent_type] if args.key?(:intent_type)
4944
+ @query = args[:query] if args.key?(:query)
4945
+ @reason = args[:reason] if args.key?(:reason)
4946
+ end
4947
+ end
4948
+
4949
+ # An inline force intent classification configuration.
4950
+ class GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent
4951
+ include Google::Apis::Core::Hashable
4952
+
4953
+ # Optional. The intent_type must match one of the predefined intent types
4954
+ # defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.
4955
+ # retail.v2alpha#querytype
4956
+ # Corresponds to the JSON property `intentType`
4957
+ # @return [String]
4958
+ attr_accessor :intent_type
4959
+
4960
+ # Optional. The operation to perform for the query.
4961
+ # Corresponds to the JSON property `operation`
4962
+ # @return [String]
4963
+ attr_accessor :operation
4964
+
4965
+ # Optional. A example query.
4966
+ # Corresponds to the JSON property `query`
4967
+ # @return [String]
4968
+ attr_accessor :query
4969
+
4970
+ def initialize(**args)
4971
+ update!(**args)
4972
+ end
4973
+
4974
+ # Update properties of this object
4975
+ def update!(**args)
4976
+ @intent_type = args[:intent_type] if args.key?(:intent_type)
4977
+ @operation = args[:operation] if args.key?(:operation)
4978
+ @query = args[:query] if args.key?(:query)
4979
+ end
4980
+ end
4981
+
4982
+ # Inline source for intent classifications.
4983
+ class GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
4984
+ include Google::Apis::Core::Hashable
4985
+
4986
+ # Optional. A list of inline force intent classifications.
4987
+ # Corresponds to the JSON property `inlineForceIntents`
4988
+ # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent>]
4989
+ attr_accessor :inline_force_intents
4990
+
4991
+ def initialize(**args)
4992
+ update!(**args)
4993
+ end
4994
+
4995
+ # Update properties of this object
4996
+ def update!(**args)
4997
+ @inline_force_intents = args[:inline_force_intents] if args.key?(:inline_force_intents)
4998
+ end
4999
+ end
5000
+
4823
5001
  # A floating point interval.
4824
5002
  class GoogleCloudRetailV2betaInterval
4825
5003
  include Google::Apis::Core::Hashable
@@ -7654,6 +7832,15 @@ module Google
7654
7832
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestTileNavigationSpec]
7655
7833
  attr_accessor :tile_navigation_spec
7656
7834
 
7835
+ # Optional. The user attributes that could be used for personalization of search
7836
+ # results. * Populate at most 100 key-value pairs per query. * Only supports
7837
+ # string keys and repeated string values. * Duplcate keys are not allowed within
7838
+ # a single query. Example: user_attributes: [ ` key: "pets" value ` values: "dog"
7839
+ # values: "cat" ` `, ` key: "state" value ` values: "CA" ` ` ]
7840
+ # Corresponds to the JSON property `userAttributes`
7841
+ # @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaStringList>]
7842
+ attr_accessor :user_attributes
7843
+
7657
7844
  # Information of an end user.
7658
7845
  # Corresponds to the JSON property `userInfo`
7659
7846
  # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
@@ -7728,6 +7915,7 @@ module Google
7728
7915
  @search_mode = args[:search_mode] if args.key?(:search_mode)
7729
7916
  @spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
7730
7917
  @tile_navigation_spec = args[:tile_navigation_spec] if args.key?(:tile_navigation_spec)
7918
+ @user_attributes = args[:user_attributes] if args.key?(:user_attributes)
7731
7919
  @user_info = args[:user_info] if args.key?(:user_info)
7732
7920
  @variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
7733
7921
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -8138,9 +8326,9 @@ module Google
8138
8326
  # @return [String]
8139
8327
  attr_accessor :condition
8140
8328
 
8141
- # Whether to pin unexpanded results. If this field is set to true, unexpanded
8142
- # products are always at the top of the search results, followed by the expanded
8143
- # results.
8329
+ # Whether to pin unexpanded results. The default value is false. If this field
8330
+ # is set to true, unexpanded products are always at the top of the search
8331
+ # results, followed by the expanded results.
8144
8332
  # Corresponds to the JSON property `pinUnexpandedResults`
8145
8333
  # @return [Boolean]
8146
8334
  attr_accessor :pin_unexpanded_results
@@ -8935,6 +9123,25 @@ module Google
8935
9123
  end
8936
9124
  end
8937
9125
 
9126
+ # A list of string values.
9127
+ class GoogleCloudRetailV2betaStringList
9128
+ include Google::Apis::Core::Hashable
9129
+
9130
+ # String values.
9131
+ # Corresponds to the JSON property `values`
9132
+ # @return [Array<String>]
9133
+ attr_accessor :values
9134
+
9135
+ def initialize(**args)
9136
+ update!(**args)
9137
+ end
9138
+
9139
+ # Update properties of this object
9140
+ def update!(**args)
9141
+ @values = args[:values] if args.key?(:values)
9142
+ end
9143
+ end
9144
+
8938
9145
  # This field specifies the tile information including an attribute key,
8939
9146
  # attribute value. More fields will be added in the future, eg: product id or
8940
9147
  # product counts, etc.
@@ -9217,9 +9424,9 @@ module Google
9217
9424
 
9218
9425
  # A unique identifier for tracking a visitor session with a length limit of 128
9219
9426
  # bytes. A session is an aggregation of an end user behavior in a time span. A
9220
- # general guideline to populate the sesion_id: 1. If user has no activity for 30
9221
- # min, a new session_id should be assigned. 2. The session_id should be unique
9222
- # across users, suggest use uuid or add visitor_id as prefix.
9427
+ # general guideline to populate the session_id: 1. If user has no activity for
9428
+ # 30 min, a new session_id should be assigned. 2. The session_id should be
9429
+ # unique across users, suggest use uuid or add visitor_id as prefix.
9223
9430
  # Corresponds to the JSON property `sessionId`
9224
9431
  # @return [String]
9225
9432
  attr_accessor :session_id
@@ -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.112.0"
19
+ GEM_VERSION = "0.114.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250515"
25
+ REVISION = "20250626"
26
26
  end
27
27
  end
28
28
  end
@@ -784,6 +784,12 @@ module Google
784
784
  include Google::Apis::Core::JsonObjectSupport
785
785
  end
786
786
 
787
+ class GoogleCloudRetailV2betaConversationalSearchCustomizationConfig
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
787
793
  class GoogleCloudRetailV2betaCreateModelMetadata
788
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
795
 
@@ -952,6 +958,30 @@ module Google
952
958
  include Google::Apis::Core::JsonObjectSupport
953
959
  end
954
960
 
961
+ class GoogleCloudRetailV2betaIntentClassificationConfig
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class GoogleCloudRetailV2betaIntentClassificationConfigExample
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
973
+ class GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
979
+ class GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
955
985
  class GoogleCloudRetailV2betaInterval
956
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
987
 
@@ -1528,6 +1558,12 @@ module Google
1528
1558
  include Google::Apis::Core::JsonObjectSupport
1529
1559
  end
1530
1560
 
1561
+ class GoogleCloudRetailV2betaStringList
1562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1563
+
1564
+ include Google::Apis::Core::JsonObjectSupport
1565
+ end
1566
+
1531
1567
  class GoogleCloudRetailV2betaTile
1532
1568
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1569
 
@@ -2721,6 +2757,16 @@ module Google
2721
2757
  end
2722
2758
  end
2723
2759
 
2760
+ class GoogleCloudRetailV2betaConversationalSearchCustomizationConfig
2761
+ # @private
2762
+ class Representation < Google::Apis::Core::JsonRepresentation
2763
+ property :catalog, as: 'catalog'
2764
+ property :intent_classification_config, as: 'intentClassificationConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfig::Representation
2765
+
2766
+ property :retailer_display_name, as: 'retailerDisplayName'
2767
+ end
2768
+ end
2769
+
2724
2770
  class GoogleCloudRetailV2betaCreateModelMetadata
2725
2771
  # @private
2726
2772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2985,6 +3031,46 @@ module Google
2985
3031
  end
2986
3032
  end
2987
3033
 
3034
+ class GoogleCloudRetailV2betaIntentClassificationConfig
3035
+ # @private
3036
+ class Representation < Google::Apis::Core::JsonRepresentation
3037
+ collection :blocklist_keywords, as: 'blocklistKeywords'
3038
+ collection :disabled_intent_types, as: 'disabledIntentTypes'
3039
+ collection :example, as: 'example', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigExample, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigExample::Representation
3040
+
3041
+ property :inline_source, as: 'inlineSource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource::Representation
3042
+
3043
+ property :model_preamble, as: 'modelPreamble'
3044
+ end
3045
+ end
3046
+
3047
+ class GoogleCloudRetailV2betaIntentClassificationConfigExample
3048
+ # @private
3049
+ class Representation < Google::Apis::Core::JsonRepresentation
3050
+ property :classified_positive, as: 'classifiedPositive'
3051
+ property :intent_type, as: 'intentType'
3052
+ property :query, as: 'query'
3053
+ property :reason, as: 'reason'
3054
+ end
3055
+ end
3056
+
3057
+ class GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent
3058
+ # @private
3059
+ class Representation < Google::Apis::Core::JsonRepresentation
3060
+ property :intent_type, as: 'intentType'
3061
+ property :operation, as: 'operation'
3062
+ property :query, as: 'query'
3063
+ end
3064
+ end
3065
+
3066
+ class GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
3067
+ # @private
3068
+ class Representation < Google::Apis::Core::JsonRepresentation
3069
+ collection :inline_force_intents, as: 'inlineForceIntents', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent::Representation
3070
+
3071
+ end
3072
+ end
3073
+
2988
3074
  class GoogleCloudRetailV2betaInterval
2989
3075
  # @private
2990
3076
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3678,6 +3764,8 @@ module Google
3678
3764
 
3679
3765
  property :tile_navigation_spec, as: 'tileNavigationSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestTileNavigationSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestTileNavigationSpec::Representation
3680
3766
 
3767
+ hash :user_attributes, as: 'userAttributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaStringList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaStringList::Representation
3768
+
3681
3769
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
3682
3770
 
3683
3771
  collection :variant_rollup_keys, as: 'variantRollupKeys'
@@ -3968,6 +4056,13 @@ module Google
3968
4056
  end
3969
4057
  end
3970
4058
 
4059
+ class GoogleCloudRetailV2betaStringList
4060
+ # @private
4061
+ class Representation < Google::Apis::Core::JsonRepresentation
4062
+ collection :values, as: 'values'
4063
+ end
4064
+ end
4065
+
3971
4066
  class GoogleCloudRetailV2betaTile
3972
4067
  # @private
3973
4068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -311,6 +311,37 @@ module Google
311
311
  execute_or_queue_command(command, &block)
312
312
  end
313
313
 
314
+ # Returns the conversational search customization config for a given catalog.
315
+ # @param [String] name
316
+ # Required. Resource name of the parent catalog. Format: projects/`project`/
317
+ # locations/`location`/catalogs/`catalog`
318
+ # @param [String] fields
319
+ # Selector specifying which fields to include in a partial response.
320
+ # @param [String] quota_user
321
+ # Available to use for quota purposes for server-side applications. Can be any
322
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
323
+ # @param [Google::Apis::RequestOptions] options
324
+ # Request-specific options
325
+ #
326
+ # @yield [result, err] Result & error if block supplied
327
+ # @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig] parsed result object
328
+ # @yieldparam err [StandardError] error object if request failed
329
+ #
330
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig]
331
+ #
332
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
333
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
334
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
335
+ def get_project_location_catalog_conversational_search_customization_config(name, fields: nil, quota_user: nil, options: nil, &block)
336
+ command = make_simple_command(:get, 'v2beta/{+name}/conversationalSearchCustomizationConfig', options)
337
+ command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig::Representation
338
+ command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig
339
+ command.params['name'] = name unless name.nil?
340
+ command.query['fields'] = fields unless fields.nil?
341
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
342
+ execute_or_queue_command(command, &block)
343
+ end
344
+
314
345
  # Get which branch is currently default branch set by CatalogService.
315
346
  # SetDefaultBranch method under a specified parent catalog.
316
347
  # @param [String] catalog
@@ -592,6 +623,45 @@ module Google
592
623
  execute_or_queue_command(command, &block)
593
624
  end
594
625
 
626
+ # Updates the conversational search customization config for a given catalog.
627
+ # @param [String] catalog
628
+ # Required. Resource name of the catalog. Format: projects/`project`/locations/`
629
+ # location`/catalogs/`catalog`
630
+ # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig] google_cloud_retail_v2beta_conversational_search_customization_config_object
631
+ # @param [String] update_mask
632
+ # Optional. Indicates which fields in the provided
633
+ # ConversationalSearchCustomizationConfig to update. If not set or empty, all
634
+ # supported fields are updated.
635
+ # @param [String] fields
636
+ # Selector specifying which fields to include in a partial response.
637
+ # @param [String] quota_user
638
+ # Available to use for quota purposes for server-side applications. Can be any
639
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
640
+ # @param [Google::Apis::RequestOptions] options
641
+ # Request-specific options
642
+ #
643
+ # @yield [result, err] Result & error if block supplied
644
+ # @yieldparam result [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig] parsed result object
645
+ # @yieldparam err [StandardError] error object if request failed
646
+ #
647
+ # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig]
648
+ #
649
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
650
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
651
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
652
+ def update_project_location_catalog_conversational_search_customization_config(catalog, google_cloud_retail_v2beta_conversational_search_customization_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
653
+ command = make_simple_command(:patch, 'v2beta/{+catalog}/conversationalSearchCustomizationConfig', options)
654
+ command.request_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig::Representation
655
+ command.request_object = google_cloud_retail_v2beta_conversational_search_customization_config_object
656
+ command.response_representation = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig::Representation
657
+ command.response_class = Google::Apis::RetailV2beta::GoogleCloudRetailV2betaConversationalSearchCustomizationConfig
658
+ command.params['catalog'] = catalog unless catalog.nil?
659
+ command.query['updateMask'] = update_mask unless update_mask.nil?
660
+ command.query['fields'] = fields unless fields.nil?
661
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
662
+ execute_or_queue_command(command, &block)
663
+ end
664
+
595
665
  # Allows management of individual questions.
596
666
  # @param [String] catalog
597
667
  # Required. Resource name of the catalog. Format: projects/`project`/locations/`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.112.0
4
+ version: 0.114.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.112.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.114.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
62
62
  rdoc_options: []
63
63
  require_paths: