google-apis-dialogflow_v3 0.100.0 → 0.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfdfda5dd760b370aac1620cbed5f4f6ecbdd78f3bf355a2d6e9b1e42a50d3b7
|
4
|
+
data.tar.gz: 36b2cc4ee62bfcbc2086d96243f6810af2d260d41d373d70674f081e3723937e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b49b05d7e6e978efdf74c5132c11a4b845abca016e9d53744b3f3352d28da369c46575558bac5ec2d08aff5bab78f285c69308dc2a3bc3c348914900806c5878
|
7
|
+
data.tar.gz: ef9a37c80a1b59fe897c31846ba6c287337dc0d62e70029fd48996dd0229af5fd998ff868704b37138c36107c095f52f5672ecaef4719d7c6f8d2398b237c2f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.102.0 (2025-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250103
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.101.0 (2024-12-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241216
|
11
|
+
|
3
12
|
### v0.100.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241212
|
@@ -300,6 +300,20 @@ module Google
|
|
300
300
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings]
|
301
301
|
attr_accessor :personalization_settings
|
302
302
|
|
303
|
+
# Optional. Output only. A read only boolean field reflecting Zone Isolation
|
304
|
+
# status of the agent.
|
305
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
306
|
+
# @return [Boolean]
|
307
|
+
attr_accessor :satisfies_pzi
|
308
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
309
|
+
|
310
|
+
# Optional. Output only. A read only boolean field reflecting Zone Separation
|
311
|
+
# status of the agent.
|
312
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
313
|
+
# @return [Boolean]
|
314
|
+
attr_accessor :satisfies_pzs
|
315
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
316
|
+
|
303
317
|
# Name of the SecuritySettings reference for the agent. Format: `projects//
|
304
318
|
# locations//securitySettings/`.
|
305
319
|
# Corresponds to the JSON property `securitySettings`
|
@@ -356,6 +370,8 @@ module Google
|
|
356
370
|
@locked = args[:locked] if args.key?(:locked)
|
357
371
|
@name = args[:name] if args.key?(:name)
|
358
372
|
@personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
|
373
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
374
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
359
375
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
360
376
|
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
|
361
377
|
@start_flow = args[:start_flow] if args.key?(:start_flow)
|
@@ -13001,6 +13017,33 @@ module Google
|
|
13001
13017
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Message]
|
13002
13018
|
attr_accessor :new_message_payload
|
13003
13019
|
|
13020
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
13021
|
+
# that is currently being processed or an indication that this is the end of the
|
13022
|
+
# single requested utterance. While end-user audio is being processed,
|
13023
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
13024
|
+
# value. A transcript represents a portion of the utterance. While the
|
13025
|
+
# recognizer is processing audio, transcript values may be interim values or
|
13026
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
13027
|
+
# to true and processing continues for the next transcript. If `
|
13028
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
13029
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
13030
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
13031
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
13032
|
+
# determined by concatenating the finalized transcript values received for the
|
13033
|
+
# series of results. In the following example, single utterance is enabled. In
|
13034
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
13035
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
13036
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
13037
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
13038
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
13039
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
13040
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
13041
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
13042
|
+
# question".
|
13043
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
13044
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2StreamingRecognitionResult]
|
13045
|
+
attr_accessor :new_recognition_result_payload
|
13046
|
+
|
13004
13047
|
# The type of the event that this notification refers to.
|
13005
13048
|
# Corresponds to the JSON property `type`
|
13006
13049
|
# @return [String]
|
@@ -13015,6 +13058,7 @@ module Google
|
|
13015
13058
|
@conversation = args[:conversation] if args.key?(:conversation)
|
13016
13059
|
@error_status = args[:error_status] if args.key?(:error_status)
|
13017
13060
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
13061
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
13018
13062
|
@type = args[:type] if args.key?(:type)
|
13019
13063
|
end
|
13020
13064
|
end
|
@@ -15663,6 +15707,140 @@ module Google
|
|
15663
15707
|
end
|
15664
15708
|
end
|
15665
15709
|
|
15710
|
+
# Information for a word recognized by the speech recognizer.
|
15711
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
15712
|
+
include Google::Apis::Core::Hashable
|
15713
|
+
|
15714
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
15715
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
15716
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
15717
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
15718
|
+
# input. Users should also not rely on it to always be provided.
|
15719
|
+
# Corresponds to the JSON property `confidence`
|
15720
|
+
# @return [Float]
|
15721
|
+
attr_accessor :confidence
|
15722
|
+
|
15723
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
15724
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
15725
|
+
# time offset can vary.
|
15726
|
+
# Corresponds to the JSON property `endOffset`
|
15727
|
+
# @return [String]
|
15728
|
+
attr_accessor :end_offset
|
15729
|
+
|
15730
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
15731
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
15732
|
+
# the time offset can vary.
|
15733
|
+
# Corresponds to the JSON property `startOffset`
|
15734
|
+
# @return [String]
|
15735
|
+
attr_accessor :start_offset
|
15736
|
+
|
15737
|
+
# The word this info is for.
|
15738
|
+
# Corresponds to the JSON property `word`
|
15739
|
+
# @return [String]
|
15740
|
+
attr_accessor :word
|
15741
|
+
|
15742
|
+
def initialize(**args)
|
15743
|
+
update!(**args)
|
15744
|
+
end
|
15745
|
+
|
15746
|
+
# Update properties of this object
|
15747
|
+
def update!(**args)
|
15748
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
15749
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
15750
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
15751
|
+
@word = args[:word] if args.key?(:word)
|
15752
|
+
end
|
15753
|
+
end
|
15754
|
+
|
15755
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
15756
|
+
# that is currently being processed or an indication that this is the end of the
|
15757
|
+
# single requested utterance. While end-user audio is being processed,
|
15758
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
15759
|
+
# value. A transcript represents a portion of the utterance. While the
|
15760
|
+
# recognizer is processing audio, transcript values may be interim values or
|
15761
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
15762
|
+
# to true and processing continues for the next transcript. If `
|
15763
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
15764
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
15765
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
15766
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
15767
|
+
# determined by concatenating the finalized transcript values received for the
|
15768
|
+
# series of results. In the following example, single utterance is enabled. In
|
15769
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
15770
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
15771
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
15772
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
15773
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
15774
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
15775
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
15776
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
15777
|
+
# question".
|
15778
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
15779
|
+
include Google::Apis::Core::Hashable
|
15780
|
+
|
15781
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
15782
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
15783
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
15784
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
15785
|
+
# true and you should not rely on it being accurate or even set.
|
15786
|
+
# Corresponds to the JSON property `confidence`
|
15787
|
+
# @return [Float]
|
15788
|
+
attr_accessor :confidence
|
15789
|
+
|
15790
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
15791
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
15792
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
15793
|
+
# TRANSCRIPT`.
|
15794
|
+
# Corresponds to the JSON property `isFinal`
|
15795
|
+
# @return [Boolean]
|
15796
|
+
attr_accessor :is_final
|
15797
|
+
alias_method :is_final?, :is_final
|
15798
|
+
|
15799
|
+
# Detected language code for the transcript.
|
15800
|
+
# Corresponds to the JSON property `languageCode`
|
15801
|
+
# @return [String]
|
15802
|
+
attr_accessor :language_code
|
15803
|
+
|
15804
|
+
# Type of the result message.
|
15805
|
+
# Corresponds to the JSON property `messageType`
|
15806
|
+
# @return [String]
|
15807
|
+
attr_accessor :message_type
|
15808
|
+
|
15809
|
+
# Time offset of the end of this Speech recognition result relative to the
|
15810
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
15811
|
+
# Corresponds to the JSON property `speechEndOffset`
|
15812
|
+
# @return [String]
|
15813
|
+
attr_accessor :speech_end_offset
|
15814
|
+
|
15815
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
15816
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
15817
|
+
# enable_word_info] is set.
|
15818
|
+
# Corresponds to the JSON property `speechWordInfo`
|
15819
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SpeechWordInfo>]
|
15820
|
+
attr_accessor :speech_word_info
|
15821
|
+
|
15822
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
15823
|
+
# only if `message_type` = `TRANSCRIPT`.
|
15824
|
+
# Corresponds to the JSON property `transcript`
|
15825
|
+
# @return [String]
|
15826
|
+
attr_accessor :transcript
|
15827
|
+
|
15828
|
+
def initialize(**args)
|
15829
|
+
update!(**args)
|
15830
|
+
end
|
15831
|
+
|
15832
|
+
# Update properties of this object
|
15833
|
+
def update!(**args)
|
15834
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
15835
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
15836
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
15837
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
15838
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
15839
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
15840
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
15841
|
+
end
|
15842
|
+
end
|
15843
|
+
|
15666
15844
|
# The response message for Participants.SuggestArticles.
|
15667
15845
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
15668
15846
|
include Google::Apis::Core::Hashable
|
@@ -16253,6 +16431,33 @@ module Google
|
|
16253
16431
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message]
|
16254
16432
|
attr_accessor :new_message_payload
|
16255
16433
|
|
16434
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
16435
|
+
# that is currently being processed or an indication that this is the end of the
|
16436
|
+
# single requested utterance. While end-user audio is being processed,
|
16437
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
16438
|
+
# value. A transcript represents a portion of the utterance. While the
|
16439
|
+
# recognizer is processing audio, transcript values may be interim values or
|
16440
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
16441
|
+
# to true and processing continues for the next transcript. If `
|
16442
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
16443
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
16444
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
16445
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
16446
|
+
# determined by concatenating the finalized transcript values received for the
|
16447
|
+
# series of results. In the following example, single utterance is enabled. In
|
16448
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
16449
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
16450
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
16451
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
16452
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
16453
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
16454
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
16455
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
16456
|
+
# question".
|
16457
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
16458
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1StreamingRecognitionResult]
|
16459
|
+
attr_accessor :new_recognition_result_payload
|
16460
|
+
|
16256
16461
|
# Required. The type of the event that this notification refers to.
|
16257
16462
|
# Corresponds to the JSON property `type`
|
16258
16463
|
# @return [String]
|
@@ -16267,6 +16472,7 @@ module Google
|
|
16267
16472
|
@conversation = args[:conversation] if args.key?(:conversation)
|
16268
16473
|
@error_status = args[:error_status] if args.key?(:error_status)
|
16269
16474
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
16475
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
16270
16476
|
@type = args[:type] if args.key?(:type)
|
16271
16477
|
end
|
16272
16478
|
end
|
@@ -19407,6 +19613,157 @@ module Google
|
|
19407
19613
|
end
|
19408
19614
|
end
|
19409
19615
|
|
19616
|
+
# Information for a word recognized by the speech recognizer.
|
19617
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
19618
|
+
include Google::Apis::Core::Hashable
|
19619
|
+
|
19620
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
19621
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
19622
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
19623
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
19624
|
+
# input. Users should also not rely on it to always be provided.
|
19625
|
+
# Corresponds to the JSON property `confidence`
|
19626
|
+
# @return [Float]
|
19627
|
+
attr_accessor :confidence
|
19628
|
+
|
19629
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
19630
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
19631
|
+
# time offset can vary.
|
19632
|
+
# Corresponds to the JSON property `endOffset`
|
19633
|
+
# @return [String]
|
19634
|
+
attr_accessor :end_offset
|
19635
|
+
|
19636
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
19637
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
19638
|
+
# the time offset can vary.
|
19639
|
+
# Corresponds to the JSON property `startOffset`
|
19640
|
+
# @return [String]
|
19641
|
+
attr_accessor :start_offset
|
19642
|
+
|
19643
|
+
# The word this info is for.
|
19644
|
+
# Corresponds to the JSON property `word`
|
19645
|
+
# @return [String]
|
19646
|
+
attr_accessor :word
|
19647
|
+
|
19648
|
+
def initialize(**args)
|
19649
|
+
update!(**args)
|
19650
|
+
end
|
19651
|
+
|
19652
|
+
# Update properties of this object
|
19653
|
+
def update!(**args)
|
19654
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
19655
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
19656
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
19657
|
+
@word = args[:word] if args.key?(:word)
|
19658
|
+
end
|
19659
|
+
end
|
19660
|
+
|
19661
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
19662
|
+
# that is currently being processed or an indication that this is the end of the
|
19663
|
+
# single requested utterance. While end-user audio is being processed,
|
19664
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
19665
|
+
# value. A transcript represents a portion of the utterance. While the
|
19666
|
+
# recognizer is processing audio, transcript values may be interim values or
|
19667
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
19668
|
+
# to true and processing continues for the next transcript. If `
|
19669
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
19670
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
19671
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
19672
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
19673
|
+
# determined by concatenating the finalized transcript values received for the
|
19674
|
+
# series of results. In the following example, single utterance is enabled. In
|
19675
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
19676
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
19677
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
19678
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
19679
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
19680
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
19681
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
19682
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
19683
|
+
# question".
|
19684
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
19685
|
+
include Google::Apis::Core::Hashable
|
19686
|
+
|
19687
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
19688
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
19689
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
19690
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
19691
|
+
# true and you should not rely on it being accurate or even set.
|
19692
|
+
# Corresponds to the JSON property `confidence`
|
19693
|
+
# @return [Float]
|
19694
|
+
attr_accessor :confidence
|
19695
|
+
|
19696
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
19697
|
+
# Corresponds to the JSON property `dtmfDigits`
|
19698
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents]
|
19699
|
+
attr_accessor :dtmf_digits
|
19700
|
+
|
19701
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
19702
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
19703
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
19704
|
+
# TRANSCRIPT`.
|
19705
|
+
# Corresponds to the JSON property `isFinal`
|
19706
|
+
# @return [Boolean]
|
19707
|
+
attr_accessor :is_final
|
19708
|
+
alias_method :is_final?, :is_final
|
19709
|
+
|
19710
|
+
# Detected language code for the transcript.
|
19711
|
+
# Corresponds to the JSON property `languageCode`
|
19712
|
+
# @return [String]
|
19713
|
+
attr_accessor :language_code
|
19714
|
+
|
19715
|
+
# Type of the result message.
|
19716
|
+
# Corresponds to the JSON property `messageType`
|
19717
|
+
# @return [String]
|
19718
|
+
attr_accessor :message_type
|
19719
|
+
|
19720
|
+
# Time offset of the end of this Speech recognition result relative to the
|
19721
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
19722
|
+
# Corresponds to the JSON property `speechEndOffset`
|
19723
|
+
# @return [String]
|
19724
|
+
attr_accessor :speech_end_offset
|
19725
|
+
|
19726
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
19727
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
19728
|
+
# enable_word_info] is set.
|
19729
|
+
# Corresponds to the JSON property `speechWordInfo`
|
19730
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SpeechWordInfo>]
|
19731
|
+
attr_accessor :speech_word_info
|
19732
|
+
|
19733
|
+
# An estimate of the likelihood that the speech recognizer will not change its
|
19734
|
+
# guess about this interim recognition result: * If the value is unspecified or
|
19735
|
+
# 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will
|
19736
|
+
# only provide stability for `TRANSCRIPT` results with `is_final = false`. *
|
19737
|
+
# Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and
|
19738
|
+
# 1.0 means completely stable.
|
19739
|
+
# Corresponds to the JSON property `stability`
|
19740
|
+
# @return [Float]
|
19741
|
+
attr_accessor :stability
|
19742
|
+
|
19743
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
19744
|
+
# only if `message_type` = `TRANSCRIPT`.
|
19745
|
+
# Corresponds to the JSON property `transcript`
|
19746
|
+
# @return [String]
|
19747
|
+
attr_accessor :transcript
|
19748
|
+
|
19749
|
+
def initialize(**args)
|
19750
|
+
update!(**args)
|
19751
|
+
end
|
19752
|
+
|
19753
|
+
# Update properties of this object
|
19754
|
+
def update!(**args)
|
19755
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
19756
|
+
@dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
|
19757
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
19758
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
19759
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
19760
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
19761
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
19762
|
+
@stability = args[:stability] if args.key?(:stability)
|
19763
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
19764
|
+
end
|
19765
|
+
end
|
19766
|
+
|
19410
19767
|
# The response message for Participants.SuggestArticles.
|
19411
19768
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
19412
19769
|
include Google::Apis::Core::Hashable
|
@@ -19644,6 +20001,25 @@ module Google
|
|
19644
20001
|
end
|
19645
20002
|
end
|
19646
20003
|
|
20004
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
20005
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
20006
|
+
include Google::Apis::Core::Hashable
|
20007
|
+
|
20008
|
+
# A sequence of TelephonyDtmf digits.
|
20009
|
+
# Corresponds to the JSON property `dtmfEvents`
|
20010
|
+
# @return [Array<String>]
|
20011
|
+
attr_accessor :dtmf_events
|
20012
|
+
|
20013
|
+
def initialize(**args)
|
20014
|
+
update!(**args)
|
20015
|
+
end
|
20016
|
+
|
20017
|
+
# Update properties of this object
|
20018
|
+
def update!(**args)
|
20019
|
+
@dtmf_events = args[:dtmf_events] if args.key?(:dtmf_events)
|
20020
|
+
end
|
20021
|
+
end
|
20022
|
+
|
19647
20023
|
# The request message for a webhook call.
|
19648
20024
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
19649
20025
|
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.102.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
|
@@ -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
|
|
@@ -3312,6 +3342,8 @@ module Google
|
|
3312
3342
|
property :name, as: 'name'
|
3313
3343
|
property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings::Representation
|
3314
3344
|
|
3345
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
3346
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
3315
3347
|
property :security_settings, as: 'securitySettings'
|
3316
3348
|
property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
|
3317
3349
|
|
@@ -6735,6 +6767,8 @@ module Google
|
|
6735
6767
|
|
6736
6768
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Message::Representation
|
6737
6769
|
|
6770
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2StreamingRecognitionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2StreamingRecognitionResult::Representation
|
6771
|
+
|
6738
6772
|
property :type, as: 'type'
|
6739
6773
|
end
|
6740
6774
|
end
|
@@ -7476,6 +7510,30 @@ module Google
|
|
7476
7510
|
end
|
7477
7511
|
end
|
7478
7512
|
|
7513
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
7514
|
+
# @private
|
7515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7516
|
+
property :confidence, as: 'confidence'
|
7517
|
+
property :end_offset, as: 'endOffset'
|
7518
|
+
property :start_offset, as: 'startOffset'
|
7519
|
+
property :word, as: 'word'
|
7520
|
+
end
|
7521
|
+
end
|
7522
|
+
|
7523
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
7524
|
+
# @private
|
7525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7526
|
+
property :confidence, as: 'confidence'
|
7527
|
+
property :is_final, as: 'isFinal'
|
7528
|
+
property :language_code, as: 'languageCode'
|
7529
|
+
property :message_type, as: 'messageType'
|
7530
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
7531
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SpeechWordInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SpeechWordInfo::Representation
|
7532
|
+
|
7533
|
+
property :transcript, as: 'transcript'
|
7534
|
+
end
|
7535
|
+
end
|
7536
|
+
|
7479
7537
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
7480
7538
|
# @private
|
7481
7539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7632,6 +7690,8 @@ module Google
|
|
7632
7690
|
|
7633
7691
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message::Representation
|
7634
7692
|
|
7693
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1StreamingRecognitionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1StreamingRecognitionResult::Representation
|
7694
|
+
|
7635
7695
|
property :type, as: 'type'
|
7636
7696
|
end
|
7637
7697
|
end
|
@@ -8515,6 +8575,33 @@ module Google
|
|
8515
8575
|
end
|
8516
8576
|
end
|
8517
8577
|
|
8578
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
8579
|
+
# @private
|
8580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8581
|
+
property :confidence, as: 'confidence'
|
8582
|
+
property :end_offset, as: 'endOffset'
|
8583
|
+
property :start_offset, as: 'startOffset'
|
8584
|
+
property :word, as: 'word'
|
8585
|
+
end
|
8586
|
+
end
|
8587
|
+
|
8588
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
8589
|
+
# @private
|
8590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8591
|
+
property :confidence, as: 'confidence'
|
8592
|
+
property :dtmf_digits, as: 'dtmfDigits', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents::Representation
|
8593
|
+
|
8594
|
+
property :is_final, as: 'isFinal'
|
8595
|
+
property :language_code, as: 'languageCode'
|
8596
|
+
property :message_type, as: 'messageType'
|
8597
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
8598
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SpeechWordInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SpeechWordInfo::Representation
|
8599
|
+
|
8600
|
+
property :stability, as: 'stability'
|
8601
|
+
property :transcript, as: 'transcript'
|
8602
|
+
end
|
8603
|
+
end
|
8604
|
+
|
8518
8605
|
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
8519
8606
|
# @private
|
8520
8607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8585,6 +8672,13 @@ module Google
|
|
8585
8672
|
end
|
8586
8673
|
end
|
8587
8674
|
|
8675
|
+
class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
|
8676
|
+
# @private
|
8677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8678
|
+
collection :dtmf_events, as: 'dtmfEvents'
|
8679
|
+
end
|
8680
|
+
end
|
8681
|
+
|
8588
8682
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
8589
8683
|
# @private
|
8590
8684
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.102.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_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.102.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
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 V3
|
82
79
|
test_files: []
|