google-apis-retail_v2alpha 0.119.0 → 0.121.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02e499e88dca5a3809b996a3d11ec1bb17c90d973a721597e2ebaf094759f671
|
4
|
+
data.tar.gz: 968fab261a30f01e2ead110dc5a1d8248f6e3446539cc1e7b122fb44a42e12f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eed7a21db041697fdb1f7e10ecd02b52f58ed388917a5f9f83ea914d52fa9fa97d85607b769bd24c3c3cccc49c90b0c01ee0d36c5c1487c85308ec5dc4f6337
|
7
|
+
data.tar.gz: 8be24ac7ca99d95b2912a5686abc9493b4139e475af60cd23319b550a6a64278f898137ccc85118a719b60f5843cfb0f39e64d8cd3dc8965e94727cf05a585d7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2alpha
|
2
2
|
|
3
|
+
### v0.121.0 (2025-07-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250626
|
6
|
+
|
7
|
+
### v0.120.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250613
|
10
|
+
|
3
11
|
### v0.119.0 (2025-06-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250605
|
@@ -2774,6 +2774,41 @@ module Google
|
|
2774
2774
|
end
|
2775
2775
|
end
|
2776
2776
|
|
2777
|
+
# The public proto to represent the conversational search customization config.
|
2778
|
+
# It will be converted to the internal proto in the backend.
|
2779
|
+
class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig
|
2780
|
+
include Google::Apis::Core::Hashable
|
2781
|
+
|
2782
|
+
# Required. Resource name of the catalog. Format: projects/`project`/locations/`
|
2783
|
+
# location`/catalogs/`catalog`
|
2784
|
+
# Corresponds to the JSON property `catalog`
|
2785
|
+
# @return [String]
|
2786
|
+
attr_accessor :catalog
|
2787
|
+
|
2788
|
+
# The public proto to represent the intent classification config. It will be
|
2789
|
+
# converted to the internal proto in the backend.
|
2790
|
+
# Corresponds to the JSON property `intentClassificationConfig`
|
2791
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfig]
|
2792
|
+
attr_accessor :intent_classification_config
|
2793
|
+
|
2794
|
+
# Optional. The retailer's display name that could be used in our LLM answers.
|
2795
|
+
# Example - "Google"
|
2796
|
+
# Corresponds to the JSON property `retailerDisplayName`
|
2797
|
+
# @return [String]
|
2798
|
+
attr_accessor :retailer_display_name
|
2799
|
+
|
2800
|
+
def initialize(**args)
|
2801
|
+
update!(**args)
|
2802
|
+
end
|
2803
|
+
|
2804
|
+
# Update properties of this object
|
2805
|
+
def update!(**args)
|
2806
|
+
@catalog = args[:catalog] if args.key?(:catalog)
|
2807
|
+
@intent_classification_config = args[:intent_classification_config] if args.key?(:intent_classification_config)
|
2808
|
+
@retailer_display_name = args[:retailer_display_name] if args.key?(:retailer_display_name)
|
2809
|
+
end
|
2810
|
+
end
|
2811
|
+
|
2777
2812
|
# Request message for ConversationalSearchService.ConversationalSearch method.
|
2778
2813
|
class GoogleCloudRetailV2alphaConversationalSearchRequest
|
2779
2814
|
include Google::Apis::Core::Hashable
|
@@ -4206,6 +4241,149 @@ module Google
|
|
4206
4241
|
end
|
4207
4242
|
end
|
4208
4243
|
|
4244
|
+
# The public proto to represent the intent classification config. It will be
|
4245
|
+
# converted to the internal proto in the backend.
|
4246
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfig
|
4247
|
+
include Google::Apis::Core::Hashable
|
4248
|
+
|
4249
|
+
# Optional. A list of keywords that will be used to classify the query to the "
|
4250
|
+
# BLOCKLISTED" intent type. The keywords are case insensitive.
|
4251
|
+
# Corresponds to the JSON property `blocklistKeywords`
|
4252
|
+
# @return [Array<String>]
|
4253
|
+
attr_accessor :blocklist_keywords
|
4254
|
+
|
4255
|
+
# Optional. A list of intent types that will be disabled for this customer. The
|
4256
|
+
# intent types must match one of the predefined intent types defined at https://
|
4257
|
+
# cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#
|
4258
|
+
# querytype
|
4259
|
+
# Corresponds to the JSON property `disabledIntentTypes`
|
4260
|
+
# @return [Array<String>]
|
4261
|
+
attr_accessor :disabled_intent_types
|
4262
|
+
|
4263
|
+
# Optional. A list of examples for intent classification.
|
4264
|
+
# Corresponds to the JSON property `example`
|
4265
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigExample>]
|
4266
|
+
attr_accessor :example
|
4267
|
+
|
4268
|
+
# Inline source for intent classifications.
|
4269
|
+
# Corresponds to the JSON property `inlineSource`
|
4270
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource]
|
4271
|
+
attr_accessor :inline_source
|
4272
|
+
|
4273
|
+
# Optional. Customers can use the preamble to specify any requirements for
|
4274
|
+
# blocklisting intent classification. This preamble will be added to the
|
4275
|
+
# blocklisting intent classification model prompt.
|
4276
|
+
# Corresponds to the JSON property `modelPreamble`
|
4277
|
+
# @return [String]
|
4278
|
+
attr_accessor :model_preamble
|
4279
|
+
|
4280
|
+
def initialize(**args)
|
4281
|
+
update!(**args)
|
4282
|
+
end
|
4283
|
+
|
4284
|
+
# Update properties of this object
|
4285
|
+
def update!(**args)
|
4286
|
+
@blocklist_keywords = args[:blocklist_keywords] if args.key?(:blocklist_keywords)
|
4287
|
+
@disabled_intent_types = args[:disabled_intent_types] if args.key?(:disabled_intent_types)
|
4288
|
+
@example = args[:example] if args.key?(:example)
|
4289
|
+
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
4290
|
+
@model_preamble = args[:model_preamble] if args.key?(:model_preamble)
|
4291
|
+
end
|
4292
|
+
end
|
4293
|
+
|
4294
|
+
# An example for intent classification.
|
4295
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigExample
|
4296
|
+
include Google::Apis::Core::Hashable
|
4297
|
+
|
4298
|
+
# Required. Whether the example is classified positively.
|
4299
|
+
# Corresponds to the JSON property `classifiedPositive`
|
4300
|
+
# @return [Boolean]
|
4301
|
+
attr_accessor :classified_positive
|
4302
|
+
alias_method :classified_positive?, :classified_positive
|
4303
|
+
|
4304
|
+
# Optional. The intent_type must match one of the predefined intent types
|
4305
|
+
# defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.
|
4306
|
+
# retail.v2alpha#querytype
|
4307
|
+
# Corresponds to the JSON property `intentType`
|
4308
|
+
# @return [String]
|
4309
|
+
attr_accessor :intent_type
|
4310
|
+
|
4311
|
+
# Required. Example query.
|
4312
|
+
# Corresponds to the JSON property `query`
|
4313
|
+
# @return [String]
|
4314
|
+
attr_accessor :query
|
4315
|
+
|
4316
|
+
# Optional. The reason for the intent classification. This is used to explain
|
4317
|
+
# the intent classification decision.
|
4318
|
+
# Corresponds to the JSON property `reason`
|
4319
|
+
# @return [String]
|
4320
|
+
attr_accessor :reason
|
4321
|
+
|
4322
|
+
def initialize(**args)
|
4323
|
+
update!(**args)
|
4324
|
+
end
|
4325
|
+
|
4326
|
+
# Update properties of this object
|
4327
|
+
def update!(**args)
|
4328
|
+
@classified_positive = args[:classified_positive] if args.key?(:classified_positive)
|
4329
|
+
@intent_type = args[:intent_type] if args.key?(:intent_type)
|
4330
|
+
@query = args[:query] if args.key?(:query)
|
4331
|
+
@reason = args[:reason] if args.key?(:reason)
|
4332
|
+
end
|
4333
|
+
end
|
4334
|
+
|
4335
|
+
# An inline force intent classification configuration.
|
4336
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent
|
4337
|
+
include Google::Apis::Core::Hashable
|
4338
|
+
|
4339
|
+
# Optional. The intent_type must match one of the predefined intent types
|
4340
|
+
# defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.
|
4341
|
+
# retail.v2alpha#querytype
|
4342
|
+
# Corresponds to the JSON property `intentType`
|
4343
|
+
# @return [String]
|
4344
|
+
attr_accessor :intent_type
|
4345
|
+
|
4346
|
+
# Optional. The operation to perform for the query.
|
4347
|
+
# Corresponds to the JSON property `operation`
|
4348
|
+
# @return [String]
|
4349
|
+
attr_accessor :operation
|
4350
|
+
|
4351
|
+
# Optional. A example query.
|
4352
|
+
# Corresponds to the JSON property `query`
|
4353
|
+
# @return [String]
|
4354
|
+
attr_accessor :query
|
4355
|
+
|
4356
|
+
def initialize(**args)
|
4357
|
+
update!(**args)
|
4358
|
+
end
|
4359
|
+
|
4360
|
+
# Update properties of this object
|
4361
|
+
def update!(**args)
|
4362
|
+
@intent_type = args[:intent_type] if args.key?(:intent_type)
|
4363
|
+
@operation = args[:operation] if args.key?(:operation)
|
4364
|
+
@query = args[:query] if args.key?(:query)
|
4365
|
+
end
|
4366
|
+
end
|
4367
|
+
|
4368
|
+
# Inline source for intent classifications.
|
4369
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource
|
4370
|
+
include Google::Apis::Core::Hashable
|
4371
|
+
|
4372
|
+
# Optional. A list of inline force intent classifications.
|
4373
|
+
# Corresponds to the JSON property `inlineForceIntents`
|
4374
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent>]
|
4375
|
+
attr_accessor :inline_force_intents
|
4376
|
+
|
4377
|
+
def initialize(**args)
|
4378
|
+
update!(**args)
|
4379
|
+
end
|
4380
|
+
|
4381
|
+
# Update properties of this object
|
4382
|
+
def update!(**args)
|
4383
|
+
@inline_force_intents = args[:inline_force_intents] if args.key?(:inline_force_intents)
|
4384
|
+
end
|
4385
|
+
end
|
4386
|
+
|
4209
4387
|
# A floating point interval.
|
4210
4388
|
class GoogleCloudRetailV2alphaInterval
|
4211
4389
|
include Google::Apis::Core::Hashable
|
@@ -7986,9 +8164,9 @@ module Google
|
|
7986
8164
|
# @return [String]
|
7987
8165
|
attr_accessor :condition
|
7988
8166
|
|
7989
|
-
# Whether to pin unexpanded results.
|
7990
|
-
# products are always at the top of the search
|
7991
|
-
# results.
|
8167
|
+
# Whether to pin unexpanded results. The default value is false. If this field
|
8168
|
+
# is set to true, unexpanded products are always at the top of the search
|
8169
|
+
# results, followed by the expanded results.
|
7992
8170
|
# Corresponds to the JSON property `pinUnexpandedResults`
|
7993
8171
|
# @return [Boolean]
|
7994
8172
|
attr_accessor :pin_unexpanded_results
|
@@ -9110,9 +9288,9 @@ module Google
|
|
9110
9288
|
|
9111
9289
|
# A unique identifier for tracking a visitor session with a length limit of 128
|
9112
9290
|
# bytes. A session is an aggregation of an end user behavior in a time span. A
|
9113
|
-
# general guideline to populate the
|
9114
|
-
# min, a new session_id should be assigned. 2. The session_id should be
|
9115
|
-
# across users, suggest use uuid or add visitor_id as prefix.
|
9291
|
+
# general guideline to populate the session_id: 1. If user has no activity for
|
9292
|
+
# 30 min, a new session_id should be assigned. 2. The session_id should be
|
9293
|
+
# unique across users, suggest use uuid or add visitor_id as prefix.
|
9116
9294
|
# Corresponds to the JSON property `sessionId`
|
9117
9295
|
# @return [String]
|
9118
9296
|
attr_accessor :session_id
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.121.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250626"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -532,6 +532,12 @@ module Google
|
|
532
532
|
include Google::Apis::Core::JsonObjectSupport
|
533
533
|
end
|
534
534
|
|
535
|
+
class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
535
541
|
class GoogleCloudRetailV2alphaConversationalSearchRequest
|
536
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
543
|
|
@@ -790,6 +796,30 @@ module Google
|
|
790
796
|
include Google::Apis::Core::JsonObjectSupport
|
791
797
|
end
|
792
798
|
|
799
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfig
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
|
+
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
803
|
+
end
|
804
|
+
|
805
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigExample
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
|
+
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
809
|
+
end
|
810
|
+
|
811
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
|
+
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
815
|
+
end
|
816
|
+
|
817
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
|
+
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
821
|
+
end
|
822
|
+
|
793
823
|
class GoogleCloudRetailV2alphaInterval
|
794
824
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
825
|
|
@@ -2519,6 +2549,16 @@ module Google
|
|
2519
2549
|
end
|
2520
2550
|
end
|
2521
2551
|
|
2552
|
+
class GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig
|
2553
|
+
# @private
|
2554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2555
|
+
property :catalog, as: 'catalog'
|
2556
|
+
property :intent_classification_config, as: 'intentClassificationConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfig::Representation
|
2557
|
+
|
2558
|
+
property :retailer_display_name, as: 'retailerDisplayName'
|
2559
|
+
end
|
2560
|
+
end
|
2561
|
+
|
2522
2562
|
class GoogleCloudRetailV2alphaConversationalSearchRequest
|
2523
2563
|
# @private
|
2524
2564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2923,6 +2963,46 @@ module Google
|
|
2923
2963
|
end
|
2924
2964
|
end
|
2925
2965
|
|
2966
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfig
|
2967
|
+
# @private
|
2968
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2969
|
+
collection :blocklist_keywords, as: 'blocklistKeywords'
|
2970
|
+
collection :disabled_intent_types, as: 'disabledIntentTypes'
|
2971
|
+
collection :example, as: 'example', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigExample, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigExample::Representation
|
2972
|
+
|
2973
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource::Representation
|
2974
|
+
|
2975
|
+
property :model_preamble, as: 'modelPreamble'
|
2976
|
+
end
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigExample
|
2980
|
+
# @private
|
2981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2982
|
+
property :classified_positive, as: 'classifiedPositive'
|
2983
|
+
property :intent_type, as: 'intentType'
|
2984
|
+
property :query, as: 'query'
|
2985
|
+
property :reason, as: 'reason'
|
2986
|
+
end
|
2987
|
+
end
|
2988
|
+
|
2989
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent
|
2990
|
+
# @private
|
2991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2992
|
+
property :intent_type, as: 'intentType'
|
2993
|
+
property :operation, as: 'operation'
|
2994
|
+
property :query, as: 'query'
|
2995
|
+
end
|
2996
|
+
end
|
2997
|
+
|
2998
|
+
class GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource
|
2999
|
+
# @private
|
3000
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3001
|
+
collection :inline_force_intents, as: 'inlineForceIntents', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent::Representation
|
3002
|
+
|
3003
|
+
end
|
3004
|
+
end
|
3005
|
+
|
2926
3006
|
class GoogleCloudRetailV2alphaInterval
|
2927
3007
|
# @private
|
2928
3008
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -482,6 +482,37 @@ module Google
|
|
482
482
|
execute_or_queue_command(command, &block)
|
483
483
|
end
|
484
484
|
|
485
|
+
# Returns the conversational search customization config for a given catalog.
|
486
|
+
# @param [String] name
|
487
|
+
# Required. Resource name of the parent catalog. Format: projects/`project`/
|
488
|
+
# locations/`location`/catalogs/`catalog`
|
489
|
+
# @param [String] fields
|
490
|
+
# Selector specifying which fields to include in a partial response.
|
491
|
+
# @param [String] quota_user
|
492
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
493
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
494
|
+
# @param [Google::Apis::RequestOptions] options
|
495
|
+
# Request-specific options
|
496
|
+
#
|
497
|
+
# @yield [result, err] Result & error if block supplied
|
498
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig] parsed result object
|
499
|
+
# @yieldparam err [StandardError] error object if request failed
|
500
|
+
#
|
501
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig]
|
502
|
+
#
|
503
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
504
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
505
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
506
|
+
def get_project_location_catalog_conversational_search_customization_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
507
|
+
command = make_simple_command(:get, 'v2alpha/{+name}/conversationalSearchCustomizationConfig', options)
|
508
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig::Representation
|
509
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig
|
510
|
+
command.params['name'] = name unless name.nil?
|
511
|
+
command.query['fields'] = fields unless fields.nil?
|
512
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
513
|
+
execute_or_queue_command(command, &block)
|
514
|
+
end
|
515
|
+
|
485
516
|
# Get which branch is currently default branch set by CatalogService.
|
486
517
|
# SetDefaultBranch method under a specified parent catalog.
|
487
518
|
# @param [String] catalog
|
@@ -763,6 +794,45 @@ module Google
|
|
763
794
|
execute_or_queue_command(command, &block)
|
764
795
|
end
|
765
796
|
|
797
|
+
# Updates the conversational search customization config for a given catalog.
|
798
|
+
# @param [String] catalog
|
799
|
+
# Required. Resource name of the catalog. Format: projects/`project`/locations/`
|
800
|
+
# location`/catalogs/`catalog`
|
801
|
+
# @param [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig] google_cloud_retail_v2alpha_conversational_search_customization_config_object
|
802
|
+
# @param [String] update_mask
|
803
|
+
# Optional. Indicates which fields in the provided
|
804
|
+
# ConversationalSearchCustomizationConfig to update. If not set or empty, all
|
805
|
+
# supported fields are updated.
|
806
|
+
# @param [String] fields
|
807
|
+
# Selector specifying which fields to include in a partial response.
|
808
|
+
# @param [String] quota_user
|
809
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
810
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
811
|
+
# @param [Google::Apis::RequestOptions] options
|
812
|
+
# Request-specific options
|
813
|
+
#
|
814
|
+
# @yield [result, err] Result & error if block supplied
|
815
|
+
# @yieldparam result [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig] parsed result object
|
816
|
+
# @yieldparam err [StandardError] error object if request failed
|
817
|
+
#
|
818
|
+
# @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig]
|
819
|
+
#
|
820
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
821
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
822
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
823
|
+
def update_project_location_catalog_conversational_search_customization_config(catalog, google_cloud_retail_v2alpha_conversational_search_customization_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
824
|
+
command = make_simple_command(:patch, 'v2alpha/{+catalog}/conversationalSearchCustomizationConfig', options)
|
825
|
+
command.request_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig::Representation
|
826
|
+
command.request_object = google_cloud_retail_v2alpha_conversational_search_customization_config_object
|
827
|
+
command.response_representation = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig::Representation
|
828
|
+
command.response_class = Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig
|
829
|
+
command.params['catalog'] = catalog unless catalog.nil?
|
830
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
831
|
+
command.query['fields'] = fields unless fields.nil?
|
832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
833
|
+
execute_or_queue_command(command, &block)
|
834
|
+
end
|
835
|
+
|
766
836
|
# Allows management of individual questions.
|
767
837
|
# @param [String] catalog
|
768
838
|
# 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_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.121.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_v2alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.121.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|