google-apis-dialogflow_v2beta1 0.99.0 → 0.101.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: 5356e210af8546deef77647bbdb5bbf2b65e034060e8986c719cb45cd778da8d
|
4
|
+
data.tar.gz: 64390f3d68e6ba7dd771956923e6da950119dceb6096a1dadde7ba3da1f9bea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b400053d098971e48dd45938a30021162897060e9b30b80f061f61b891e8233f4e0314d552e1e4865153f7b4a055a6013f1e79f218d9329fb9b05a96abd35630
|
7
|
+
data.tar.gz: 650a9c1a300a2972bf7ce1ab95faff9f71b91e2efae4e388c45f8637b415028b655dbfa97d38694d168e0897a7185ff3a0db099f2c733ce160261b1367307f5e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.101.0 (2025-04-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250422
|
6
|
+
|
7
|
+
### v0.100.0 (2025-04-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250414
|
10
|
+
|
3
11
|
### v0.99.0 (2025-03-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250325
|
@@ -2323,6 +2323,11 @@ module Google
|
|
2323
2323
|
# @return [Google::Apis::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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 `
|
@@ -13368,6 +13469,39 @@ module Google
|
|
13368
13469
|
end
|
13369
13470
|
end
|
13370
13471
|
|
13472
|
+
# Pronunciation customization for a phrase.
|
13473
|
+
class GoogleCloudDialogflowV2beta1CustomPronunciationParams
|
13474
|
+
include Google::Apis::Core::Hashable
|
13475
|
+
|
13476
|
+
# The phonetic encoding of the phrase.
|
13477
|
+
# Corresponds to the JSON property `phoneticEncoding`
|
13478
|
+
# @return [String]
|
13479
|
+
attr_accessor :phonetic_encoding
|
13480
|
+
|
13481
|
+
# The phrase to which the customization is applied. The phrase can be multiple
|
13482
|
+
# words, such as proper nouns, but shouldn't span the length of the sentence.
|
13483
|
+
# Corresponds to the JSON property `phrase`
|
13484
|
+
# @return [String]
|
13485
|
+
attr_accessor :phrase
|
13486
|
+
|
13487
|
+
# The pronunciation of the phrase. This must be in the phonetic encoding
|
13488
|
+
# specified above.
|
13489
|
+
# Corresponds to the JSON property `pronunciation`
|
13490
|
+
# @return [String]
|
13491
|
+
attr_accessor :pronunciation
|
13492
|
+
|
13493
|
+
def initialize(**args)
|
13494
|
+
update!(**args)
|
13495
|
+
end
|
13496
|
+
|
13497
|
+
# Update properties of this object
|
13498
|
+
def update!(**args)
|
13499
|
+
@phonetic_encoding = args[:phonetic_encoding] if args.key?(:phonetic_encoding)
|
13500
|
+
@phrase = args[:phrase] if args.key?(:phrase)
|
13501
|
+
@pronunciation = args[:pronunciation] if args.key?(:pronunciation)
|
13502
|
+
end
|
13503
|
+
end
|
13504
|
+
|
13371
13505
|
# The request to detect user's intent.
|
13372
13506
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
13373
13507
|
include Google::Apis::Core::Hashable
|
@@ -15794,7 +15928,8 @@ module Google
|
|
15794
15928
|
# translations. See [Language Support](https://cloud.google.com/dialogflow/docs/
|
15795
15929
|
# reference/language) for a list of the currently supported language codes. Note
|
15796
15930
|
# that queries in the same session do not necessarily need to specify the same
|
15797
|
-
# language.
|
15931
|
+
# language. If not set, the language is inferred from the ConversationProfile.
|
15932
|
+
# stt_config.
|
15798
15933
|
# Corresponds to the JSON property `languageCode`
|
15799
15934
|
# @return [String]
|
15800
15935
|
attr_accessor :language_code
|
@@ -20215,7 +20350,8 @@ module Google
|
|
20215
20350
|
# The language of the supplied audio. Dialogflow does not do translations. See [
|
20216
20351
|
# Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
20217
20352
|
# for a list of the currently supported language codes. Note that queries in the
|
20218
|
-
# same session do not necessarily need to specify the same language.
|
20353
|
+
# same session do not necessarily need to specify the same language. If not
|
20354
|
+
# specified, the default language configured at ConversationProfile is used.
|
20219
20355
|
# Corresponds to the JSON property `languageCode`
|
20220
20356
|
# @return [String]
|
20221
20357
|
attr_accessor :language_code
|
@@ -21325,6 +21461,11 @@ module Google
|
|
21325
21461
|
# @return [Float]
|
21326
21462
|
attr_accessor :pitch
|
21327
21463
|
|
21464
|
+
# Optional. The custom pronunciations for the synthesized audio.
|
21465
|
+
# Corresponds to the JSON property `pronunciations`
|
21466
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams>]
|
21467
|
+
attr_accessor :pronunciations
|
21468
|
+
|
21328
21469
|
# Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
|
21329
21470
|
# native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is
|
21330
21471
|
# half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other
|
@@ -21358,6 +21499,7 @@ module Google
|
|
21358
21499
|
def update!(**args)
|
21359
21500
|
@effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
|
21360
21501
|
@pitch = args[:pitch] if args.key?(:pitch)
|
21502
|
+
@pronunciations = args[:pronunciations] if args.key?(:pronunciations)
|
21361
21503
|
@speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
|
21362
21504
|
@voice = args[:voice] if args.key?(:voice)
|
21363
21505
|
@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 DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.101.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
|
|
@@ -2134,6 +2152,12 @@ module Google
|
|
2134
2152
|
include Google::Apis::Core::JsonObjectSupport
|
2135
2153
|
end
|
2136
2154
|
|
2155
|
+
class GoogleCloudDialogflowV2beta1CustomPronunciationParams
|
2156
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2157
|
+
|
2158
|
+
include Google::Apis::Core::JsonObjectSupport
|
2159
|
+
end
|
2160
|
+
|
2137
2161
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
2138
2162
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2139
2163
|
|
@@ -4181,6 +4205,8 @@ module Google
|
|
4181
4205
|
property :language_code, as: 'languageCode'
|
4182
4206
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput::Representation
|
4183
4207
|
|
4208
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult::Representation
|
4209
|
+
|
4184
4210
|
end
|
4185
4211
|
end
|
4186
4212
|
|
@@ -4208,6 +4234,8 @@ module Google
|
|
4208
4234
|
|
4209
4235
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
4210
4236
|
|
4237
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall::Representation
|
4238
|
+
|
4211
4239
|
end
|
4212
4240
|
end
|
4213
4241
|
|
@@ -4397,6 +4425,33 @@ module Google
|
|
4397
4425
|
end
|
4398
4426
|
end
|
4399
4427
|
|
4428
|
+
class GoogleCloudDialogflowCxV3ToolCall
|
4429
|
+
# @private
|
4430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4431
|
+
property :action, as: 'action'
|
4432
|
+
hash :input_parameters, as: 'inputParameters'
|
4433
|
+
property :tool, as: 'tool'
|
4434
|
+
end
|
4435
|
+
end
|
4436
|
+
|
4437
|
+
class GoogleCloudDialogflowCxV3ToolCallResult
|
4438
|
+
# @private
|
4439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4440
|
+
property :action, as: 'action'
|
4441
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResultError::Representation
|
4442
|
+
|
4443
|
+
hash :output_parameters, as: 'outputParameters'
|
4444
|
+
property :tool, as: 'tool'
|
4445
|
+
end
|
4446
|
+
end
|
4447
|
+
|
4448
|
+
class GoogleCloudDialogflowCxV3ToolCallResultError
|
4449
|
+
# @private
|
4450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4451
|
+
property :message, as: 'message'
|
4452
|
+
end
|
4453
|
+
end
|
4454
|
+
|
4400
4455
|
class GoogleCloudDialogflowCxV3TransitionRoute
|
4401
4456
|
# @private
|
4402
4457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7159,6 +7214,15 @@ module Google
|
|
7159
7214
|
end
|
7160
7215
|
end
|
7161
7216
|
|
7217
|
+
class GoogleCloudDialogflowV2beta1CustomPronunciationParams
|
7218
|
+
# @private
|
7219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7220
|
+
property :phonetic_encoding, as: 'phoneticEncoding'
|
7221
|
+
property :phrase, as: 'phrase'
|
7222
|
+
property :pronunciation, as: 'pronunciation'
|
7223
|
+
end
|
7224
|
+
end
|
7225
|
+
|
7162
7226
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
7163
7227
|
# @private
|
7164
7228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9344,6 +9408,8 @@ module Google
|
|
9344
9408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9345
9409
|
collection :effects_profile_id, as: 'effectsProfileId'
|
9346
9410
|
property :pitch, as: 'pitch'
|
9411
|
+
collection :pronunciations, as: 'pronunciations', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CustomPronunciationParams::Representation
|
9412
|
+
|
9347
9413
|
property :speaking_rate, as: 'speakingRate'
|
9348
9414
|
property :voice, as: 'voice', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1VoiceSelectionParams::Representation
|
9349
9415
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.101.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_v2beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.101.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|