google-apis-retail_v2alpha 0.140.0 → 0.141.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: 5408268e9df79ea3dc57a11246329f475adc76fe0a5d0c05f681c184220167e1
|
|
4
|
+
data.tar.gz: bab6e51bc0394adce07b4f7e5d555625ea5b27d0863789a09d509e319e56f620
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27419301f5a31a3de852bae276b2cef0e5bce3b3bd024c9d17432037d3c545bcce3de9728ecb4281fa9f8a03e6c3843c9e3463c19ebbaf64af5824c8a5f61c96
|
|
7
|
+
data.tar.gz: b8f699aa4697115e3038bda9ce15fb8a50f6586754ac55cfce84507d5075e2821ebfc1cf60da271a999d704d7a6eb40694a5e64d5609d459288bb2561e275e17
|
data/CHANGELOG.md
CHANGED
|
@@ -2333,6 +2333,12 @@ module Google
|
|
|
2333
2333
|
class GoogleCloudRetailV2alphaCompleteQueryResponse
|
|
2334
2334
|
include Google::Apis::Core::Hashable
|
|
2335
2335
|
|
|
2336
|
+
# Conversational prompts to trigger agents like Shopping Agent. This is an
|
|
2337
|
+
# experimental feature for select customers.
|
|
2338
|
+
# Corresponds to the JSON property `agentPrompts`
|
|
2339
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt>]
|
|
2340
|
+
attr_accessor :agent_prompts
|
|
2341
|
+
|
|
2336
2342
|
# A map of matched attribute suggestions. This field is only available for `
|
|
2337
2343
|
# cloud-retail` dataset. Current supported keys: * `brands` * `categories`
|
|
2338
2344
|
# Corresponds to the JSON property `attributeResults`
|
|
@@ -2371,6 +2377,7 @@ module Google
|
|
|
2371
2377
|
|
|
2372
2378
|
# Update properties of this object
|
|
2373
2379
|
def update!(**args)
|
|
2380
|
+
@agent_prompts = args[:agent_prompts] if args.key?(:agent_prompts)
|
|
2374
2381
|
@attribute_results = args[:attribute_results] if args.key?(:attribute_results)
|
|
2375
2382
|
@attribution_token = args[:attribution_token] if args.key?(:attribution_token)
|
|
2376
2383
|
@completion_results = args[:completion_results] if args.key?(:completion_results)
|
|
@@ -2378,6 +2385,25 @@ module Google
|
|
|
2378
2385
|
end
|
|
2379
2386
|
end
|
|
2380
2387
|
|
|
2388
|
+
# A conversational prompt to trigger agents like Shopping Agent.
|
|
2389
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt
|
|
2390
|
+
include Google::Apis::Core::Hashable
|
|
2391
|
+
|
|
2392
|
+
# The conversational prompt string.
|
|
2393
|
+
# Corresponds to the JSON property `prompt`
|
|
2394
|
+
# @return [String]
|
|
2395
|
+
attr_accessor :prompt
|
|
2396
|
+
|
|
2397
|
+
def initialize(**args)
|
|
2398
|
+
update!(**args)
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2401
|
+
# Update properties of this object
|
|
2402
|
+
def update!(**args)
|
|
2403
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
|
2404
|
+
end
|
|
2405
|
+
end
|
|
2406
|
+
|
|
2381
2407
|
# Resource that represents attribute results.
|
|
2382
2408
|
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
|
2383
2409
|
include Google::Apis::Core::Hashable
|
|
@@ -2401,12 +2427,11 @@ module Google
|
|
|
2401
2427
|
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult
|
|
2402
2428
|
include Google::Apis::Core::Hashable
|
|
2403
2429
|
|
|
2404
|
-
#
|
|
2405
|
-
#
|
|
2406
|
-
#
|
|
2407
|
-
# the Retail support team.
|
|
2430
|
+
# Deprecated: Use CompleteQueryResponse.agent_prompts instead. Conversational
|
|
2431
|
+
# prompts to trigger agents like Shopping Agent. There may be multiple prompts
|
|
2432
|
+
# for a single suggestion. This is an experimental feature for select customers.
|
|
2408
2433
|
# Corresponds to the JSON property `agentPrompts`
|
|
2409
|
-
# @return [Array<Google::Apis::RetailV2alpha::
|
|
2434
|
+
# @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt>]
|
|
2410
2435
|
attr_accessor :agent_prompts
|
|
2411
2436
|
|
|
2412
2437
|
# Custom attributes for the suggestion term. * For `user-data`, the attributes
|
|
@@ -2451,25 +2476,6 @@ module Google
|
|
|
2451
2476
|
end
|
|
2452
2477
|
end
|
|
2453
2478
|
|
|
2454
|
-
# A conversational prompt to trigger agents like Shopping Agent.
|
|
2455
|
-
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResultAgentPrompt
|
|
2456
|
-
include Google::Apis::Core::Hashable
|
|
2457
|
-
|
|
2458
|
-
# The conversational prompt string.
|
|
2459
|
-
# Corresponds to the JSON property `prompt`
|
|
2460
|
-
# @return [String]
|
|
2461
|
-
attr_accessor :prompt
|
|
2462
|
-
|
|
2463
|
-
def initialize(**args)
|
|
2464
|
-
update!(**args)
|
|
2465
|
-
end
|
|
2466
|
-
|
|
2467
|
-
# Update properties of this object
|
|
2468
|
-
def update!(**args)
|
|
2469
|
-
@prompt = args[:prompt] if args.key?(:prompt)
|
|
2470
|
-
end
|
|
2471
|
-
end
|
|
2472
|
-
|
|
2473
2479
|
# Deprecated: Recent search of this user.
|
|
2474
2480
|
class GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult
|
|
2475
2481
|
include Google::Apis::Core::Hashable
|
|
@@ -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.141.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260826"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -472,19 +472,19 @@ module Google
|
|
|
472
472
|
include Google::Apis::Core::JsonObjectSupport
|
|
473
473
|
end
|
|
474
474
|
|
|
475
|
-
class
|
|
475
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt
|
|
476
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
477
|
|
|
478
478
|
include Google::Apis::Core::JsonObjectSupport
|
|
479
479
|
end
|
|
480
480
|
|
|
481
|
-
class
|
|
481
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
|
482
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
483
|
|
|
484
484
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
485
|
end
|
|
486
486
|
|
|
487
|
-
class
|
|
487
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult
|
|
488
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
489
|
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -2452,6 +2452,8 @@ module Google
|
|
|
2452
2452
|
class GoogleCloudRetailV2alphaCompleteQueryResponse
|
|
2453
2453
|
# @private
|
|
2454
2454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2455
|
+
collection :agent_prompts, as: 'agentPrompts', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt::Representation
|
|
2456
|
+
|
|
2455
2457
|
hash :attribute_results, as: 'attributeResults', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult::Representation
|
|
2456
2458
|
|
|
2457
2459
|
property :attribution_token, as: 'attributionToken'
|
|
@@ -2462,6 +2464,13 @@ module Google
|
|
|
2462
2464
|
end
|
|
2463
2465
|
end
|
|
2464
2466
|
|
|
2467
|
+
class GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt
|
|
2468
|
+
# @private
|
|
2469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2470
|
+
property :prompt, as: 'prompt'
|
|
2471
|
+
end
|
|
2472
|
+
end
|
|
2473
|
+
|
|
2465
2474
|
class GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult
|
|
2466
2475
|
# @private
|
|
2467
2476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2472,7 +2481,7 @@ module Google
|
|
|
2472
2481
|
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult
|
|
2473
2482
|
# @private
|
|
2474
2483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2475
|
-
collection :agent_prompts, as: 'agentPrompts', class: Google::Apis::RetailV2alpha::
|
|
2484
|
+
collection :agent_prompts, as: 'agentPrompts', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseAgentPrompt::Representation
|
|
2476
2485
|
|
|
2477
2486
|
hash :attributes, as: 'attributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute::Representation
|
|
2478
2487
|
|
|
@@ -2483,13 +2492,6 @@ module Google
|
|
|
2483
2492
|
end
|
|
2484
2493
|
end
|
|
2485
2494
|
|
|
2486
|
-
class GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResultAgentPrompt
|
|
2487
|
-
# @private
|
|
2488
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2489
|
-
property :prompt, as: 'prompt'
|
|
2490
|
-
end
|
|
2491
|
-
end
|
|
2492
|
-
|
|
2493
2495
|
class GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult
|
|
2494
2496
|
# @private
|
|
2495
2497
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.141.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.141.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:
|