google-cloud-dialogflow-v2 0.26.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +62 -63
- data/proto_docs/google/cloud/dialogflow/v2/context.rb +9 -11
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/gcs.rb +2 -2
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +24 -29
- data/proto_docs/google/cloud/dialogflow/v2/validation_result.rb +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db6bc9f00105e412a28dc4333091ada1fd556d36a4a034e48dc99198d1274b7
|
4
|
+
data.tar.gz: 4ca817e244447a2f69d32bff1cc453e2db1724bff130c34d2c84a6f500cd43ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8295fa0a70fb9efcfdfd8f5a3f12a5a2d434fd873afd8e88f12c3ce64a7b841b4d9f935ffda8eb18535dc765e4c709998691374c7493ed67c4b7286e338f479
|
7
|
+
data.tar.gz: ab53cc19b9cc556d6383c5ccb7ad5edd6d52d88f804c7117c332adb131f70a7ba591a44e270dfec167df8aea0fb4e0d91666b49a8310038b32b2ef4ee6cfdf52
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n-google/cloud/dialogflow/v2/audio_config.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"
|
12
|
+
descriptor_data = "\n-google/cloud/dialogflow/v2/audio_config.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"9\n\rSpeechContext\x12\x14\n\x07phrases\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x62oost\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\x92\x01\n\x0eSpeechWordInfo\x12\x0c\n\x04word\x18\x03 \x01(\t\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nconfidence\x18\x04 \x01(\x02\"\xd0\x03\n\x10InputAudioConfig\x12\x46\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32).google.cloud.dialogflow.v2.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x10\x65nable_word_info\x18\r \x01(\x08\x12\x18\n\x0cphrase_hints\x18\x04 \x03(\tB\x02\x18\x01\x12\x42\n\x0fspeech_contexts\x18\x0b \x03(\x0b\x32).google.cloud.dialogflow.v2.SpeechContext\x12\r\n\x05model\x18\x07 \x01(\t\x12\x45\n\rmodel_variant\x18\n \x01(\x0e\x32..google.cloud.dialogflow.v2.SpeechModelVariant\x12\x18\n\x10single_utterance\x18\x08 \x01(\x08\x12*\n\"disable_no_speech_recognized_event\x18\x0e \x01(\x08\x12$\n\x1c\x65nable_automatic_punctuation\x18\x11 \x01(\x08\"p\n\x14VoiceSelectionParams\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0bssml_gender\x18\x02 \x01(\x0e\x32+.google.cloud.dialogflow.v2.SsmlVoiceGenderB\x03\xe0\x41\x01\"\xcc\x01\n\x16SynthesizeSpeechConfig\x12\x1a\n\rspeaking_rate\x18\x01 \x01(\x01\x42\x03\xe0\x41\x01\x12\x12\n\x05pitch\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01\x12\x1b\n\x0evolume_gain_db\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x44\n\x05voice\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.VoiceSelectionParamsB\x03\xe0\x41\x01\"\xd2\x01\n\x11OutputAudioConfig\x12L\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32/.google.cloud.dialogflow.v2.OutputAudioEncodingB\x03\xe0\x41\x02\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12T\n\x18synthesize_speech_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.SynthesizeSpeechConfig\"U\n\x13TelephonyDtmfEvents\x12>\n\x0b\x64tmf_events\x18\x01 \x03(\x0e\x32).google.cloud.dialogflow.v2.TelephonyDtmf\"q\n\x12SpeechToTextConfig\x12L\n\x14speech_model_variant\x18\x01 \x01(\x0e\x32..google.cloud.dialogflow.v2.SpeechModelVariant\x12\r\n\x05model\x18\x02 \x01(\t*\x94\x02\n\rTelephonyDtmf\x12\x1e\n\x1aTELEPHONY_DTMF_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44TMF_ONE\x10\x01\x12\x0c\n\x08\x44TMF_TWO\x10\x02\x12\x0e\n\nDTMF_THREE\x10\x03\x12\r\n\tDTMF_FOUR\x10\x04\x12\r\n\tDTMF_FIVE\x10\x05\x12\x0c\n\x08\x44TMF_SIX\x10\x06\x12\x0e\n\nDTMF_SEVEN\x10\x07\x12\x0e\n\nDTMF_EIGHT\x10\x08\x12\r\n\tDTMF_NINE\x10\t\x12\r\n\tDTMF_ZERO\x10\n\x12\n\n\x06\x44TMF_A\x10\x0b\x12\n\n\x06\x44TMF_B\x10\x0c\x12\n\n\x06\x44TMF_C\x10\r\x12\n\n\x06\x44TMF_D\x10\x0e\x12\r\n\tDTMF_STAR\x10\x0f\x12\x0e\n\nDTMF_POUND\x10\x10*\xfb\x01\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41UDIO_ENCODING_LINEAR_16\x10\x01\x12\x17\n\x13\x41UDIO_ENCODING_FLAC\x10\x02\x12\x18\n\x14\x41UDIO_ENCODING_MULAW\x10\x03\x12\x16\n\x12\x41UDIO_ENCODING_AMR\x10\x04\x12\x19\n\x15\x41UDIO_ENCODING_AMR_WB\x10\x05\x12\x1b\n\x17\x41UDIO_ENCODING_OGG_OPUS\x10\x06\x12)\n%AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE\x10\x07*v\n\x12SpeechModelVariant\x12$\n SPEECH_MODEL_VARIANT_UNSPECIFIED\x10\x00\x12\x16\n\x12USE_BEST_AVAILABLE\x10\x01\x12\x10\n\x0cUSE_STANDARD\x10\x02\x12\x10\n\x0cUSE_ENHANCED\x10\x03*\x8d\x01\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x1a\n\x16SSML_VOICE_GENDER_MALE\x10\x01\x12\x1c\n\x18SSML_VOICE_GENDER_FEMALE\x10\x02\x12\x1d\n\x19SSML_VOICE_GENDER_NEUTRAL\x10\x03*\xec\x01\n\x13OutputAudioEncoding\x12%\n!OUTPUT_AUDIO_ENCODING_UNSPECIFIED\x10\x00\x12#\n\x1fOUTPUT_AUDIO_ENCODING_LINEAR_16\x10\x01\x12\x1d\n\x19OUTPUT_AUDIO_ENCODING_MP3\x10\x02\x12%\n!OUTPUT_AUDIO_ENCODING_MP3_64_KBPS\x10\x04\x12\"\n\x1eOUTPUT_AUDIO_ENCODING_OGG_OPUS\x10\x03\x12\x1f\n\x1bOUTPUT_AUDIO_ENCODING_MULAW\x10\x05\x42\xd6\x02\n\x1e\x63om.google.cloud.dialogflow.v2B\x10\x41udioConfigProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}\xea\x41\x62\n\x1fspeech.googleapis.com/PhraseSet\x12?projects/{project}/locations/{location}/phraseSets/{phrase_set}b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -48,11 +48,11 @@ module Google
|
|
48
48
|
OutputAudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.OutputAudioConfig").msgclass
|
49
49
|
TelephonyDtmfEvents = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.TelephonyDtmfEvents").msgclass
|
50
50
|
SpeechToTextConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SpeechToTextConfig").msgclass
|
51
|
+
TelephonyDtmf = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.TelephonyDtmf").enummodule
|
51
52
|
AudioEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.AudioEncoding").enummodule
|
52
53
|
SpeechModelVariant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SpeechModelVariant").enummodule
|
53
54
|
SsmlVoiceGender = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SsmlVoiceGender").enummodule
|
54
55
|
OutputAudioEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.OutputAudioEncoding").enummodule
|
55
|
-
TelephonyDtmf = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.TelephonyDtmf").enummodule
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -213,7 +213,7 @@ module Google
|
|
213
213
|
# auto-generated one to you.
|
214
214
|
#
|
215
215
|
# The conversation ID must be compliant with the regression fomula
|
216
|
-
#
|
216
|
+
# `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
|
217
217
|
# If the field is provided, the caller is resposible for
|
218
218
|
# 1. the uniqueness of the ID, otherwise the request will be rejected.
|
219
219
|
# 2. the consistency for whether to use custom ID or not under a project to
|
@@ -205,7 +205,7 @@ module Google
|
|
205
205
|
# auto-generated one to you.
|
206
206
|
#
|
207
207
|
# The conversation ID must be compliant with the regression fomula
|
208
|
-
#
|
208
|
+
# `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
|
209
209
|
# If the field is provided, the caller is resposible for
|
210
210
|
# 1. the uniqueness of the ID, otherwise the request will be rejected.
|
211
211
|
# 2. the consistency for whether to use custom ID or not under a project to
|
@@ -228,12 +228,12 @@ module Google
|
|
228
228
|
# @param query_input [::Google::Cloud::Dialogflow::V2::QueryInput, ::Hash]
|
229
229
|
# Required. The input specification. It can be set to:
|
230
230
|
#
|
231
|
-
# 1.
|
232
|
-
#
|
231
|
+
# 1. an audio config which instructs the speech recognizer how to process
|
232
|
+
# the speech audio,
|
233
233
|
#
|
234
|
-
# 2.
|
234
|
+
# 2. a conversational query in the form of text, or
|
235
235
|
#
|
236
|
-
# 3.
|
236
|
+
# 3. an event that specifies which intent to trigger.
|
237
237
|
# @param output_audio_config [::Google::Cloud::Dialogflow::V2::OutputAudioConfig, ::Hash]
|
238
238
|
# Instructs the speech synthesizer how to generate the output
|
239
239
|
# audio. If this field is not set and agent-level speech synthesizer is not
|
@@ -218,12 +218,12 @@ module Google
|
|
218
218
|
# @param query_input [::Google::Cloud::Dialogflow::V2::QueryInput, ::Hash]
|
219
219
|
# Required. The input specification. It can be set to:
|
220
220
|
#
|
221
|
-
# 1.
|
222
|
-
#
|
221
|
+
# 1. an audio config which instructs the speech recognizer how to process
|
222
|
+
# the speech audio,
|
223
223
|
#
|
224
|
-
# 2.
|
224
|
+
# 2. a conversational query in the form of text, or
|
225
225
|
#
|
226
|
-
# 3.
|
226
|
+
# 3. an event that specifies which intent to trigger.
|
227
227
|
# @param output_audio_config [::Google::Cloud::Dialogflow::V2::OutputAudioConfig, ::Hash]
|
228
228
|
# Instructs the speech synthesizer how to generate the output
|
229
229
|
# audio. If this field is not set and agent-level speech synthesizer is not
|
@@ -89,8 +89,7 @@ module Google
|
|
89
89
|
# @!attribute [rw] sample_rate_hertz
|
90
90
|
# @return [::Integer]
|
91
91
|
# Required. Sample rate (in Hertz) of the audio content sent in the query.
|
92
|
-
# Refer to
|
93
|
-
# [Cloud Speech API
|
92
|
+
# Refer to [Cloud Speech API
|
94
93
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics) for
|
95
94
|
# more details.
|
96
95
|
# @!attribute [rw] language_code
|
@@ -117,9 +116,9 @@ module Google
|
|
117
116
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
|
118
117
|
# for more details.
|
119
118
|
#
|
120
|
-
# This field is deprecated. Please use [speech_contexts]() instead. If you
|
121
|
-
# specify both [phrase_hints]() and [speech_contexts](), Dialogflow will
|
122
|
-
# treat the [phrase_hints]() as a single additional [SpeechContext]().
|
119
|
+
# This field is deprecated. Please use [`speech_contexts`]() instead. If you
|
120
|
+
# specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will
|
121
|
+
# treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
|
123
122
|
# @!attribute [rw] speech_contexts
|
124
123
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::SpeechContext>]
|
125
124
|
# Context information to assist speech recognition.
|
@@ -201,9 +200,9 @@ module Google
|
|
201
200
|
# @!attribute [rw] speaking_rate
|
202
201
|
# @return [::Float]
|
203
202
|
# Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
|
204
|
-
# native speed supported by the specific voice. 2.0 is twice as fast, and
|
205
|
-
#
|
206
|
-
#
|
203
|
+
# native speed supported by the specific voice. 2.0 is twice as fast, and 0.5
|
204
|
+
# is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other
|
205
|
+
# values < 0.25 or > 4.0 will return an error.
|
207
206
|
# @!attribute [rw] pitch
|
208
207
|
# @return [::Float]
|
209
208
|
# Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
|
@@ -289,6 +288,61 @@ module Google
|
|
289
288
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
290
289
|
end
|
291
290
|
|
291
|
+
# [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling)
|
292
|
+
# digit in Telephony Gateway.
|
293
|
+
module TelephonyDtmf
|
294
|
+
# Not specified. This value may be used to indicate an absent digit.
|
295
|
+
TELEPHONY_DTMF_UNSPECIFIED = 0
|
296
|
+
|
297
|
+
# Number: '1'.
|
298
|
+
DTMF_ONE = 1
|
299
|
+
|
300
|
+
# Number: '2'.
|
301
|
+
DTMF_TWO = 2
|
302
|
+
|
303
|
+
# Number: '3'.
|
304
|
+
DTMF_THREE = 3
|
305
|
+
|
306
|
+
# Number: '4'.
|
307
|
+
DTMF_FOUR = 4
|
308
|
+
|
309
|
+
# Number: '5'.
|
310
|
+
DTMF_FIVE = 5
|
311
|
+
|
312
|
+
# Number: '6'.
|
313
|
+
DTMF_SIX = 6
|
314
|
+
|
315
|
+
# Number: '7'.
|
316
|
+
DTMF_SEVEN = 7
|
317
|
+
|
318
|
+
# Number: '8'.
|
319
|
+
DTMF_EIGHT = 8
|
320
|
+
|
321
|
+
# Number: '9'.
|
322
|
+
DTMF_NINE = 9
|
323
|
+
|
324
|
+
# Number: '0'.
|
325
|
+
DTMF_ZERO = 10
|
326
|
+
|
327
|
+
# Letter: 'A'.
|
328
|
+
DTMF_A = 11
|
329
|
+
|
330
|
+
# Letter: 'B'.
|
331
|
+
DTMF_B = 12
|
332
|
+
|
333
|
+
# Letter: 'C'.
|
334
|
+
DTMF_C = 13
|
335
|
+
|
336
|
+
# Letter: 'D'.
|
337
|
+
DTMF_D = 14
|
338
|
+
|
339
|
+
# Asterisk/star: '*'.
|
340
|
+
DTMF_STAR = 15
|
341
|
+
|
342
|
+
# Pound/diamond/hash/square/gate/octothorpe: '#'.
|
343
|
+
DTMF_POUND = 16
|
344
|
+
end
|
345
|
+
|
292
346
|
# Audio encoding of the audio content sent in the conversational query request.
|
293
347
|
# Refer to the
|
294
348
|
# [Cloud Speech API
|
@@ -423,61 +477,6 @@ module Google
|
|
423
477
|
# 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
|
424
478
|
OUTPUT_AUDIO_ENCODING_MULAW = 5
|
425
479
|
end
|
426
|
-
|
427
|
-
# [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling)
|
428
|
-
# digit in Telephony Gateway.
|
429
|
-
module TelephonyDtmf
|
430
|
-
# Not specified. This value may be used to indicate an absent digit.
|
431
|
-
TELEPHONY_DTMF_UNSPECIFIED = 0
|
432
|
-
|
433
|
-
# Number: '1'.
|
434
|
-
DTMF_ONE = 1
|
435
|
-
|
436
|
-
# Number: '2'.
|
437
|
-
DTMF_TWO = 2
|
438
|
-
|
439
|
-
# Number: '3'.
|
440
|
-
DTMF_THREE = 3
|
441
|
-
|
442
|
-
# Number: '4'.
|
443
|
-
DTMF_FOUR = 4
|
444
|
-
|
445
|
-
# Number: '5'.
|
446
|
-
DTMF_FIVE = 5
|
447
|
-
|
448
|
-
# Number: '6'.
|
449
|
-
DTMF_SIX = 6
|
450
|
-
|
451
|
-
# Number: '7'.
|
452
|
-
DTMF_SEVEN = 7
|
453
|
-
|
454
|
-
# Number: '8'.
|
455
|
-
DTMF_EIGHT = 8
|
456
|
-
|
457
|
-
# Number: '9'.
|
458
|
-
DTMF_NINE = 9
|
459
|
-
|
460
|
-
# Number: '0'.
|
461
|
-
DTMF_ZERO = 10
|
462
|
-
|
463
|
-
# Letter: 'A'.
|
464
|
-
DTMF_A = 11
|
465
|
-
|
466
|
-
# Letter: 'B'.
|
467
|
-
DTMF_B = 12
|
468
|
-
|
469
|
-
# Letter: 'C'.
|
470
|
-
DTMF_C = 13
|
471
|
-
|
472
|
-
# Letter: 'D'.
|
473
|
-
DTMF_D = 14
|
474
|
-
|
475
|
-
# Asterisk/star: '*'.
|
476
|
-
DTMF_STAR = 15
|
477
|
-
|
478
|
-
# Pound/diamond/hash/square/gate/octothorpe: '#'.
|
479
|
-
DTMF_POUND = 16
|
480
|
-
end
|
481
480
|
end
|
482
481
|
end
|
483
482
|
end
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
45
45
|
#
|
46
46
|
# The `Context ID` is always converted to lowercase, may only contain
|
47
|
-
# characters in a-zA-Z0-9_
|
47
|
+
# characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long.
|
48
48
|
#
|
49
49
|
# If `Environment ID` is not specified, we assume default 'draft'
|
50
50
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
@@ -69,16 +69,14 @@ module Google
|
|
69
69
|
# map, associative array, symbol table, dictionary, or JSON object
|
70
70
|
# composed of a collection of (MapKey, MapValue) pairs:
|
71
71
|
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
# map from composite entity property names to property values
|
81
|
-
# - Else: parameter value
|
72
|
+
# * MapKey type: string
|
73
|
+
# * MapKey value: parameter name
|
74
|
+
# * MapValue type: If parameter's entity type is a composite entity then use
|
75
|
+
# map, otherwise, depending on the parameter value type, it could be one of
|
76
|
+
# string, number, boolean, null, list or map.
|
77
|
+
# * MapValue value: If parameter's entity type is a composite entity then use
|
78
|
+
# map from composite entity property names to property values, otherwise,
|
79
|
+
# use parameter value.
|
82
80
|
class Context
|
83
81
|
include ::Google::Protobuf::MessageExts
|
84
82
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -117,7 +117,7 @@ module Google
|
|
117
117
|
# auto-generated one to you.
|
118
118
|
#
|
119
119
|
# The conversation ID must be compliant with the regression fomula
|
120
|
-
#
|
120
|
+
# `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
|
121
121
|
# If the field is provided, the caller is resposible for
|
122
122
|
# 1. the uniqueness of the ID, otherwise the request will be rejected.
|
123
123
|
# 2. the consistency for whether to use custom ID or not under a project to
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [rw] uris
|
26
26
|
# @return [::Array<::String>]
|
27
27
|
# Required. Google Cloud Storage URIs for the inputs. A URI is of the form:
|
28
|
-
#
|
28
|
+
# `gs://bucket/object-prefix-or-name`
|
29
29
|
# Whether a prefix or name is used depends on the use case.
|
30
30
|
class GcsSources
|
31
31
|
include ::Google::Protobuf::MessageExts
|
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
# @return [::String]
|
38
38
|
# The Google Cloud Storage URIs for the output. A URI is of the
|
39
39
|
# form:
|
40
|
-
#
|
40
|
+
# `gs://bucket/object-prefix-or-name`
|
41
41
|
# Whether a prefix or name is used depends on the use case. The requesting
|
42
42
|
# user must have "write-permission" to the bucket.
|
43
43
|
class GcsDestination
|
@@ -48,12 +48,12 @@ module Google
|
|
48
48
|
# @return [::Google::Cloud::Dialogflow::V2::QueryInput]
|
49
49
|
# Required. The input specification. It can be set to:
|
50
50
|
#
|
51
|
-
# 1.
|
52
|
-
#
|
51
|
+
# 1. an audio config which instructs the speech recognizer how to process
|
52
|
+
# the speech audio,
|
53
53
|
#
|
54
|
-
# 2.
|
54
|
+
# 2. a conversational query in the form of text, or
|
55
55
|
#
|
56
|
-
# 3.
|
56
|
+
# 3. an event that specifies which intent to trigger.
|
57
57
|
# @!attribute [rw] output_audio_config
|
58
58
|
# @return [::Google::Cloud::Dialogflow::V2::OutputAudioConfig]
|
59
59
|
# Instructs the speech synthesizer how to generate the output
|
@@ -233,16 +233,14 @@ module Google
|
|
233
233
|
# map, associative array, symbol table, dictionary, or JSON object
|
234
234
|
# composed of a collection of (MapKey, MapValue) pairs:
|
235
235
|
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
# map from composite entity property names to property values
|
245
|
-
# - Else: parameter value
|
236
|
+
# * MapKey type: string
|
237
|
+
# * MapKey value: parameter name
|
238
|
+
# * MapValue type: If parameter's entity type is a composite entity then use
|
239
|
+
# map, otherwise, depending on the parameter value type, it could be one of
|
240
|
+
# string, number, boolean, null, list or map.
|
241
|
+
# * MapValue value: If parameter's entity type is a composite entity then use
|
242
|
+
# map from composite entity property names to property values, otherwise,
|
243
|
+
# use parameter value.
|
246
244
|
# @!attribute [rw] all_required_params_present
|
247
245
|
# @return [::Boolean]
|
248
246
|
# This field is set to:
|
@@ -370,12 +368,12 @@ module Google
|
|
370
368
|
# @return [::Google::Cloud::Dialogflow::V2::QueryInput]
|
371
369
|
# Required. The input specification. It can be set to:
|
372
370
|
#
|
373
|
-
# 1.
|
374
|
-
#
|
371
|
+
# 1. an audio config which instructs the speech recognizer how to process
|
372
|
+
# the speech audio,
|
375
373
|
#
|
376
|
-
# 2.
|
374
|
+
# 2. a conversational query in the form of text, or
|
377
375
|
#
|
378
|
-
# 3.
|
376
|
+
# 3. an event that specifies which intent to trigger.
|
379
377
|
# @!attribute [rw] single_utterance
|
380
378
|
# @return [::Boolean]
|
381
379
|
# Please use
|
@@ -630,7 +628,6 @@ module Google
|
|
630
628
|
end
|
631
629
|
end
|
632
630
|
|
633
|
-
# ============================================================================
|
634
631
|
# Auxiliary proto messages.
|
635
632
|
#
|
636
633
|
# Represents the natural language text to be processed.
|
@@ -665,16 +662,14 @@ module Google
|
|
665
662
|
# map, associative array, symbol table, dictionary, or JSON object
|
666
663
|
# composed of a collection of (MapKey, MapValue) pairs:
|
667
664
|
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
# map from composite entity property names to property values
|
677
|
-
# - Else: parameter value
|
665
|
+
# * MapKey type: string
|
666
|
+
# * MapKey value: parameter name
|
667
|
+
# * MapValue type: If parameter's entity type is a composite entity then use
|
668
|
+
# map, otherwise, depending on the parameter value type, it could be one of
|
669
|
+
# string, number, boolean, null, list or map.
|
670
|
+
# * MapValue value: If parameter's entity type is a composite entity then use
|
671
|
+
# map from composite entity property names to property values, otherwise,
|
672
|
+
# use parameter value.
|
678
673
|
# @!attribute [rw] language_code
|
679
674
|
# @return [::String]
|
680
675
|
# Required. The language of this query. See [Language
|
@@ -30,16 +30,16 @@ module Google
|
|
30
30
|
# The names of the entries that the error is associated with.
|
31
31
|
# Format:
|
32
32
|
#
|
33
|
-
# -
|
33
|
+
# - `projects/<Project ID>/agent`, if the error is associated with the entire
|
34
34
|
# agent.
|
35
|
-
# -
|
35
|
+
# - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is
|
36
36
|
# associated with certain intents.
|
37
|
-
# -
|
38
|
-
#
|
39
|
-
#
|
40
|
-
# -
|
41
|
-
# ID
|
42
|
-
# -
|
37
|
+
# - `projects/<Project ID>/agent/intents/<Intent
|
38
|
+
# Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with
|
39
|
+
# certain intent training phrases.
|
40
|
+
# - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter
|
41
|
+
# ID>`, if the error is associated with certain intent parameters.
|
42
|
+
# - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is
|
43
43
|
# associated with certain entities.
|
44
44
|
# @!attribute [rw] error_message
|
45
45
|
# @return [::String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|