google-apis-retail_v2beta 0.113.0 → 0.115.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: 52ec22acff98f4674e97c51f316b3c82c6adab6d9d1022c0837872d71322edc5
|
4
|
+
data.tar.gz: 6177af6a935bb4725f405347de17a557825ede2fa927d4bf8392c7dfa2540555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6a103a35827110961808eb7fd136af562c00bc9fe1b37a98a50da47de4c649b3d6943ba206cc89b2d23a3f4cb41429b45b6ea98e601af7d32af7e089591767c
|
7
|
+
data.tar.gz: 1f9306f061a9e5aa46c3749f6090c7c56d9eee9c82ac20c8367de5dc49a1e6ff916a63dce971852c2820e7a33f44bb29b0249057fcefa6a87dd7d131cc54d873
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-retail_v2beta
|
2
2
|
|
3
|
+
### v0.115.0 (2025-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250703
|
6
|
+
|
7
|
+
### v0.114.0 (2025-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250626
|
10
|
+
|
3
11
|
### v0.113.0 (2025-06-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250613
|
@@ -4879,6 +4879,11 @@ module Google
|
|
4879
4879
|
# @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigExample>]
|
4880
4880
|
attr_accessor :example
|
4881
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
|
+
|
4882
4887
|
# Optional. Customers can use the preamble to specify any requirements for
|
4883
4888
|
# blocklisting intent classification. This preamble will be added to the
|
4884
4889
|
# blocklisting intent classification model prompt.
|
@@ -4895,6 +4900,7 @@ module Google
|
|
4895
4900
|
@blocklist_keywords = args[:blocklist_keywords] if args.key?(:blocklist_keywords)
|
4896
4901
|
@disabled_intent_types = args[:disabled_intent_types] if args.key?(:disabled_intent_types)
|
4897
4902
|
@example = args[:example] if args.key?(:example)
|
4903
|
+
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
4898
4904
|
@model_preamble = args[:model_preamble] if args.key?(:model_preamble)
|
4899
4905
|
end
|
4900
4906
|
end
|
@@ -4903,6 +4909,12 @@ module Google
|
|
4903
4909
|
class GoogleCloudRetailV2betaIntentClassificationConfigExample
|
4904
4910
|
include Google::Apis::Core::Hashable
|
4905
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
|
+
|
4906
4918
|
# Optional. The intent_type must match one of the predefined intent types
|
4907
4919
|
# defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.
|
4908
4920
|
# retail.v2alpha#querytype
|
@@ -4927,12 +4939,65 @@ module Google
|
|
4927
4939
|
|
4928
4940
|
# Update properties of this object
|
4929
4941
|
def update!(**args)
|
4942
|
+
@classified_positive = args[:classified_positive] if args.key?(:classified_positive)
|
4930
4943
|
@intent_type = args[:intent_type] if args.key?(:intent_type)
|
4931
4944
|
@query = args[:query] if args.key?(:query)
|
4932
4945
|
@reason = args[:reason] if args.key?(:reason)
|
4933
4946
|
end
|
4934
4947
|
end
|
4935
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
|
+
|
4936
5001
|
# A floating point interval.
|
4937
5002
|
class GoogleCloudRetailV2betaInterval
|
4938
5003
|
include Google::Apis::Core::Hashable
|
@@ -7767,6 +7832,15 @@ module Google
|
|
7767
7832
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestTileNavigationSpec]
|
7768
7833
|
attr_accessor :tile_navigation_spec
|
7769
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. * Duplicate keys are not allowed
|
7838
|
+
# within a single query. Example: user_attributes: [ ` key: "pets" value `
|
7839
|
+
# values: "dog" 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
|
+
|
7770
7844
|
# Information of an end user.
|
7771
7845
|
# Corresponds to the JSON property `userInfo`
|
7772
7846
|
# @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo]
|
@@ -7841,6 +7915,7 @@ module Google
|
|
7841
7915
|
@search_mode = args[:search_mode] if args.key?(:search_mode)
|
7842
7916
|
@spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
|
7843
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)
|
7844
7919
|
@user_info = args[:user_info] if args.key?(:user_info)
|
7845
7920
|
@variant_rollup_keys = args[:variant_rollup_keys] if args.key?(:variant_rollup_keys)
|
7846
7921
|
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
@@ -9048,6 +9123,25 @@ module Google
|
|
9048
9123
|
end
|
9049
9124
|
end
|
9050
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
|
+
|
9051
9145
|
# This field specifies the tile information including an attribute key,
|
9052
9146
|
# attribute value. More fields will be added in the future, eg: product id or
|
9053
9147
|
# product counts, etc.
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.115.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 = "20250703"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -970,6 +970,18 @@ module Google
|
|
970
970
|
include Google::Apis::Core::JsonObjectSupport
|
971
971
|
end
|
972
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
|
+
|
973
985
|
class GoogleCloudRetailV2betaInterval
|
974
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
987
|
|
@@ -1546,6 +1558,12 @@ module Google
|
|
1546
1558
|
include Google::Apis::Core::JsonObjectSupport
|
1547
1559
|
end
|
1548
1560
|
|
1561
|
+
class GoogleCloudRetailV2betaStringList
|
1562
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1563
|
+
|
1564
|
+
include Google::Apis::Core::JsonObjectSupport
|
1565
|
+
end
|
1566
|
+
|
1549
1567
|
class GoogleCloudRetailV2betaTile
|
1550
1568
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1551
1569
|
|
@@ -3020,6 +3038,8 @@ module Google
|
|
3020
3038
|
collection :disabled_intent_types, as: 'disabledIntentTypes'
|
3021
3039
|
collection :example, as: 'example', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigExample, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigExample::Representation
|
3022
3040
|
|
3041
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource::Representation
|
3042
|
+
|
3023
3043
|
property :model_preamble, as: 'modelPreamble'
|
3024
3044
|
end
|
3025
3045
|
end
|
@@ -3027,12 +3047,30 @@ module Google
|
|
3027
3047
|
class GoogleCloudRetailV2betaIntentClassificationConfigExample
|
3028
3048
|
# @private
|
3029
3049
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3050
|
+
property :classified_positive, as: 'classifiedPositive'
|
3030
3051
|
property :intent_type, as: 'intentType'
|
3031
3052
|
property :query, as: 'query'
|
3032
3053
|
property :reason, as: 'reason'
|
3033
3054
|
end
|
3034
3055
|
end
|
3035
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
|
+
|
3036
3074
|
class GoogleCloudRetailV2betaInterval
|
3037
3075
|
# @private
|
3038
3076
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3726,6 +3764,8 @@ module Google
|
|
3726
3764
|
|
3727
3765
|
property :tile_navigation_spec, as: 'tileNavigationSpec', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestTileNavigationSpec, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSearchRequestTileNavigationSpec::Representation
|
3728
3766
|
|
3767
|
+
hash :user_attributes, as: 'userAttributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaStringList, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaStringList::Representation
|
3768
|
+
|
3729
3769
|
property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
|
3730
3770
|
|
3731
3771
|
collection :variant_rollup_keys, as: 'variantRollupKeys'
|
@@ -4016,6 +4056,13 @@ module Google
|
|
4016
4056
|
end
|
4017
4057
|
end
|
4018
4058
|
|
4059
|
+
class GoogleCloudRetailV2betaStringList
|
4060
|
+
# @private
|
4061
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4062
|
+
collection :values, as: 'values'
|
4063
|
+
end
|
4064
|
+
end
|
4065
|
+
|
4019
4066
|
class GoogleCloudRetailV2betaTile
|
4020
4067
|
# @private
|
4021
4068
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.115.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.115.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:
|