google-apis-dialogflow_v3 0.100.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: 2e95f6d68e89084be8b71422ef336831dccf0c101a3b489ee00276e7c3af1493
|
4
|
+
data.tar.gz: 4c3db5e3a41cb61d169095d76db8bee9d65c79953f9d6147dfcf4a7b1f6ff7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e80940a39ef39778cd6f52848bcd74137b8e095bd6b47866a09b037d3e2da2999379a731f18f01952d9691be4e3dbc61ec498377465cc63dd0175486dcee2387
|
7
|
+
data.tar.gz: 1cb6f2c149f1a84af3c296c293a724ed1db73320ace17027270e3cc35ceeb5d50b5eb00b0165571a061f7f51010f12f248930633f023c2429fd1337cb7bfb70a
|
data/CHANGELOG.md
CHANGED
@@ -13001,6 +13001,33 @@ module Google
|
|
13001
13001
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Message]
|
13002
13002
|
attr_accessor :new_message_payload
|
13003
13003
|
|
13004
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
13005
|
+
# that is currently being processed or an indication that this is the end of the
|
13006
|
+
# single requested utterance. While end-user audio is being processed,
|
13007
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
13008
|
+
# value. A transcript represents a portion of the utterance. While the
|
13009
|
+
# recognizer is processing audio, transcript values may be interim values or
|
13010
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
13011
|
+
# to true and processing continues for the next transcript. If `
|
13012
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
13013
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
13014
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
13015
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
13016
|
+
# determined by concatenating the finalized transcript values received for the
|
13017
|
+
# series of results. In the following example, single utterance is enabled. In
|
13018
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
13019
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
13020
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
13021
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
13022
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
13023
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
13024
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
13025
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
13026
|
+
# question".
|
13027
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
13028
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2StreamingRecognitionResult]
|
13029
|
+
attr_accessor :new_recognition_result_payload
|
13030
|
+
|
13004
13031
|
# The type of the event that this notification refers to.
|
13005
13032
|
# Corresponds to the JSON property `type`
|
13006
13033
|
# @return [String]
|
@@ -13015,6 +13042,7 @@ module Google
|
|
13015
13042
|
@conversation = args[:conversation] if args.key?(:conversation)
|
13016
13043
|
@error_status = args[:error_status] if args.key?(:error_status)
|
13017
13044
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
13045
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
13018
13046
|
@type = args[:type] if args.key?(:type)
|
13019
13047
|
end
|
13020
13048
|
end
|
@@ -15663,6 +15691,140 @@ module Google
|
|
15663
15691
|
end
|
15664
15692
|
end
|
15665
15693
|
|
15694
|
+
# Information for a word recognized by the speech recognizer.
|
15695
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
15696
|
+
include Google::Apis::Core::Hashable
|
15697
|
+
|
15698
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
15699
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
15700
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
15701
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
15702
|
+
# input. Users should also not rely on it to always be provided.
|
15703
|
+
# Corresponds to the JSON property `confidence`
|
15704
|
+
# @return [Float]
|
15705
|
+
attr_accessor :confidence
|
15706
|
+
|
15707
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
15708
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
15709
|
+
# time offset can vary.
|
15710
|
+
# Corresponds to the JSON property `endOffset`
|
15711
|
+
# @return [String]
|
15712
|
+
attr_accessor :end_offset
|
15713
|
+
|
15714
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
15715
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
15716
|
+
# the time offset can vary.
|
15717
|
+
# Corresponds to the JSON property `startOffset`
|
15718
|
+
# @return [String]
|
15719
|
+
attr_accessor :start_offset
|
15720
|
+
|
15721
|
+
# The word this info is for.
|
15722
|
+
# Corresponds to the JSON property `word`
|
15723
|
+
# @return [String]
|
15724
|
+
attr_accessor :word
|
15725
|
+
|
15726
|
+
def initialize(**args)
|
15727
|
+
update!(**args)
|
15728
|
+
end
|
15729
|
+
|
15730
|
+
# Update properties of this object
|
15731
|
+
def update!(**args)
|
15732
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
15733
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
15734
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
15735
|
+
@word = args[:word] if args.key?(:word)
|
15736
|
+
end
|
15737
|
+
end
|
15738
|
+
|
15739
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
15740
|
+
# that is currently being processed or an indication that this is the end of the
|
15741
|
+
# single requested utterance. While end-user audio is being processed,
|
15742
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
15743
|
+
# value. A transcript represents a portion of the utterance. While the
|
15744
|
+
# recognizer is processing audio, transcript values may be interim values or
|
15745
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
15746
|
+
# to true and processing continues for the next transcript. If `
|
15747
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
15748
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
15749
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
15750
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
15751
|
+
# determined by concatenating the finalized transcript values received for the
|
15752
|
+
# series of results. In the following example, single utterance is enabled. In
|
15753
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
15754
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
15755
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
15756
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
15757
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
15758
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
15759
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
15760
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
15761
|
+
# question".
|
15762
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
15763
|
+
include Google::Apis::Core::Hashable
|
15764
|
+
|
15765
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
15766
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
15767
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
15768
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
15769
|
+
# true and you should not rely on it being accurate or even set.
|
15770
|
+
# Corresponds to the JSON property `confidence`
|
15771
|
+
# @return [Float]
|
15772
|
+
attr_accessor :confidence
|
15773
|
+
|
15774
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
15775
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
15776
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
15777
|
+
# TRANSCRIPT`.
|
15778
|
+
# Corresponds to the JSON property `isFinal`
|
15779
|
+
# @return [Boolean]
|
15780
|
+
attr_accessor :is_final
|
15781
|
+
alias_method :is_final?, :is_final
|
15782
|
+
|
15783
|
+
# Detected language code for the transcript.
|
15784
|
+
# Corresponds to the JSON property `languageCode`
|
15785
|
+
# @return [String]
|
15786
|
+
attr_accessor :language_code
|
15787
|
+
|
15788
|
+
# Type of the result message.
|
15789
|
+
# Corresponds to the JSON property `messageType`
|
15790
|
+
# @return [String]
|
15791
|
+
attr_accessor :message_type
|
15792
|
+
|
15793
|
+
# Time offset of the end of this Speech recognition result relative to the
|
15794
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
15795
|
+
# Corresponds to the JSON property `speechEndOffset`
|
15796
|
+
# @return [String]
|
15797
|
+
attr_accessor :speech_end_offset
|
15798
|
+
|
15799
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
15800
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
15801
|
+
# enable_word_info] is set.
|
15802
|
+
# Corresponds to the JSON property `speechWordInfo`
|
15803
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SpeechWordInfo>]
|
15804
|
+
attr_accessor :speech_word_info
|
15805
|
+
|
15806
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
15807
|
+
# only if `message_type` = `TRANSCRIPT`.
|
15808
|
+
# Corresponds to the JSON property `transcript`
|
15809
|
+
# @return [String]
|
15810
|
+
attr_accessor :transcript
|
15811
|
+
|
15812
|
+
def initialize(**args)
|
15813
|
+
update!(**args)
|
15814
|
+
end
|
15815
|
+
|
15816
|
+
# Update properties of this object
|
15817
|
+
def update!(**args)
|
15818
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
15819
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
15820
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
15821
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
15822
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
15823
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
15824
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
15825
|
+
end
|
15826
|
+
end
|
15827
|
+
|
15666
15828
|
# The response message for Participants.SuggestArticles.
|
15667
15829
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
15668
15830
|
include Google::Apis::Core::Hashable
|
@@ -16253,6 +16415,33 @@ module Google
|
|
16253
16415
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message]
|
16254
16416
|
attr_accessor :new_message_payload
|
16255
16417
|
|
16418
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
16419
|
+
# that is currently being processed or an indication that this is the end of the
|
16420
|
+
# single requested utterance. While end-user audio is being processed,
|
16421
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
16422
|
+
# value. A transcript represents a portion of the utterance. While the
|
16423
|
+
# recognizer is processing audio, transcript values may be interim values or
|
16424
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
16425
|
+
# to true and processing continues for the next transcript. If `
|
16426
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
16427
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
16428
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
16429
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
16430
|
+
# determined by concatenating the finalized transcript values received for the
|
16431
|
+
# series of results. In the following example, single utterance is enabled. In
|
16432
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
16433
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
16434
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
16435
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
16436
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
16437
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
16438
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
16439
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
16440
|
+
# question".
|
16441
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
16442
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1StreamingRecognitionResult]
|
16443
|
+
attr_accessor :new_recognition_result_payload
|
16444
|
+
|
16256
16445
|
# Required. The type of the event that this notification refers to.
|
16257
16446
|
# Corresponds to the JSON property `type`
|
16258
16447
|
# @return [String]
|
@@ -16267,6 +16456,7 @@ module Google
|
|
16267
16456
|
@conversation = args[:conversation] if args.key?(:conversation)
|
16268
16457
|
@error_status = args[:error_status] if args.key?(:error_status)
|
16269
16458
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
16459
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
16270
16460
|
@type = args[:type] if args.key?(:type)
|
16271
16461
|
end
|
16272
16462
|
end
|
@@ -19407,6 +19597,157 @@ module Google
|
|
19407
19597
|
end
|
19408
19598
|
end
|
19409
19599
|
|
19600
|
+
# Information for a word recognized by the speech recognizer.
|
19601
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
19602
|
+
include Google::Apis::Core::Hashable
|
19603
|
+
|
19604
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
19605
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
19606
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
19607
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
19608
|
+
# input. Users should also not rely on it to always be provided.
|
19609
|
+
# Corresponds to the JSON property `confidence`
|
19610
|
+
# @return [Float]
|
19611
|
+
attr_accessor :confidence
|
19612
|
+
|
19613
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
19614
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
19615
|
+
# time offset can vary.
|
19616
|
+
# Corresponds to the JSON property `endOffset`
|
19617
|
+
# @return [String]
|
19618
|
+
attr_accessor :end_offset
|
19619
|
+
|
19620
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
19621
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
19622
|
+
# the time offset can vary.
|
19623
|
+
# Corresponds to the JSON property `startOffset`
|
19624
|
+
# @return [String]
|
19625
|
+
attr_accessor :start_offset
|
19626
|
+
|
19627
|
+
# The word this info is for.
|
19628
|
+
# Corresponds to the JSON property `word`
|
19629
|
+
# @return [String]
|
19630
|
+
attr_accessor :word
|
19631
|
+
|
19632
|
+
def initialize(**args)
|
19633
|
+
update!(**args)
|
19634
|
+
end
|
19635
|
+
|
19636
|
+
# Update properties of this object
|
19637
|
+
def update!(**args)
|
19638
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
19639
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
19640
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
19641
|
+
@word = args[:word] if args.key?(:word)
|
19642
|
+
end
|
19643
|
+
end
|
19644
|
+
|
19645
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
19646
|
+
# that is currently being processed or an indication that this is the end of the
|
19647
|
+
# single requested utterance. While end-user audio is being processed,
|
19648
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
19649
|
+
# value. A transcript represents a portion of the utterance. While the
|
19650
|
+
# recognizer is processing audio, transcript values may be interim values or
|
19651
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
19652
|
+
# to true and processing continues for the next transcript. If `
|
19653
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
19654
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
19655
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
19656
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
19657
|
+
# determined by concatenating the finalized transcript values received for the
|
19658
|
+
# series of results. In the following example, single utterance is enabled. In
|
19659
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
19660
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
19661
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
19662
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
19663
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
19664
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
19665
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
19666
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
19667
|
+
# question".
|
19668
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
19669
|
+
include Google::Apis::Core::Hashable
|
19670
|
+
|
19671
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
19672
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
19673
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
19674
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
19675
|
+
# true and you should not rely on it being accurate or even set.
|
19676
|
+
# Corresponds to the JSON property `confidence`
|
19677
|
+
# @return [Float]
|
19678
|
+
attr_accessor :confidence
|
19679
|
+
|
19680
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
19681
|
+
# Corresponds to the JSON property `dtmfDigits`
|
19682
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents]
|
19683
|
+
attr_accessor :dtmf_digits
|
19684
|
+
|
19685
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
19686
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
19687
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
19688
|
+
# TRANSCRIPT`.
|
19689
|
+
# Corresponds to the JSON property `isFinal`
|
19690
|
+
# @return [Boolean]
|
19691
|
+
attr_accessor :is_final
|
19692
|
+
alias_method :is_final?, :is_final
|
19693
|
+
|
19694
|
+
# Detected language code for the transcript.
|
19695
|
+
# Corresponds to the JSON property `languageCode`
|
19696
|
+
# @return [String]
|
19697
|
+
attr_accessor :language_code
|
19698
|
+
|
19699
|
+
# Type of the result message.
|
19700
|
+
# Corresponds to the JSON property `messageType`
|
19701
|
+
# @return [String]
|
19702
|
+
attr_accessor :message_type
|
19703
|
+
|
19704
|
+
# Time offset of the end of this Speech recognition result relative to the
|
19705
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
19706
|
+
# Corresponds to the JSON property `speechEndOffset`
|
19707
|
+
# @return [String]
|
19708
|
+
attr_accessor :speech_end_offset
|
19709
|
+
|
19710
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
19711
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
19712
|
+
# enable_word_info] is set.
|
19713
|
+
# Corresponds to the JSON property `speechWordInfo`
|
19714
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SpeechWordInfo>]
|
19715
|
+
attr_accessor :speech_word_info
|
19716
|
+
|
19717
|
+
# An estimate of the likelihood that the speech recognizer will not change its
|
19718
|
+
# guess about this interim recognition result: * If the value is unspecified or
|
19719
|
+
# 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will
|
19720
|
+
# only provide stability for `TRANSCRIPT` results with `is_final = false`. *
|
19721
|
+
# Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and
|
19722
|
+
# 1.0 means completely stable.
|
19723
|
+
# Corresponds to the JSON property `stability`
|
19724
|
+
# @return [Float]
|
19725
|
+
attr_accessor :stability
|
19726
|
+
|
19727
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
19728
|
+
# only if `message_type` = `TRANSCRIPT`.
|
19729
|
+
# Corresponds to the JSON property `transcript`
|
19730
|
+
# @return [String]
|
19731
|
+
attr_accessor :transcript
|
19732
|
+
|
19733
|
+
def initialize(**args)
|
19734
|
+
update!(**args)
|
19735
|
+
end
|
19736
|
+
|
19737
|
+
# Update properties of this object
|
19738
|
+
def update!(**args)
|
19739
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
19740
|
+
@dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
|
19741
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
19742
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
19743
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
19744
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
19745
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
19746
|
+
@stability = args[:stability] if args.key?(:stability)
|
19747
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
19748
|
+
end
|
19749
|
+
end
|
19750
|
+
|
19410
19751
|
# The response message for Participants.SuggestArticles.
|
19411
19752
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
19412
19753
|
include Google::Apis::Core::Hashable
|
@@ -19644,6 +19985,25 @@ module Google
|
|
19644
19985
|
end
|
19645
19986
|
end
|
19646
19987
|
|
19988
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
19989
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
19990
|
+
include Google::Apis::Core::Hashable
|
19991
|
+
|
19992
|
+
# A sequence of TelephonyDtmf digits.
|
19993
|
+
# Corresponds to the JSON property `dtmfEvents`
|
19994
|
+
# @return [Array<String>]
|
19995
|
+
attr_accessor :dtmf_events
|
19996
|
+
|
19997
|
+
def initialize(**args)
|
19998
|
+
update!(**args)
|
19999
|
+
end
|
20000
|
+
|
20001
|
+
# Update properties of this object
|
20002
|
+
def update!(**args)
|
20003
|
+
@dtmf_events = args[:dtmf_events] if args.key?(:dtmf_events)
|
20004
|
+
end
|
20005
|
+
end
|
20006
|
+
|
19647
20007
|
# The request message for a webhook call.
|
19648
20008
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
19649
20009
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 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.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241216"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2536,6 +2536,18 @@ module Google
|
|
2536
2536
|
include Google::Apis::Core::JsonObjectSupport
|
2537
2537
|
end
|
2538
2538
|
|
2539
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
2540
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2541
|
+
|
2542
|
+
include Google::Apis::Core::JsonObjectSupport
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
2546
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2547
|
+
|
2548
|
+
include Google::Apis::Core::JsonObjectSupport
|
2549
|
+
end
|
2550
|
+
|
2539
2551
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
2540
2552
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2541
2553
|
|
@@ -3142,6 +3154,18 @@ module Google
|
|
3142
3154
|
include Google::Apis::Core::JsonObjectSupport
|
3143
3155
|
end
|
3144
3156
|
|
3157
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
3158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3159
|
+
|
3160
|
+
include Google::Apis::Core::JsonObjectSupport
|
3161
|
+
end
|
3162
|
+
|
3163
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
3164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3165
|
+
|
3166
|
+
include Google::Apis::Core::JsonObjectSupport
|
3167
|
+
end
|
3168
|
+
|
3145
3169
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
3146
3170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3147
3171
|
|
@@ -3178,6 +3202,12 @@ module Google
|
|
3178
3202
|
include Google::Apis::Core::JsonObjectSupport
|
3179
3203
|
end
|
3180
3204
|
|
3205
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
3206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3207
|
+
|
3208
|
+
include Google::Apis::Core::JsonObjectSupport
|
3209
|
+
end
|
3210
|
+
|
3181
3211
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
3182
3212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3183
3213
|
|
@@ -6735,6 +6765,8 @@ module Google
|
|
6735
6765
|
|
6736
6766
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Message::Representation
|
6737
6767
|
|
6768
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2StreamingRecognitionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2StreamingRecognitionResult::Representation
|
6769
|
+
|
6738
6770
|
property :type, as: 'type'
|
6739
6771
|
end
|
6740
6772
|
end
|
@@ -7476,6 +7508,30 @@ module Google
|
|
7476
7508
|
end
|
7477
7509
|
end
|
7478
7510
|
|
7511
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
7512
|
+
# @private
|
7513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7514
|
+
property :confidence, as: 'confidence'
|
7515
|
+
property :end_offset, as: 'endOffset'
|
7516
|
+
property :start_offset, as: 'startOffset'
|
7517
|
+
property :word, as: 'word'
|
7518
|
+
end
|
7519
|
+
end
|
7520
|
+
|
7521
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
7522
|
+
# @private
|
7523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7524
|
+
property :confidence, as: 'confidence'
|
7525
|
+
property :is_final, as: 'isFinal'
|
7526
|
+
property :language_code, as: 'languageCode'
|
7527
|
+
property :message_type, as: 'messageType'
|
7528
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
7529
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SpeechWordInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SpeechWordInfo::Representation
|
7530
|
+
|
7531
|
+
property :transcript, as: 'transcript'
|
7532
|
+
end
|
7533
|
+
end
|
7534
|
+
|
7479
7535
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
7480
7536
|
# @private
|
7481
7537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7632,6 +7688,8 @@ module Google
|
|
7632
7688
|
|
7633
7689
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message::Representation
|
7634
7690
|
|
7691
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1StreamingRecognitionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1StreamingRecognitionResult::Representation
|
7692
|
+
|
7635
7693
|
property :type, as: 'type'
|
7636
7694
|
end
|
7637
7695
|
end
|
@@ -8515,6 +8573,33 @@ module Google
|
|
8515
8573
|
end
|
8516
8574
|
end
|
8517
8575
|
|
8576
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
8577
|
+
# @private
|
8578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8579
|
+
property :confidence, as: 'confidence'
|
8580
|
+
property :end_offset, as: 'endOffset'
|
8581
|
+
property :start_offset, as: 'startOffset'
|
8582
|
+
property :word, as: 'word'
|
8583
|
+
end
|
8584
|
+
end
|
8585
|
+
|
8586
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
8587
|
+
# @private
|
8588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8589
|
+
property :confidence, as: 'confidence'
|
8590
|
+
property :dtmf_digits, as: 'dtmfDigits', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents::Representation
|
8591
|
+
|
8592
|
+
property :is_final, as: 'isFinal'
|
8593
|
+
property :language_code, as: 'languageCode'
|
8594
|
+
property :message_type, as: 'messageType'
|
8595
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
8596
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SpeechWordInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SpeechWordInfo::Representation
|
8597
|
+
|
8598
|
+
property :stability, as: 'stability'
|
8599
|
+
property :transcript, as: 'transcript'
|
8600
|
+
end
|
8601
|
+
end
|
8602
|
+
|
8518
8603
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
8519
8604
|
# @private
|
8520
8605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8585,6 +8670,13 @@ module Google
|
|
8585
8670
|
end
|
8586
8671
|
end
|
8587
8672
|
|
8673
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
8674
|
+
# @private
|
8675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8676
|
+
collection :dtmf_events, as: 'dtmfEvents'
|
8677
|
+
end
|
8678
|
+
end
|
8679
|
+
|
8588
8680
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
8589
8681
|
# @private
|
8590
8682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3
|
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
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.101.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|