google-apis-dialogflow_v2 0.95.0 → 0.97.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684cf061f962748d1abeaba170827495774555e12ba7c35c7a09b88c9fa3eb06
|
4
|
+
data.tar.gz: c42f685b62d27bdcad9065db5083b1e7e683fb2bd41219de4d13513c45be47a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779f694ac2fa3b46ceef4037d95fd4e2da8b49be076da8a3e260e9e109b7d5f2e918e648d8a5161a26e86d265939bf8af4c63a0380a5d31388ec00a80220a0fc
|
7
|
+
data.tar.gz: 7123ed942de7d2f1cfe9249508b7b72c6856bddca09cef70f02e7c1cdbf7f6cbdc1b24f05a2505bc0e07afc761d490324e353160f630db9da240a1b9102a4083
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.97.0 (2025-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250103
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.96.0 (2024-12-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241216
|
11
|
+
|
3
12
|
### v0.95.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241212
|
@@ -8773,6 +8773,12 @@ module Google
|
|
8773
8773
|
# @return [String]
|
8774
8774
|
attr_accessor :start_time
|
8775
8775
|
|
8776
|
+
# The information about phone calls connected via phone gateway to the
|
8777
|
+
# conversation.
|
8778
|
+
# Corresponds to the JSON property `telephonyConnectionInfo`
|
8779
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo]
|
8780
|
+
attr_accessor :telephony_connection_info
|
8781
|
+
|
8776
8782
|
def initialize(**args)
|
8777
8783
|
update!(**args)
|
8778
8784
|
end
|
@@ -8786,6 +8792,7 @@ module Google
|
|
8786
8792
|
@name = args[:name] if args.key?(:name)
|
8787
8793
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
8788
8794
|
@start_time = args[:start_time] if args.key?(:start_time)
|
8795
|
+
@telephony_connection_info = args[:telephony_connection_info] if args.key?(:telephony_connection_info)
|
8789
8796
|
end
|
8790
8797
|
end
|
8791
8798
|
|
@@ -8910,6 +8917,33 @@ module Google
|
|
8910
8917
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message]
|
8911
8918
|
attr_accessor :new_message_payload
|
8912
8919
|
|
8920
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
8921
|
+
# that is currently being processed or an indication that this is the end of the
|
8922
|
+
# single requested utterance. While end-user audio is being processed,
|
8923
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
8924
|
+
# value. A transcript represents a portion of the utterance. While the
|
8925
|
+
# recognizer is processing audio, transcript values may be interim values or
|
8926
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
8927
|
+
# to true and processing continues for the next transcript. If `
|
8928
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
8929
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
8930
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
8931
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
8932
|
+
# determined by concatenating the finalized transcript values received for the
|
8933
|
+
# series of results. In the following example, single utterance is enabled. In
|
8934
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
8935
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
8936
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
8937
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
8938
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
8939
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
8940
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
8941
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
8942
|
+
# question".
|
8943
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
8944
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2StreamingRecognitionResult]
|
8945
|
+
attr_accessor :new_recognition_result_payload
|
8946
|
+
|
8913
8947
|
# The type of the event that this notification refers to.
|
8914
8948
|
# Corresponds to the JSON property `type`
|
8915
8949
|
# @return [String]
|
@@ -8924,6 +8958,7 @@ module Google
|
|
8924
8958
|
@conversation = args[:conversation] if args.key?(:conversation)
|
8925
8959
|
@error_status = args[:error_status] if args.key?(:error_status)
|
8926
8960
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
8961
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
8927
8962
|
@type = args[:type] if args.key?(:type)
|
8928
8963
|
end
|
8929
8964
|
end
|
@@ -9096,6 +9131,11 @@ module Google
|
|
9096
9131
|
class GoogleCloudDialogflowV2ConversationPhoneNumber
|
9097
9132
|
include Google::Apis::Core::Hashable
|
9098
9133
|
|
9134
|
+
# Output only. Desired country code for the phone number.
|
9135
|
+
# Corresponds to the JSON property `countryCode`
|
9136
|
+
# @return [Fixnum]
|
9137
|
+
attr_accessor :country_code
|
9138
|
+
|
9099
9139
|
# Output only. The phone number to connect to this conversation.
|
9100
9140
|
# Corresponds to the JSON property `phoneNumber`
|
9101
9141
|
# @return [String]
|
@@ -9107,6 +9147,7 @@ module Google
|
|
9107
9147
|
|
9108
9148
|
# Update properties of this object
|
9109
9149
|
def update!(**args)
|
9150
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
9110
9151
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
9111
9152
|
end
|
9112
9153
|
end
|
@@ -9166,6 +9207,11 @@ module Google
|
|
9166
9207
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig]
|
9167
9208
|
attr_accessor :new_message_event_notification_config
|
9168
9209
|
|
9210
|
+
# Defines notification behavior.
|
9211
|
+
# Corresponds to the JSON property `newRecognitionResultNotificationConfig`
|
9212
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig]
|
9213
|
+
attr_accessor :new_recognition_result_notification_config
|
9214
|
+
|
9169
9215
|
# Defines notification behavior.
|
9170
9216
|
# Corresponds to the JSON property `notificationConfig`
|
9171
9217
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig]
|
@@ -9214,6 +9260,7 @@ module Google
|
|
9214
9260
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
9215
9261
|
@name = args[:name] if args.key?(:name)
|
9216
9262
|
@new_message_event_notification_config = args[:new_message_event_notification_config] if args.key?(:new_message_event_notification_config)
|
9263
|
+
@new_recognition_result_notification_config = args[:new_recognition_result_notification_config] if args.key?(:new_recognition_result_notification_config)
|
9217
9264
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
9218
9265
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
9219
9266
|
@stt_config = args[:stt_config] if args.key?(:stt_config)
|
@@ -9223,6 +9270,96 @@ module Google
|
|
9223
9270
|
end
|
9224
9271
|
end
|
9225
9272
|
|
9273
|
+
# The information about phone calls connected via phone gateway to the
|
9274
|
+
# conversation.
|
9275
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
|
9276
|
+
include Google::Apis::Core::Hashable
|
9277
|
+
|
9278
|
+
# Output only. The number dialed to connect this call in E.164 format.
|
9279
|
+
# Corresponds to the JSON property `dialedNumber`
|
9280
|
+
# @return [String]
|
9281
|
+
attr_accessor :dialed_number
|
9282
|
+
|
9283
|
+
# Output only. The mime content from the initial SIP INVITE.
|
9284
|
+
# Corresponds to the JSON property `extraMimeContents`
|
9285
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent>]
|
9286
|
+
attr_accessor :extra_mime_contents
|
9287
|
+
|
9288
|
+
# Optional. SDP of the call. It's initially the SDP answer to the endpoint, but
|
9289
|
+
# maybe later updated for the purpose of making the link active, etc.
|
9290
|
+
# Corresponds to the JSON property `sdp`
|
9291
|
+
# @return [String]
|
9292
|
+
attr_accessor :sdp
|
9293
|
+
|
9294
|
+
# Output only. The SIP headers from the initial SIP INVITE.
|
9295
|
+
# Corresponds to the JSON property `sipHeaders`
|
9296
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader>]
|
9297
|
+
attr_accessor :sip_headers
|
9298
|
+
|
9299
|
+
def initialize(**args)
|
9300
|
+
update!(**args)
|
9301
|
+
end
|
9302
|
+
|
9303
|
+
# Update properties of this object
|
9304
|
+
def update!(**args)
|
9305
|
+
@dialed_number = args[:dialed_number] if args.key?(:dialed_number)
|
9306
|
+
@extra_mime_contents = args[:extra_mime_contents] if args.key?(:extra_mime_contents)
|
9307
|
+
@sdp = args[:sdp] if args.key?(:sdp)
|
9308
|
+
@sip_headers = args[:sip_headers] if args.key?(:sip_headers)
|
9309
|
+
end
|
9310
|
+
end
|
9311
|
+
|
9312
|
+
# The mime content from the initial SIP INVITE.
|
9313
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
|
9314
|
+
include Google::Apis::Core::Hashable
|
9315
|
+
|
9316
|
+
# Optional. The content payload.
|
9317
|
+
# Corresponds to the JSON property `content`
|
9318
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9319
|
+
# @return [String]
|
9320
|
+
attr_accessor :content
|
9321
|
+
|
9322
|
+
# Optional. The mime type of the content.
|
9323
|
+
# Corresponds to the JSON property `mimeType`
|
9324
|
+
# @return [String]
|
9325
|
+
attr_accessor :mime_type
|
9326
|
+
|
9327
|
+
def initialize(**args)
|
9328
|
+
update!(**args)
|
9329
|
+
end
|
9330
|
+
|
9331
|
+
# Update properties of this object
|
9332
|
+
def update!(**args)
|
9333
|
+
@content = args[:content] if args.key?(:content)
|
9334
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
9335
|
+
end
|
9336
|
+
end
|
9337
|
+
|
9338
|
+
# The SIP headers from the initial SIP INVITE.
|
9339
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
|
9340
|
+
include Google::Apis::Core::Hashable
|
9341
|
+
|
9342
|
+
# Optional. The name of the header.
|
9343
|
+
# Corresponds to the JSON property `name`
|
9344
|
+
# @return [String]
|
9345
|
+
attr_accessor :name
|
9346
|
+
|
9347
|
+
# Optional. The value of the header.
|
9348
|
+
# Corresponds to the JSON property `value`
|
9349
|
+
# @return [String]
|
9350
|
+
attr_accessor :value
|
9351
|
+
|
9352
|
+
def initialize(**args)
|
9353
|
+
update!(**args)
|
9354
|
+
end
|
9355
|
+
|
9356
|
+
# Update properties of this object
|
9357
|
+
def update!(**args)
|
9358
|
+
@name = args[:name] if args.key?(:name)
|
9359
|
+
@value = args[:value] if args.key?(:value)
|
9360
|
+
end
|
9361
|
+
end
|
9362
|
+
|
9226
9363
|
# Metadata for CreateConversationDataset.
|
9227
9364
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
9228
9365
|
include Google::Apis::Core::Hashable
|
@@ -15448,6 +15585,140 @@ module Google
|
|
15448
15585
|
end
|
15449
15586
|
end
|
15450
15587
|
|
15588
|
+
# Information for a word recognized by the speech recognizer.
|
15589
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
15590
|
+
include Google::Apis::Core::Hashable
|
15591
|
+
|
15592
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
15593
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
15594
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
15595
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
15596
|
+
# input. Users should also not rely on it to always be provided.
|
15597
|
+
# Corresponds to the JSON property `confidence`
|
15598
|
+
# @return [Float]
|
15599
|
+
attr_accessor :confidence
|
15600
|
+
|
15601
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
15602
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
15603
|
+
# time offset can vary.
|
15604
|
+
# Corresponds to the JSON property `endOffset`
|
15605
|
+
# @return [String]
|
15606
|
+
attr_accessor :end_offset
|
15607
|
+
|
15608
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
15609
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
15610
|
+
# the time offset can vary.
|
15611
|
+
# Corresponds to the JSON property `startOffset`
|
15612
|
+
# @return [String]
|
15613
|
+
attr_accessor :start_offset
|
15614
|
+
|
15615
|
+
# The word this info is for.
|
15616
|
+
# Corresponds to the JSON property `word`
|
15617
|
+
# @return [String]
|
15618
|
+
attr_accessor :word
|
15619
|
+
|
15620
|
+
def initialize(**args)
|
15621
|
+
update!(**args)
|
15622
|
+
end
|
15623
|
+
|
15624
|
+
# Update properties of this object
|
15625
|
+
def update!(**args)
|
15626
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
15627
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
15628
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
15629
|
+
@word = args[:word] if args.key?(:word)
|
15630
|
+
end
|
15631
|
+
end
|
15632
|
+
|
15633
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
15634
|
+
# that is currently being processed or an indication that this is the end of the
|
15635
|
+
# single requested utterance. While end-user audio is being processed,
|
15636
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
15637
|
+
# value. A transcript represents a portion of the utterance. While the
|
15638
|
+
# recognizer is processing audio, transcript values may be interim values or
|
15639
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
15640
|
+
# to true and processing continues for the next transcript. If `
|
15641
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
15642
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
15643
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
15644
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
15645
|
+
# determined by concatenating the finalized transcript values received for the
|
15646
|
+
# series of results. In the following example, single utterance is enabled. In
|
15647
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
15648
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
15649
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
15650
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
15651
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
15652
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
15653
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
15654
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
15655
|
+
# question".
|
15656
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
15657
|
+
include Google::Apis::Core::Hashable
|
15658
|
+
|
15659
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
15660
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
15661
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
15662
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
15663
|
+
# true and you should not rely on it being accurate or even set.
|
15664
|
+
# Corresponds to the JSON property `confidence`
|
15665
|
+
# @return [Float]
|
15666
|
+
attr_accessor :confidence
|
15667
|
+
|
15668
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
15669
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
15670
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
15671
|
+
# TRANSCRIPT`.
|
15672
|
+
# Corresponds to the JSON property `isFinal`
|
15673
|
+
# @return [Boolean]
|
15674
|
+
attr_accessor :is_final
|
15675
|
+
alias_method :is_final?, :is_final
|
15676
|
+
|
15677
|
+
# Detected language code for the transcript.
|
15678
|
+
# Corresponds to the JSON property `languageCode`
|
15679
|
+
# @return [String]
|
15680
|
+
attr_accessor :language_code
|
15681
|
+
|
15682
|
+
# Type of the result message.
|
15683
|
+
# Corresponds to the JSON property `messageType`
|
15684
|
+
# @return [String]
|
15685
|
+
attr_accessor :message_type
|
15686
|
+
|
15687
|
+
# Time offset of the end of this Speech recognition result relative to the
|
15688
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
15689
|
+
# Corresponds to the JSON property `speechEndOffset`
|
15690
|
+
# @return [String]
|
15691
|
+
attr_accessor :speech_end_offset
|
15692
|
+
|
15693
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
15694
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
15695
|
+
# enable_word_info] is set.
|
15696
|
+
# Corresponds to the JSON property `speechWordInfo`
|
15697
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechWordInfo>]
|
15698
|
+
attr_accessor :speech_word_info
|
15699
|
+
|
15700
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
15701
|
+
# only if `message_type` = `TRANSCRIPT`.
|
15702
|
+
# Corresponds to the JSON property `transcript`
|
15703
|
+
# @return [String]
|
15704
|
+
attr_accessor :transcript
|
15705
|
+
|
15706
|
+
def initialize(**args)
|
15707
|
+
update!(**args)
|
15708
|
+
end
|
15709
|
+
|
15710
|
+
# Update properties of this object
|
15711
|
+
def update!(**args)
|
15712
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
15713
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
15714
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
15715
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
15716
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
15717
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
15718
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
15719
|
+
end
|
15720
|
+
end
|
15721
|
+
|
15451
15722
|
# The request message for Participants.SuggestArticles.
|
15452
15723
|
class GoogleCloudDialogflowV2SuggestArticlesRequest
|
15453
15724
|
include Google::Apis::Core::Hashable
|
@@ -16763,6 +17034,33 @@ module Google
|
|
16763
17034
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Message]
|
16764
17035
|
attr_accessor :new_message_payload
|
16765
17036
|
|
17037
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
17038
|
+
# that is currently being processed or an indication that this is the end of the
|
17039
|
+
# single requested utterance. While end-user audio is being processed,
|
17040
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
17041
|
+
# value. A transcript represents a portion of the utterance. While the
|
17042
|
+
# recognizer is processing audio, transcript values may be interim values or
|
17043
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
17044
|
+
# to true and processing continues for the next transcript. If `
|
17045
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
17046
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
17047
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
17048
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
17049
|
+
# determined by concatenating the finalized transcript values received for the
|
17050
|
+
# series of results. In the following example, single utterance is enabled. In
|
17051
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
17052
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
17053
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
17054
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
17055
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
17056
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
17057
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
17058
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
17059
|
+
# question".
|
17060
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
17061
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1StreamingRecognitionResult]
|
17062
|
+
attr_accessor :new_recognition_result_payload
|
17063
|
+
|
16766
17064
|
# Required. The type of the event that this notification refers to.
|
16767
17065
|
# Corresponds to the JSON property `type`
|
16768
17066
|
# @return [String]
|
@@ -16777,6 +17075,7 @@ module Google
|
|
16777
17075
|
@conversation = args[:conversation] if args.key?(:conversation)
|
16778
17076
|
@error_status = args[:error_status] if args.key?(:error_status)
|
16779
17077
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
17078
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
16780
17079
|
@type = args[:type] if args.key?(:type)
|
16781
17080
|
end
|
16782
17081
|
end
|
@@ -19917,6 +20216,157 @@ module Google
|
|
19917
20216
|
end
|
19918
20217
|
end
|
19919
20218
|
|
20219
|
+
# Information for a word recognized by the speech recognizer.
|
20220
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
20221
|
+
include Google::Apis::Core::Hashable
|
20222
|
+
|
20223
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
20224
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
20225
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
20226
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
20227
|
+
# input. Users should also not rely on it to always be provided.
|
20228
|
+
# Corresponds to the JSON property `confidence`
|
20229
|
+
# @return [Float]
|
20230
|
+
attr_accessor :confidence
|
20231
|
+
|
20232
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
20233
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
20234
|
+
# time offset can vary.
|
20235
|
+
# Corresponds to the JSON property `endOffset`
|
20236
|
+
# @return [String]
|
20237
|
+
attr_accessor :end_offset
|
20238
|
+
|
20239
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
20240
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
20241
|
+
# the time offset can vary.
|
20242
|
+
# Corresponds to the JSON property `startOffset`
|
20243
|
+
# @return [String]
|
20244
|
+
attr_accessor :start_offset
|
20245
|
+
|
20246
|
+
# The word this info is for.
|
20247
|
+
# Corresponds to the JSON property `word`
|
20248
|
+
# @return [String]
|
20249
|
+
attr_accessor :word
|
20250
|
+
|
20251
|
+
def initialize(**args)
|
20252
|
+
update!(**args)
|
20253
|
+
end
|
20254
|
+
|
20255
|
+
# Update properties of this object
|
20256
|
+
def update!(**args)
|
20257
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
20258
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
20259
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
20260
|
+
@word = args[:word] if args.key?(:word)
|
20261
|
+
end
|
20262
|
+
end
|
20263
|
+
|
20264
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
20265
|
+
# that is currently being processed or an indication that this is the end of the
|
20266
|
+
# single requested utterance. While end-user audio is being processed,
|
20267
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
20268
|
+
# value. A transcript represents a portion of the utterance. While the
|
20269
|
+
# recognizer is processing audio, transcript values may be interim values or
|
20270
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
20271
|
+
# to true and processing continues for the next transcript. If `
|
20272
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
20273
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
20274
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
20275
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
20276
|
+
# determined by concatenating the finalized transcript values received for the
|
20277
|
+
# series of results. In the following example, single utterance is enabled. In
|
20278
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
20279
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
20280
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
20281
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
20282
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
20283
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
20284
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
20285
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
20286
|
+
# question".
|
20287
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
20288
|
+
include Google::Apis::Core::Hashable
|
20289
|
+
|
20290
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
20291
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
20292
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
20293
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
20294
|
+
# true and you should not rely on it being accurate or even set.
|
20295
|
+
# Corresponds to the JSON property `confidence`
|
20296
|
+
# @return [Float]
|
20297
|
+
attr_accessor :confidence
|
20298
|
+
|
20299
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
20300
|
+
# Corresponds to the JSON property `dtmfDigits`
|
20301
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents]
|
20302
|
+
attr_accessor :dtmf_digits
|
20303
|
+
|
20304
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
20305
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
20306
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
20307
|
+
# TRANSCRIPT`.
|
20308
|
+
# Corresponds to the JSON property `isFinal`
|
20309
|
+
# @return [Boolean]
|
20310
|
+
attr_accessor :is_final
|
20311
|
+
alias_method :is_final?, :is_final
|
20312
|
+
|
20313
|
+
# Detected language code for the transcript.
|
20314
|
+
# Corresponds to the JSON property `languageCode`
|
20315
|
+
# @return [String]
|
20316
|
+
attr_accessor :language_code
|
20317
|
+
|
20318
|
+
# Type of the result message.
|
20319
|
+
# Corresponds to the JSON property `messageType`
|
20320
|
+
# @return [String]
|
20321
|
+
attr_accessor :message_type
|
20322
|
+
|
20323
|
+
# Time offset of the end of this Speech recognition result relative to the
|
20324
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
20325
|
+
# Corresponds to the JSON property `speechEndOffset`
|
20326
|
+
# @return [String]
|
20327
|
+
attr_accessor :speech_end_offset
|
20328
|
+
|
20329
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
20330
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
20331
|
+
# enable_word_info] is set.
|
20332
|
+
# Corresponds to the JSON property `speechWordInfo`
|
20333
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SpeechWordInfo>]
|
20334
|
+
attr_accessor :speech_word_info
|
20335
|
+
|
20336
|
+
# An estimate of the likelihood that the speech recognizer will not change its
|
20337
|
+
# guess about this interim recognition result: * If the value is unspecified or
|
20338
|
+
# 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will
|
20339
|
+
# only provide stability for `TRANSCRIPT` results with `is_final = false`. *
|
20340
|
+
# Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and
|
20341
|
+
# 1.0 means completely stable.
|
20342
|
+
# Corresponds to the JSON property `stability`
|
20343
|
+
# @return [Float]
|
20344
|
+
attr_accessor :stability
|
20345
|
+
|
20346
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
20347
|
+
# only if `message_type` = `TRANSCRIPT`.
|
20348
|
+
# Corresponds to the JSON property `transcript`
|
20349
|
+
# @return [String]
|
20350
|
+
attr_accessor :transcript
|
20351
|
+
|
20352
|
+
def initialize(**args)
|
20353
|
+
update!(**args)
|
20354
|
+
end
|
20355
|
+
|
20356
|
+
# Update properties of this object
|
20357
|
+
def update!(**args)
|
20358
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
20359
|
+
@dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
|
20360
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
20361
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
20362
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
20363
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
20364
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
20365
|
+
@stability = args[:stability] if args.key?(:stability)
|
20366
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
20367
|
+
end
|
20368
|
+
end
|
20369
|
+
|
19920
20370
|
# The response message for Participants.SuggestArticles.
|
19921
20371
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
19922
20372
|
include Google::Apis::Core::Hashable
|
@@ -20154,6 +20604,25 @@ module Google
|
|
20154
20604
|
end
|
20155
20605
|
end
|
20156
20606
|
|
20607
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
20608
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
20609
|
+
include Google::Apis::Core::Hashable
|
20610
|
+
|
20611
|
+
# A sequence of TelephonyDtmf digits.
|
20612
|
+
# Corresponds to the JSON property `dtmfEvents`
|
20613
|
+
# @return [Array<String>]
|
20614
|
+
attr_accessor :dtmf_events
|
20615
|
+
|
20616
|
+
def initialize(**args)
|
20617
|
+
update!(**args)
|
20618
|
+
end
|
20619
|
+
|
20620
|
+
# Update properties of this object
|
20621
|
+
def update!(**args)
|
20622
|
+
@dtmf_events = args[:dtmf_events] if args.key?(:dtmf_events)
|
20623
|
+
end
|
20624
|
+
end
|
20625
|
+
|
20157
20626
|
# The request message for a webhook call.
|
20158
20627
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
20159
20628
|
include Google::Apis::Core::Hashable
|
@@ -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.97.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1468,6 +1468,24 @@ module Google
|
|
1468
1468
|
include Google::Apis::Core::JsonObjectSupport
|
1469
1469
|
end
|
1470
1470
|
|
1471
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
|
+
|
1474
|
+
include Google::Apis::Core::JsonObjectSupport
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
|
1478
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1479
|
+
|
1480
|
+
include Google::Apis::Core::JsonObjectSupport
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
|
+
|
1486
|
+
include Google::Apis::Core::JsonObjectSupport
|
1487
|
+
end
|
1488
|
+
|
1471
1489
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
1472
1490
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
1491
|
|
@@ -2506,6 +2524,18 @@ module Google
|
|
2506
2524
|
include Google::Apis::Core::JsonObjectSupport
|
2507
2525
|
end
|
2508
2526
|
|
2527
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
2528
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2529
|
+
|
2530
|
+
include Google::Apis::Core::JsonObjectSupport
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
2534
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2535
|
+
|
2536
|
+
include Google::Apis::Core::JsonObjectSupport
|
2537
|
+
end
|
2538
|
+
|
2509
2539
|
class GoogleCloudDialogflowV2SuggestArticlesRequest
|
2510
2540
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2511
2541
|
|
@@ -3250,6 +3280,18 @@ module Google
|
|
3250
3280
|
include Google::Apis::Core::JsonObjectSupport
|
3251
3281
|
end
|
3252
3282
|
|
3283
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
3284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3285
|
+
|
3286
|
+
include Google::Apis::Core::JsonObjectSupport
|
3287
|
+
end
|
3288
|
+
|
3289
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
3290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3291
|
+
|
3292
|
+
include Google::Apis::Core::JsonObjectSupport
|
3293
|
+
end
|
3294
|
+
|
3253
3295
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
3254
3296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3255
3297
|
|
@@ -3286,6 +3328,12 @@ module Google
|
|
3286
3328
|
include Google::Apis::Core::JsonObjectSupport
|
3287
3329
|
end
|
3288
3330
|
|
3331
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
3332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3333
|
+
|
3334
|
+
include Google::Apis::Core::JsonObjectSupport
|
3335
|
+
end
|
3336
|
+
|
3289
3337
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
3290
3338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3291
3339
|
|
@@ -5697,6 +5745,8 @@ module Google
|
|
5697
5745
|
property :phone_number, as: 'phoneNumber', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationPhoneNumber, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationPhoneNumber::Representation
|
5698
5746
|
|
5699
5747
|
property :start_time, as: 'startTime'
|
5748
|
+
property :telephony_connection_info, as: 'telephonyConnectionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo::Representation
|
5749
|
+
|
5700
5750
|
end
|
5701
5751
|
end
|
5702
5752
|
|
@@ -5733,6 +5783,8 @@ module Google
|
|
5733
5783
|
|
5734
5784
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message::Representation
|
5735
5785
|
|
5786
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2StreamingRecognitionResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2StreamingRecognitionResult::Representation
|
5787
|
+
|
5736
5788
|
property :type, as: 'type'
|
5737
5789
|
end
|
5738
5790
|
end
|
@@ -5780,6 +5832,7 @@ module Google
|
|
5780
5832
|
class GoogleCloudDialogflowV2ConversationPhoneNumber
|
5781
5833
|
# @private
|
5782
5834
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5835
|
+
property :country_code, as: 'countryCode'
|
5783
5836
|
property :phone_number, as: 'phoneNumber'
|
5784
5837
|
end
|
5785
5838
|
end
|
@@ -5801,6 +5854,8 @@ module Google
|
|
5801
5854
|
property :name, as: 'name'
|
5802
5855
|
property :new_message_event_notification_config, as: 'newMessageEventNotificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
|
5803
5856
|
|
5857
|
+
property :new_recognition_result_notification_config, as: 'newRecognitionResultNotificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
|
5858
|
+
|
5804
5859
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
|
5805
5860
|
|
5806
5861
|
property :security_settings, as: 'securitySettings'
|
@@ -5813,6 +5868,34 @@ module Google
|
|
5813
5868
|
end
|
5814
5869
|
end
|
5815
5870
|
|
5871
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
|
5872
|
+
# @private
|
5873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5874
|
+
property :dialed_number, as: 'dialedNumber'
|
5875
|
+
collection :extra_mime_contents, as: 'extraMimeContents', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent::Representation
|
5876
|
+
|
5877
|
+
property :sdp, as: 'sdp'
|
5878
|
+
collection :sip_headers, as: 'sipHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader::Representation
|
5879
|
+
|
5880
|
+
end
|
5881
|
+
end
|
5882
|
+
|
5883
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
|
5884
|
+
# @private
|
5885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5886
|
+
property :content, :base64 => true, as: 'content'
|
5887
|
+
property :mime_type, as: 'mimeType'
|
5888
|
+
end
|
5889
|
+
end
|
5890
|
+
|
5891
|
+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
|
5892
|
+
# @private
|
5893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5894
|
+
property :name, as: 'name'
|
5895
|
+
property :value, as: 'value'
|
5896
|
+
end
|
5897
|
+
end
|
5898
|
+
|
5816
5899
|
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
|
5817
5900
|
# @private
|
5818
5901
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7539,6 +7622,30 @@ module Google
|
|
7539
7622
|
end
|
7540
7623
|
end
|
7541
7624
|
|
7625
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
7626
|
+
# @private
|
7627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7628
|
+
property :confidence, as: 'confidence'
|
7629
|
+
property :end_offset, as: 'endOffset'
|
7630
|
+
property :start_offset, as: 'startOffset'
|
7631
|
+
property :word, as: 'word'
|
7632
|
+
end
|
7633
|
+
end
|
7634
|
+
|
7635
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
7636
|
+
# @private
|
7637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7638
|
+
property :confidence, as: 'confidence'
|
7639
|
+
property :is_final, as: 'isFinal'
|
7640
|
+
property :language_code, as: 'languageCode'
|
7641
|
+
property :message_type, as: 'messageType'
|
7642
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
7643
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechWordInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechWordInfo::Representation
|
7644
|
+
|
7645
|
+
property :transcript, as: 'transcript'
|
7646
|
+
end
|
7647
|
+
end
|
7648
|
+
|
7542
7649
|
class GoogleCloudDialogflowV2SuggestArticlesRequest
|
7543
7650
|
# @private
|
7544
7651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7902,6 +8009,8 @@ module Google
|
|
7902
8009
|
|
7903
8010
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Message::Representation
|
7904
8011
|
|
8012
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1StreamingRecognitionResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1StreamingRecognitionResult::Representation
|
8013
|
+
|
7905
8014
|
property :type, as: 'type'
|
7906
8015
|
end
|
7907
8016
|
end
|
@@ -8785,6 +8894,33 @@ module Google
|
|
8785
8894
|
end
|
8786
8895
|
end
|
8787
8896
|
|
8897
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
8898
|
+
# @private
|
8899
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8900
|
+
property :confidence, as: 'confidence'
|
8901
|
+
property :end_offset, as: 'endOffset'
|
8902
|
+
property :start_offset, as: 'startOffset'
|
8903
|
+
property :word, as: 'word'
|
8904
|
+
end
|
8905
|
+
end
|
8906
|
+
|
8907
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
8908
|
+
# @private
|
8909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8910
|
+
property :confidence, as: 'confidence'
|
8911
|
+
property :dtmf_digits, as: 'dtmfDigits', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents::Representation
|
8912
|
+
|
8913
|
+
property :is_final, as: 'isFinal'
|
8914
|
+
property :language_code, as: 'languageCode'
|
8915
|
+
property :message_type, as: 'messageType'
|
8916
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
8917
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SpeechWordInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SpeechWordInfo::Representation
|
8918
|
+
|
8919
|
+
property :stability, as: 'stability'
|
8920
|
+
property :transcript, as: 'transcript'
|
8921
|
+
end
|
8922
|
+
end
|
8923
|
+
|
8788
8924
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
8789
8925
|
# @private
|
8790
8926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8855,6 +8991,13 @@ module Google
|
|
8855
8991
|
end
|
8856
8992
|
end
|
8857
8993
|
|
8994
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
8995
|
+
# @private
|
8996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8997
|
+
collection :dtmf_events, as: 'dtmfEvents'
|
8998
|
+
end
|
8999
|
+
end
|
9000
|
+
|
8858
9001
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
8859
9002
|
# @private
|
8860
9003
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +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.97.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.97.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Dialogflow API V2
|
82
79
|
test_files: []
|