google-apis-dialogflow_v2 0.101.0 → 0.102.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: 7817241eb4d630ed3ce573aa105ca024cbba67341d56e12c4567b66def7aae08
|
4
|
+
data.tar.gz: 2b4cd333ae419e9587ce570eef73e3cc1938faa4fa9177a1026a3c13a2f8411c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc22302ef23688b96489aff97c1496761e74fd64850ca1ae2645eb9584c9bc369d333b4632e3137804c94114919aaabd845859786831d1cbe67c4b40ace0c1e7
|
7
|
+
data.tar.gz: 346f1dc4ff30f256bb7cc7a3640eec8f39deea410e483f2321b37d126758cc8635aa6791a1d753e4c09ca410bccfe2e8bbe8b483a19765d3782655db4049a886
|
data/CHANGELOG.md
CHANGED
@@ -2323,6 +2323,11 @@ module Google
|
|
2323
2323
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput]
|
2324
2324
|
attr_accessor :text
|
2325
2325
|
|
2326
|
+
# The result of calling a tool's action that has been executed by the client.
|
2327
|
+
# Corresponds to the JSON property `toolCallResult`
|
2328
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResult]
|
2329
|
+
attr_accessor :tool_call_result
|
2330
|
+
|
2326
2331
|
def initialize(**args)
|
2327
2332
|
update!(**args)
|
2328
2333
|
end
|
@@ -2335,6 +2340,7 @@ module Google
|
|
2335
2340
|
@intent = args[:intent] if args.key?(:intent)
|
2336
2341
|
@language_code = args[:language_code] if args.key?(:language_code)
|
2337
2342
|
@text = args[:text] if args.key?(:text)
|
2343
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
2338
2344
|
end
|
2339
2345
|
end
|
2340
2346
|
|
@@ -2437,6 +2443,11 @@ module Google
|
|
2437
2443
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText]
|
2438
2444
|
attr_accessor :text
|
2439
2445
|
|
2446
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
2447
|
+
# Corresponds to the JSON property `toolCall`
|
2448
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCall]
|
2449
|
+
attr_accessor :tool_call
|
2450
|
+
|
2440
2451
|
def initialize(**args)
|
2441
2452
|
update!(**args)
|
2442
2453
|
end
|
@@ -2455,6 +2466,7 @@ module Google
|
|
2455
2466
|
@response_type = args[:response_type] if args.key?(:response_type)
|
2456
2467
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
2457
2468
|
@text = args[:text] if args.key?(:text)
|
2469
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
2458
2470
|
end
|
2459
2471
|
end
|
2460
2472
|
|
@@ -3076,6 +3088,95 @@ module Google
|
|
3076
3088
|
end
|
3077
3089
|
end
|
3078
3090
|
|
3091
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
3092
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
3093
|
+
include Google::Apis::Core::Hashable
|
3094
|
+
|
3095
|
+
# Required. The name of the tool's action associated with this call.
|
3096
|
+
# Corresponds to the JSON property `action`
|
3097
|
+
# @return [String]
|
3098
|
+
attr_accessor :action
|
3099
|
+
|
3100
|
+
# Optional. The action's input parameters.
|
3101
|
+
# Corresponds to the JSON property `inputParameters`
|
3102
|
+
# @return [Hash<String,Object>]
|
3103
|
+
attr_accessor :input_parameters
|
3104
|
+
|
3105
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
3106
|
+
# agents//tools/`.
|
3107
|
+
# Corresponds to the JSON property `tool`
|
3108
|
+
# @return [String]
|
3109
|
+
attr_accessor :tool
|
3110
|
+
|
3111
|
+
def initialize(**args)
|
3112
|
+
update!(**args)
|
3113
|
+
end
|
3114
|
+
|
3115
|
+
# Update properties of this object
|
3116
|
+
def update!(**args)
|
3117
|
+
@action = args[:action] if args.key?(:action)
|
3118
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
3119
|
+
@tool = args[:tool] if args.key?(:tool)
|
3120
|
+
end
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
# The result of calling a tool's action that has been executed by the client.
|
3124
|
+
class GoogleCloudDialogflowCxV3ToolCallResult
|
3125
|
+
include Google::Apis::Core::Hashable
|
3126
|
+
|
3127
|
+
# Required. The name of the tool's action associated with this call.
|
3128
|
+
# Corresponds to the JSON property `action`
|
3129
|
+
# @return [String]
|
3130
|
+
attr_accessor :action
|
3131
|
+
|
3132
|
+
# An error produced by the tool call.
|
3133
|
+
# Corresponds to the JSON property `error`
|
3134
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResultError]
|
3135
|
+
attr_accessor :error
|
3136
|
+
|
3137
|
+
# The tool call's output parameters.
|
3138
|
+
# Corresponds to the JSON property `outputParameters`
|
3139
|
+
# @return [Hash<String,Object>]
|
3140
|
+
attr_accessor :output_parameters
|
3141
|
+
|
3142
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
3143
|
+
# agents//tools/`.
|
3144
|
+
# Corresponds to the JSON property `tool`
|
3145
|
+
# @return [String]
|
3146
|
+
attr_accessor :tool
|
3147
|
+
|
3148
|
+
def initialize(**args)
|
3149
|
+
update!(**args)
|
3150
|
+
end
|
3151
|
+
|
3152
|
+
# Update properties of this object
|
3153
|
+
def update!(**args)
|
3154
|
+
@action = args[:action] if args.key?(:action)
|
3155
|
+
@error = args[:error] if args.key?(:error)
|
3156
|
+
@output_parameters = args[:output_parameters] if args.key?(:output_parameters)
|
3157
|
+
@tool = args[:tool] if args.key?(:tool)
|
3158
|
+
end
|
3159
|
+
end
|
3160
|
+
|
3161
|
+
# An error produced by the tool call.
|
3162
|
+
class GoogleCloudDialogflowCxV3ToolCallResultError
|
3163
|
+
include Google::Apis::Core::Hashable
|
3164
|
+
|
3165
|
+
# Optional. The error message of the function.
|
3166
|
+
# Corresponds to the JSON property `message`
|
3167
|
+
# @return [String]
|
3168
|
+
attr_accessor :message
|
3169
|
+
|
3170
|
+
def initialize(**args)
|
3171
|
+
update!(**args)
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
# Update properties of this object
|
3175
|
+
def update!(**args)
|
3176
|
+
@message = args[:message] if args.key?(:message)
|
3177
|
+
end
|
3178
|
+
end
|
3179
|
+
|
3079
3180
|
# A transition route specifies a intent that can be matched and/or a data
|
3080
3181
|
# condition that can be evaluated during a session. When a specified transition
|
3081
3182
|
# is matched, the following actions are taken in order: * If there is a `
|
@@ -9692,6 +9793,39 @@ module Google
|
|
9692
9793
|
end
|
9693
9794
|
end
|
9694
9795
|
|
9796
|
+
# Pronunciation customization for a phrase.
|
9797
|
+
class GoogleCloudDialogflowV2CustomPronunciationParams
|
9798
|
+
include Google::Apis::Core::Hashable
|
9799
|
+
|
9800
|
+
# The phonetic encoding of the phrase.
|
9801
|
+
# Corresponds to the JSON property `phoneticEncoding`
|
9802
|
+
# @return [String]
|
9803
|
+
attr_accessor :phonetic_encoding
|
9804
|
+
|
9805
|
+
# The phrase to which the customization is applied. The phrase can be multiple
|
9806
|
+
# words, such as proper nouns, but shouldn't span the length of the sentence.
|
9807
|
+
# Corresponds to the JSON property `phrase`
|
9808
|
+
# @return [String]
|
9809
|
+
attr_accessor :phrase
|
9810
|
+
|
9811
|
+
# The pronunciation of the phrase. This must be in the phonetic encoding
|
9812
|
+
# specified above.
|
9813
|
+
# Corresponds to the JSON property `pronunciation`
|
9814
|
+
# @return [String]
|
9815
|
+
attr_accessor :pronunciation
|
9816
|
+
|
9817
|
+
def initialize(**args)
|
9818
|
+
update!(**args)
|
9819
|
+
end
|
9820
|
+
|
9821
|
+
# Update properties of this object
|
9822
|
+
def update!(**args)
|
9823
|
+
@phonetic_encoding = args[:phonetic_encoding] if args.key?(:phonetic_encoding)
|
9824
|
+
@phrase = args[:phrase] if args.key?(:phrase)
|
9825
|
+
@pronunciation = args[:pronunciation] if args.key?(:pronunciation)
|
9826
|
+
end
|
9827
|
+
end
|
9828
|
+
|
9695
9829
|
# Metadata for DeleteConversationDataset.
|
9696
9830
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
9697
9831
|
include Google::Apis::Core::Hashable
|
@@ -12326,7 +12460,8 @@ module Google
|
|
12326
12460
|
# translations. See [Language Support](https://cloud.google.com/dialogflow/docs/
|
12327
12461
|
# reference/language) for a list of the currently supported language codes. Note
|
12328
12462
|
# that queries in the same session do not necessarily need to specify the same
|
12329
|
-
# language.
|
12463
|
+
# language. If not set, the language is inferred from the ConversationProfile.
|
12464
|
+
# stt_config.
|
12330
12465
|
# Corresponds to the JSON property `languageCode`
|
12331
12466
|
# @return [String]
|
12332
12467
|
attr_accessor :language_code
|
@@ -15978,7 +16113,8 @@ module Google
|
|
15978
16113
|
# The language of the supplied audio. Dialogflow does not do translations. See [
|
15979
16114
|
# Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
15980
16115
|
# for a list of the currently supported language codes. Note that queries in the
|
15981
|
-
# same session do not necessarily need to specify the same language.
|
16116
|
+
# same session do not necessarily need to specify the same language. If not
|
16117
|
+
# specified, the default language configured at ConversationProfile is used.
|
15982
16118
|
# Corresponds to the JSON property `languageCode`
|
15983
16119
|
# @return [String]
|
15984
16120
|
attr_accessor :language_code
|
@@ -16821,6 +16957,11 @@ module Google
|
|
16821
16957
|
# @return [Float]
|
16822
16958
|
attr_accessor :pitch
|
16823
16959
|
|
16960
|
+
# Optional. The custom pronunciations for the synthesized audio.
|
16961
|
+
# Corresponds to the JSON property `pronunciations`
|
16962
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams>]
|
16963
|
+
attr_accessor :pronunciations
|
16964
|
+
|
16824
16965
|
# Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
|
16825
16966
|
# native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is
|
16826
16967
|
# half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other
|
@@ -16854,6 +16995,7 @@ module Google
|
|
16854
16995
|
def update!(**args)
|
16855
16996
|
@effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
|
16856
16997
|
@pitch = args[:pitch] if args.key?(:pitch)
|
16998
|
+
@pronunciations = args[:pronunciations] if args.key?(:pronunciations)
|
16857
16999
|
@speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
|
16858
17000
|
@voice = args[:voice] if args.key?(:voice)
|
16859
17001
|
@volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.102.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250422"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -544,6 +544,24 @@ module Google
|
|
544
544
|
include Google::Apis::Core::JsonObjectSupport
|
545
545
|
end
|
546
546
|
|
547
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
553
|
+
class GoogleCloudDialogflowCxV3ToolCallResult
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class GoogleCloudDialogflowCxV3ToolCallResultError
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
547
565
|
class GoogleCloudDialogflowCxV3TransitionRoute
|
548
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
567
|
|
@@ -1540,6 +1558,12 @@ module Google
|
|
1540
1558
|
include Google::Apis::Core::JsonObjectSupport
|
1541
1559
|
end
|
1542
1560
|
|
1561
|
+
class GoogleCloudDialogflowV2CustomPronunciationParams
|
1562
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1563
|
+
|
1564
|
+
include Google::Apis::Core::JsonObjectSupport
|
1565
|
+
end
|
1566
|
+
|
1543
1567
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
1544
1568
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
1569
|
|
@@ -4175,6 +4199,8 @@ module Google
|
|
4175
4199
|
property :language_code, as: 'languageCode'
|
4176
4200
|
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput::Representation
|
4177
4201
|
|
4202
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResult::Representation
|
4203
|
+
|
4178
4204
|
end
|
4179
4205
|
end
|
4180
4206
|
|
@@ -4202,6 +4228,8 @@ module Google
|
|
4202
4228
|
|
4203
4229
|
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
4204
4230
|
|
4231
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCall::Representation
|
4232
|
+
|
4205
4233
|
end
|
4206
4234
|
end
|
4207
4235
|
|
@@ -4391,6 +4419,33 @@ module Google
|
|
4391
4419
|
end
|
4392
4420
|
end
|
4393
4421
|
|
4422
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
4423
|
+
# @private
|
4424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4425
|
+
property :action, as: 'action'
|
4426
|
+
hash :input_parameters, as: 'inputParameters'
|
4427
|
+
property :tool, as: 'tool'
|
4428
|
+
end
|
4429
|
+
end
|
4430
|
+
|
4431
|
+
class GoogleCloudDialogflowCxV3ToolCallResult
|
4432
|
+
# @private
|
4433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4434
|
+
property :action, as: 'action'
|
4435
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ToolCallResultError::Representation
|
4436
|
+
|
4437
|
+
hash :output_parameters, as: 'outputParameters'
|
4438
|
+
property :tool, as: 'tool'
|
4439
|
+
end
|
4440
|
+
end
|
4441
|
+
|
4442
|
+
class GoogleCloudDialogflowCxV3ToolCallResultError
|
4443
|
+
# @private
|
4444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4445
|
+
property :message, as: 'message'
|
4446
|
+
end
|
4447
|
+
end
|
4448
|
+
|
4394
4449
|
class GoogleCloudDialogflowCxV3TransitionRoute
|
4395
4450
|
# @private
|
4396
4451
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6143,6 +6198,15 @@ module Google
|
|
6143
6198
|
end
|
6144
6199
|
end
|
6145
6200
|
|
6201
|
+
class GoogleCloudDialogflowV2CustomPronunciationParams
|
6202
|
+
# @private
|
6203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6204
|
+
property :phonetic_encoding, as: 'phoneticEncoding'
|
6205
|
+
property :phrase, as: 'phrase'
|
6206
|
+
property :pronunciation, as: 'pronunciation'
|
6207
|
+
end
|
6208
|
+
end
|
6209
|
+
|
6146
6210
|
class GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
|
6147
6211
|
# @private
|
6148
6212
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8127,6 +8191,8 @@ module Google
|
|
8127
8191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8128
8192
|
collection :effects_profile_id, as: 'effectsProfileId'
|
8129
8193
|
property :pitch, as: 'pitch'
|
8194
|
+
collection :pronunciations, as: 'pronunciations', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CustomPronunciationParams::Representation
|
8195
|
+
|
8130
8196
|
property :speaking_rate, as: 'speakingRate'
|
8131
8197
|
property :voice, as: 'voice', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2VoiceSelectionParams::Representation
|
8132
8198
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.102.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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-dialogflow_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.102.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|