google-apis-dialogflow_v2beta1 0.93.0 → 0.95.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: 603cc026c6fd5dbb68a7c179f1b0eb645b37bdddfba97d34a76dbfa6527eb342
|
4
|
+
data.tar.gz: 8f085b13c850c698d453b91fe46a610b8a8893bfaf3e81b2d02b084f2d7ee9f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ca8e68e923900c822102365651e439109b52faee2aff5005f017f9c6d8b424aa69b4f42c5f0a16916171a42e67489f39cd516eab529cc80c12b290a8521f131
|
7
|
+
data.tar.gz: 0a31a2d96d31d564320abd51d52e88b0339099afbe4f51ede75efb4faa92171b41b8e933bda5dc5eb89f2e53b32e992575153e1d7d643029965299d564f852ef
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.95.0 (2025-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250103
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.94.0 (2024-12-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241216
|
11
|
+
|
3
12
|
### v0.93.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241212
|
@@ -7852,6 +7852,33 @@ module Google
|
|
7852
7852
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message]
|
7853
7853
|
attr_accessor :new_message_payload
|
7854
7854
|
|
7855
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
7856
|
+
# that is currently being processed or an indication that this is the end of the
|
7857
|
+
# single requested utterance. While end-user audio is being processed,
|
7858
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
7859
|
+
# value. A transcript represents a portion of the utterance. While the
|
7860
|
+
# recognizer is processing audio, transcript values may be interim values or
|
7861
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
7862
|
+
# to true and processing continues for the next transcript. If `
|
7863
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
7864
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
7865
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
7866
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
7867
|
+
# determined by concatenating the finalized transcript values received for the
|
7868
|
+
# series of results. In the following example, single utterance is enabled. In
|
7869
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
7870
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
7871
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
7872
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
7873
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
7874
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
7875
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
7876
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
7877
|
+
# question".
|
7878
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
7879
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2StreamingRecognitionResult]
|
7880
|
+
attr_accessor :new_recognition_result_payload
|
7881
|
+
|
7855
7882
|
# The type of the event that this notification refers to.
|
7856
7883
|
# Corresponds to the JSON property `type`
|
7857
7884
|
# @return [String]
|
@@ -7866,6 +7893,7 @@ module Google
|
|
7866
7893
|
@conversation = args[:conversation] if args.key?(:conversation)
|
7867
7894
|
@error_status = args[:error_status] if args.key?(:error_status)
|
7868
7895
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
7896
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
7869
7897
|
@type = args[:type] if args.key?(:type)
|
7870
7898
|
end
|
7871
7899
|
end
|
@@ -10514,6 +10542,140 @@ module Google
|
|
10514
10542
|
end
|
10515
10543
|
end
|
10516
10544
|
|
10545
|
+
# Information for a word recognized by the speech recognizer.
|
10546
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
10547
|
+
include Google::Apis::Core::Hashable
|
10548
|
+
|
10549
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
10550
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
10551
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
10552
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
10553
|
+
# input. Users should also not rely on it to always be provided.
|
10554
|
+
# Corresponds to the JSON property `confidence`
|
10555
|
+
# @return [Float]
|
10556
|
+
attr_accessor :confidence
|
10557
|
+
|
10558
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
10559
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
10560
|
+
# time offset can vary.
|
10561
|
+
# Corresponds to the JSON property `endOffset`
|
10562
|
+
# @return [String]
|
10563
|
+
attr_accessor :end_offset
|
10564
|
+
|
10565
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
10566
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
10567
|
+
# the time offset can vary.
|
10568
|
+
# Corresponds to the JSON property `startOffset`
|
10569
|
+
# @return [String]
|
10570
|
+
attr_accessor :start_offset
|
10571
|
+
|
10572
|
+
# The word this info is for.
|
10573
|
+
# Corresponds to the JSON property `word`
|
10574
|
+
# @return [String]
|
10575
|
+
attr_accessor :word
|
10576
|
+
|
10577
|
+
def initialize(**args)
|
10578
|
+
update!(**args)
|
10579
|
+
end
|
10580
|
+
|
10581
|
+
# Update properties of this object
|
10582
|
+
def update!(**args)
|
10583
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
10584
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
10585
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
10586
|
+
@word = args[:word] if args.key?(:word)
|
10587
|
+
end
|
10588
|
+
end
|
10589
|
+
|
10590
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
10591
|
+
# that is currently being processed or an indication that this is the end of the
|
10592
|
+
# single requested utterance. While end-user audio is being processed,
|
10593
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
10594
|
+
# value. A transcript represents a portion of the utterance. While the
|
10595
|
+
# recognizer is processing audio, transcript values may be interim values or
|
10596
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
10597
|
+
# to true and processing continues for the next transcript. If `
|
10598
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
10599
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
10600
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
10601
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
10602
|
+
# determined by concatenating the finalized transcript values received for the
|
10603
|
+
# series of results. In the following example, single utterance is enabled. In
|
10604
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
10605
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
10606
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
10607
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
10608
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
10609
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
10610
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
10611
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
10612
|
+
# question".
|
10613
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
10614
|
+
include Google::Apis::Core::Hashable
|
10615
|
+
|
10616
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
10617
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
10618
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
10619
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
10620
|
+
# true and you should not rely on it being accurate or even set.
|
10621
|
+
# Corresponds to the JSON property `confidence`
|
10622
|
+
# @return [Float]
|
10623
|
+
attr_accessor :confidence
|
10624
|
+
|
10625
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
10626
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
10627
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
10628
|
+
# TRANSCRIPT`.
|
10629
|
+
# Corresponds to the JSON property `isFinal`
|
10630
|
+
# @return [Boolean]
|
10631
|
+
attr_accessor :is_final
|
10632
|
+
alias_method :is_final?, :is_final
|
10633
|
+
|
10634
|
+
# Detected language code for the transcript.
|
10635
|
+
# Corresponds to the JSON property `languageCode`
|
10636
|
+
# @return [String]
|
10637
|
+
attr_accessor :language_code
|
10638
|
+
|
10639
|
+
# Type of the result message.
|
10640
|
+
# Corresponds to the JSON property `messageType`
|
10641
|
+
# @return [String]
|
10642
|
+
attr_accessor :message_type
|
10643
|
+
|
10644
|
+
# Time offset of the end of this Speech recognition result relative to the
|
10645
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
10646
|
+
# Corresponds to the JSON property `speechEndOffset`
|
10647
|
+
# @return [String]
|
10648
|
+
attr_accessor :speech_end_offset
|
10649
|
+
|
10650
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
10651
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
10652
|
+
# enable_word_info] is set.
|
10653
|
+
# Corresponds to the JSON property `speechWordInfo`
|
10654
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SpeechWordInfo>]
|
10655
|
+
attr_accessor :speech_word_info
|
10656
|
+
|
10657
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
10658
|
+
# only if `message_type` = `TRANSCRIPT`.
|
10659
|
+
# Corresponds to the JSON property `transcript`
|
10660
|
+
# @return [String]
|
10661
|
+
attr_accessor :transcript
|
10662
|
+
|
10663
|
+
def initialize(**args)
|
10664
|
+
update!(**args)
|
10665
|
+
end
|
10666
|
+
|
10667
|
+
# Update properties of this object
|
10668
|
+
def update!(**args)
|
10669
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
10670
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
10671
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
10672
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
10673
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
10674
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
10675
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
10676
|
+
end
|
10677
|
+
end
|
10678
|
+
|
10517
10679
|
# The response message for Participants.SuggestArticles.
|
10518
10680
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
10519
10681
|
include Google::Apis::Core::Hashable
|
@@ -11199,13 +11361,14 @@ module Google
|
|
11199
11361
|
|
11200
11362
|
# Optional. The send time of the message from end user or human agent's
|
11201
11363
|
# perspective. It is used for identifying the same message under one participant.
|
11202
|
-
# Given two messages under the same
|
11364
|
+
# For BatchCreateMessages API only: Given two messages under the same
|
11365
|
+
# participant: * If send time are different regardless of whether the content of
|
11366
|
+
# the messages are exactly the same, the conversation will regard them as two
|
11367
|
+
# distinct messages sent by the participant. * If send time is the same
|
11203
11368
|
# regardless of whether the content of the messages are exactly the same, the
|
11204
|
-
# conversation will regard them as
|
11205
|
-
#
|
11206
|
-
#
|
11207
|
-
# ignore the message received later. If the value is not provided, a new request
|
11208
|
-
# will always be regarded as a new message without any de-duplication.
|
11369
|
+
# conversation will regard them as same message, and ignore the message received
|
11370
|
+
# later. If the value is not provided, a new request will always be regarded as
|
11371
|
+
# a new message without any de-duplication.
|
11209
11372
|
# Corresponds to the JSON property `messageSendTime`
|
11210
11373
|
# @return [String]
|
11211
11374
|
attr_accessor :message_send_time
|
@@ -12350,6 +12513,12 @@ module Google
|
|
12350
12513
|
# @return [String]
|
12351
12514
|
attr_accessor :start_time
|
12352
12515
|
|
12516
|
+
# The information about phone calls connected via phone gateway to the
|
12517
|
+
# conversation.
|
12518
|
+
# Corresponds to the JSON property `telephonyConnectionInfo`
|
12519
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo]
|
12520
|
+
attr_accessor :telephony_connection_info
|
12521
|
+
|
12353
12522
|
def initialize(**args)
|
12354
12523
|
update!(**args)
|
12355
12524
|
end
|
@@ -12363,6 +12532,7 @@ module Google
|
|
12363
12532
|
@name = args[:name] if args.key?(:name)
|
12364
12533
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
12365
12534
|
@start_time = args[:start_time] if args.key?(:start_time)
|
12535
|
+
@telephony_connection_info = args[:telephony_connection_info] if args.key?(:telephony_connection_info)
|
12366
12536
|
end
|
12367
12537
|
end
|
12368
12538
|
|
@@ -12411,6 +12581,33 @@ module Google
|
|
12411
12581
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message]
|
12412
12582
|
attr_accessor :new_message_payload
|
12413
12583
|
|
12584
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
12585
|
+
# that is currently being processed or an indication that this is the end of the
|
12586
|
+
# single requested utterance. While end-user audio is being processed,
|
12587
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
12588
|
+
# value. A transcript represents a portion of the utterance. While the
|
12589
|
+
# recognizer is processing audio, transcript values may be interim values or
|
12590
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
12591
|
+
# to true and processing continues for the next transcript. If `
|
12592
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
12593
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
12594
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
12595
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
12596
|
+
# determined by concatenating the finalized transcript values received for the
|
12597
|
+
# series of results. In the following example, single utterance is enabled. In
|
12598
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
12599
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
12600
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
12601
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
12602
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
12603
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
12604
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
12605
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
12606
|
+
# question".
|
12607
|
+
# Corresponds to the JSON property `newRecognitionResultPayload`
|
12608
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult]
|
12609
|
+
attr_accessor :new_recognition_result_payload
|
12610
|
+
|
12414
12611
|
# Required. The type of the event that this notification refers to.
|
12415
12612
|
# Corresponds to the JSON property `type`
|
12416
12613
|
# @return [String]
|
@@ -12425,6 +12622,7 @@ module Google
|
|
12425
12622
|
@conversation = args[:conversation] if args.key?(:conversation)
|
12426
12623
|
@error_status = args[:error_status] if args.key?(:error_status)
|
12427
12624
|
@new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
|
12625
|
+
@new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
|
12428
12626
|
@type = args[:type] if args.key?(:type)
|
12429
12627
|
end
|
12430
12628
|
end
|
@@ -12434,6 +12632,11 @@ module Google
|
|
12434
12632
|
class GoogleCloudDialogflowV2beta1ConversationPhoneNumber
|
12435
12633
|
include Google::Apis::Core::Hashable
|
12436
12634
|
|
12635
|
+
# Output only. Desired country code for the phone number.
|
12636
|
+
# Corresponds to the JSON property `countryCode`
|
12637
|
+
# @return [Fixnum]
|
12638
|
+
attr_accessor :country_code
|
12639
|
+
|
12437
12640
|
# Output only. The phone number to connect to this conversation.
|
12438
12641
|
# Corresponds to the JSON property `phoneNumber`
|
12439
12642
|
# @return [String]
|
@@ -12445,6 +12648,7 @@ module Google
|
|
12445
12648
|
|
12446
12649
|
# Update properties of this object
|
12447
12650
|
def update!(**args)
|
12651
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
12448
12652
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
12449
12653
|
end
|
12450
12654
|
end
|
@@ -12504,6 +12708,11 @@ module Google
|
|
12504
12708
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig]
|
12505
12709
|
attr_accessor :new_message_event_notification_config
|
12506
12710
|
|
12711
|
+
# Defines notification behavior.
|
12712
|
+
# Corresponds to the JSON property `newRecognitionResultNotificationConfig`
|
12713
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig]
|
12714
|
+
attr_accessor :new_recognition_result_notification_config
|
12715
|
+
|
12507
12716
|
# Defines notification behavior.
|
12508
12717
|
# Corresponds to the JSON property `notificationConfig`
|
12509
12718
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig]
|
@@ -12552,6 +12761,7 @@ module Google
|
|
12552
12761
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
12553
12762
|
@name = args[:name] if args.key?(:name)
|
12554
12763
|
@new_message_event_notification_config = args[:new_message_event_notification_config] if args.key?(:new_message_event_notification_config)
|
12764
|
+
@new_recognition_result_notification_config = args[:new_recognition_result_notification_config] if args.key?(:new_recognition_result_notification_config)
|
12555
12765
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
12556
12766
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
12557
12767
|
@stt_config = args[:stt_config] if args.key?(:stt_config)
|
@@ -12561,6 +12771,96 @@ module Google
|
|
12561
12771
|
end
|
12562
12772
|
end
|
12563
12773
|
|
12774
|
+
# The information about phone calls connected via phone gateway to the
|
12775
|
+
# conversation.
|
12776
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
|
12777
|
+
include Google::Apis::Core::Hashable
|
12778
|
+
|
12779
|
+
# Output only. The number dialed to connect this call in E.164 format.
|
12780
|
+
# Corresponds to the JSON property `dialedNumber`
|
12781
|
+
# @return [String]
|
12782
|
+
attr_accessor :dialed_number
|
12783
|
+
|
12784
|
+
# Output only. The mime content from the initial SIP INVITE.
|
12785
|
+
# Corresponds to the JSON property `extraMimeContents`
|
12786
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent>]
|
12787
|
+
attr_accessor :extra_mime_contents
|
12788
|
+
|
12789
|
+
# Optional. SDP of the call. It's initially the SDP answer to the endpoint, but
|
12790
|
+
# maybe later updated for the purpose of making the link active, etc.
|
12791
|
+
# Corresponds to the JSON property `sdp`
|
12792
|
+
# @return [String]
|
12793
|
+
attr_accessor :sdp
|
12794
|
+
|
12795
|
+
# Output only. The SIP headers from the initial SIP INVITE.
|
12796
|
+
# Corresponds to the JSON property `sipHeaders`
|
12797
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader>]
|
12798
|
+
attr_accessor :sip_headers
|
12799
|
+
|
12800
|
+
def initialize(**args)
|
12801
|
+
update!(**args)
|
12802
|
+
end
|
12803
|
+
|
12804
|
+
# Update properties of this object
|
12805
|
+
def update!(**args)
|
12806
|
+
@dialed_number = args[:dialed_number] if args.key?(:dialed_number)
|
12807
|
+
@extra_mime_contents = args[:extra_mime_contents] if args.key?(:extra_mime_contents)
|
12808
|
+
@sdp = args[:sdp] if args.key?(:sdp)
|
12809
|
+
@sip_headers = args[:sip_headers] if args.key?(:sip_headers)
|
12810
|
+
end
|
12811
|
+
end
|
12812
|
+
|
12813
|
+
# The mime content from the initial SIP INVITE.
|
12814
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent
|
12815
|
+
include Google::Apis::Core::Hashable
|
12816
|
+
|
12817
|
+
# Optional. The content payload.
|
12818
|
+
# Corresponds to the JSON property `content`
|
12819
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
12820
|
+
# @return [String]
|
12821
|
+
attr_accessor :content
|
12822
|
+
|
12823
|
+
# Optional. The mime type of the content.
|
12824
|
+
# Corresponds to the JSON property `mimeType`
|
12825
|
+
# @return [String]
|
12826
|
+
attr_accessor :mime_type
|
12827
|
+
|
12828
|
+
def initialize(**args)
|
12829
|
+
update!(**args)
|
12830
|
+
end
|
12831
|
+
|
12832
|
+
# Update properties of this object
|
12833
|
+
def update!(**args)
|
12834
|
+
@content = args[:content] if args.key?(:content)
|
12835
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
12836
|
+
end
|
12837
|
+
end
|
12838
|
+
|
12839
|
+
# The SIP headers from the initial SIP INVITE.
|
12840
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader
|
12841
|
+
include Google::Apis::Core::Hashable
|
12842
|
+
|
12843
|
+
# Optional. The name of the header.
|
12844
|
+
# Corresponds to the JSON property `name`
|
12845
|
+
# @return [String]
|
12846
|
+
attr_accessor :name
|
12847
|
+
|
12848
|
+
# Optional. The value of the header.
|
12849
|
+
# Corresponds to the JSON property `value`
|
12850
|
+
# @return [String]
|
12851
|
+
attr_accessor :value
|
12852
|
+
|
12853
|
+
def initialize(**args)
|
12854
|
+
update!(**args)
|
12855
|
+
end
|
12856
|
+
|
12857
|
+
# Update properties of this object
|
12858
|
+
def update!(**args)
|
12859
|
+
@name = args[:name] if args.key?(:name)
|
12860
|
+
@value = args[:value] if args.key?(:value)
|
12861
|
+
end
|
12862
|
+
end
|
12863
|
+
|
12564
12864
|
# The request message to create one Message. Currently it is only used in
|
12565
12865
|
# BatchCreateMessagesRequest.
|
12566
12866
|
class GoogleCloudDialogflowV2beta1CreateMessageRequest
|
@@ -19189,6 +19489,157 @@ module Google
|
|
19189
19489
|
end
|
19190
19490
|
end
|
19191
19491
|
|
19492
|
+
# Information for a word recognized by the speech recognizer.
|
19493
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
19494
|
+
include Google::Apis::Core::Hashable
|
19495
|
+
|
19496
|
+
# The Speech confidence between 0.0 and 1.0 for this word. A higher number
|
19497
|
+
# indicates an estimated greater likelihood that the recognized word is correct.
|
19498
|
+
# The default of 0.0 is a sentinel value indicating that confidence was not set.
|
19499
|
+
# This field is not guaranteed to be fully stable over time for the same audio
|
19500
|
+
# input. Users should also not rely on it to always be provided.
|
19501
|
+
# Corresponds to the JSON property `confidence`
|
19502
|
+
# @return [Float]
|
19503
|
+
attr_accessor :confidence
|
19504
|
+
|
19505
|
+
# Time offset relative to the beginning of the audio that corresponds to the end
|
19506
|
+
# of the spoken word. This is an experimental feature and the accuracy of the
|
19507
|
+
# time offset can vary.
|
19508
|
+
# Corresponds to the JSON property `endOffset`
|
19509
|
+
# @return [String]
|
19510
|
+
attr_accessor :end_offset
|
19511
|
+
|
19512
|
+
# Time offset relative to the beginning of the audio that corresponds to the
|
19513
|
+
# start of the spoken word. This is an experimental feature and the accuracy of
|
19514
|
+
# the time offset can vary.
|
19515
|
+
# Corresponds to the JSON property `startOffset`
|
19516
|
+
# @return [String]
|
19517
|
+
attr_accessor :start_offset
|
19518
|
+
|
19519
|
+
# The word this info is for.
|
19520
|
+
# Corresponds to the JSON property `word`
|
19521
|
+
# @return [String]
|
19522
|
+
attr_accessor :word
|
19523
|
+
|
19524
|
+
def initialize(**args)
|
19525
|
+
update!(**args)
|
19526
|
+
end
|
19527
|
+
|
19528
|
+
# Update properties of this object
|
19529
|
+
def update!(**args)
|
19530
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
19531
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
19532
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
19533
|
+
@word = args[:word] if args.key?(:word)
|
19534
|
+
end
|
19535
|
+
end
|
19536
|
+
|
19537
|
+
# Contains a speech recognition result corresponding to a portion of the audio
|
19538
|
+
# that is currently being processed or an indication that this is the end of the
|
19539
|
+
# single requested utterance. While end-user audio is being processed,
|
19540
|
+
# Dialogflow sends a series of results. Each result may contain a `transcript`
|
19541
|
+
# value. A transcript represents a portion of the utterance. While the
|
19542
|
+
# recognizer is processing audio, transcript values may be interim values or
|
19543
|
+
# finalized values. Once a transcript is finalized, the `is_final` value is set
|
19544
|
+
# to true and processing continues for the next transcript. If `
|
19545
|
+
# StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
|
19546
|
+
# true, and the recognizer has completed processing audio, the `message_type`
|
19547
|
+
# value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
|
19548
|
+
# contains the last finalized transcript. The complete end-user utterance is
|
19549
|
+
# determined by concatenating the finalized transcript values received for the
|
19550
|
+
# series of results. In the following example, single utterance is enabled. In
|
19551
|
+
# the case where single utterance is not enabled, result 7 would not occur. ```
|
19552
|
+
# Num | transcript | message_type | is_final --- | ----------------------- | ----
|
19553
|
+
# ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
|
19554
|
+
# TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
|
19555
|
+
# TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
|
19556
|
+
# false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
|
19557
|
+
# | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
|
19558
|
+
# set to true, the complete utterance becomes "to be or not to be that is the
|
19559
|
+
# question".
|
19560
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
19561
|
+
include Google::Apis::Core::Hashable
|
19562
|
+
|
19563
|
+
# The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
|
19564
|
+
# higher number indicates an estimated greater likelihood that the recognized
|
19565
|
+
# words are correct. The default of 0.0 is a sentinel value indicating that
|
19566
|
+
# confidence was not set. This field is typically only provided if `is_final` is
|
19567
|
+
# true and you should not rely on it being accurate or even set.
|
19568
|
+
# Corresponds to the JSON property `confidence`
|
19569
|
+
# @return [Float]
|
19570
|
+
attr_accessor :confidence
|
19571
|
+
|
19572
|
+
# A wrapper of repeated TelephonyDtmf digits.
|
19573
|
+
# Corresponds to the JSON property `dtmfDigits`
|
19574
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents]
|
19575
|
+
attr_accessor :dtmf_digits
|
19576
|
+
|
19577
|
+
# If `false`, the `StreamingRecognitionResult` represents an interim result that
|
19578
|
+
# may change. If `true`, the recognizer will not return any further hypotheses
|
19579
|
+
# about this piece of the audio. May only be populated for `message_type` = `
|
19580
|
+
# TRANSCRIPT`.
|
19581
|
+
# Corresponds to the JSON property `isFinal`
|
19582
|
+
# @return [Boolean]
|
19583
|
+
attr_accessor :is_final
|
19584
|
+
alias_method :is_final?, :is_final
|
19585
|
+
|
19586
|
+
# Detected language code for the transcript.
|
19587
|
+
# Corresponds to the JSON property `languageCode`
|
19588
|
+
# @return [String]
|
19589
|
+
attr_accessor :language_code
|
19590
|
+
|
19591
|
+
# Type of the result message.
|
19592
|
+
# Corresponds to the JSON property `messageType`
|
19593
|
+
# @return [String]
|
19594
|
+
attr_accessor :message_type
|
19595
|
+
|
19596
|
+
# Time offset of the end of this Speech recognition result relative to the
|
19597
|
+
# beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
|
19598
|
+
# Corresponds to the JSON property `speechEndOffset`
|
19599
|
+
# @return [String]
|
19600
|
+
attr_accessor :speech_end_offset
|
19601
|
+
|
19602
|
+
# Word-specific information for the words recognized by Speech in transcript.
|
19603
|
+
# Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
|
19604
|
+
# enable_word_info] is set.
|
19605
|
+
# Corresponds to the JSON property `speechWordInfo`
|
19606
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechWordInfo>]
|
19607
|
+
attr_accessor :speech_word_info
|
19608
|
+
|
19609
|
+
# An estimate of the likelihood that the speech recognizer will not change its
|
19610
|
+
# guess about this interim recognition result: * If the value is unspecified or
|
19611
|
+
# 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will
|
19612
|
+
# only provide stability for `TRANSCRIPT` results with `is_final = false`. *
|
19613
|
+
# Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and
|
19614
|
+
# 1.0 means completely stable.
|
19615
|
+
# Corresponds to the JSON property `stability`
|
19616
|
+
# @return [Float]
|
19617
|
+
attr_accessor :stability
|
19618
|
+
|
19619
|
+
# Transcript text representing the words that the user spoke. Populated if and
|
19620
|
+
# only if `message_type` = `TRANSCRIPT`.
|
19621
|
+
# Corresponds to the JSON property `transcript`
|
19622
|
+
# @return [String]
|
19623
|
+
attr_accessor :transcript
|
19624
|
+
|
19625
|
+
def initialize(**args)
|
19626
|
+
update!(**args)
|
19627
|
+
end
|
19628
|
+
|
19629
|
+
# Update properties of this object
|
19630
|
+
def update!(**args)
|
19631
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
19632
|
+
@dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
|
19633
|
+
@is_final = args[:is_final] if args.key?(:is_final)
|
19634
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
19635
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
19636
|
+
@speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
|
19637
|
+
@speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
|
19638
|
+
@stability = args[:stability] if args.key?(:stability)
|
19639
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
19640
|
+
end
|
19641
|
+
end
|
19642
|
+
|
19192
19643
|
# Contains basic configuration for a sub-agent.
|
19193
19644
|
class GoogleCloudDialogflowV2beta1SubAgent
|
19194
19645
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.95.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
|
@@ -1720,6 +1720,18 @@ module Google
|
|
1720
1720
|
include Google::Apis::Core::JsonObjectSupport
|
1721
1721
|
end
|
1722
1722
|
|
1723
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1725
|
+
|
1726
|
+
include Google::Apis::Core::JsonObjectSupport
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1731
|
+
|
1732
|
+
include Google::Apis::Core::JsonObjectSupport
|
1733
|
+
end
|
1734
|
+
|
1723
1735
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
1724
1736
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1725
1737
|
|
@@ -2014,6 +2026,24 @@ module Google
|
|
2014
2026
|
include Google::Apis::Core::JsonObjectSupport
|
2015
2027
|
end
|
2016
2028
|
|
2029
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
|
2030
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2031
|
+
|
2032
|
+
include Google::Apis::Core::JsonObjectSupport
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent
|
2036
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2037
|
+
|
2038
|
+
include Google::Apis::Core::JsonObjectSupport
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader
|
2042
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2043
|
+
|
2044
|
+
include Google::Apis::Core::JsonObjectSupport
|
2045
|
+
end
|
2046
|
+
|
2017
2047
|
class GoogleCloudDialogflowV2beta1CreateMessageRequest
|
2018
2048
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2019
2049
|
|
@@ -3088,6 +3118,18 @@ module Google
|
|
3088
3118
|
include Google::Apis::Core::JsonObjectSupport
|
3089
3119
|
end
|
3090
3120
|
|
3121
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
3122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3123
|
+
|
3124
|
+
include Google::Apis::Core::JsonObjectSupport
|
3125
|
+
end
|
3126
|
+
|
3127
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
3128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3129
|
+
|
3130
|
+
include Google::Apis::Core::JsonObjectSupport
|
3131
|
+
end
|
3132
|
+
|
3091
3133
|
class GoogleCloudDialogflowV2beta1SubAgent
|
3092
3134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3093
3135
|
|
@@ -5455,6 +5497,8 @@ module Google
|
|
5455
5497
|
|
5456
5498
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message::Representation
|
5457
5499
|
|
5500
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2StreamingRecognitionResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2StreamingRecognitionResult::Representation
|
5501
|
+
|
5458
5502
|
property :type, as: 'type'
|
5459
5503
|
end
|
5460
5504
|
end
|
@@ -6196,6 +6240,30 @@ module Google
|
|
6196
6240
|
end
|
6197
6241
|
end
|
6198
6242
|
|
6243
|
+
class GoogleCloudDialogflowV2SpeechWordInfo
|
6244
|
+
# @private
|
6245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6246
|
+
property :confidence, as: 'confidence'
|
6247
|
+
property :end_offset, as: 'endOffset'
|
6248
|
+
property :start_offset, as: 'startOffset'
|
6249
|
+
property :word, as: 'word'
|
6250
|
+
end
|
6251
|
+
end
|
6252
|
+
|
6253
|
+
class GoogleCloudDialogflowV2StreamingRecognitionResult
|
6254
|
+
# @private
|
6255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6256
|
+
property :confidence, as: 'confidence'
|
6257
|
+
property :is_final, as: 'isFinal'
|
6258
|
+
property :language_code, as: 'languageCode'
|
6259
|
+
property :message_type, as: 'messageType'
|
6260
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
6261
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SpeechWordInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SpeechWordInfo::Representation
|
6262
|
+
|
6263
|
+
property :transcript, as: 'transcript'
|
6264
|
+
end
|
6265
|
+
end
|
6266
|
+
|
6199
6267
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
6200
6268
|
# @private
|
6201
6269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6678,6 +6746,8 @@ module Google
|
|
6678
6746
|
property :phone_number, as: 'phoneNumber', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber::Representation
|
6679
6747
|
|
6680
6748
|
property :start_time, as: 'startTime'
|
6749
|
+
property :telephony_connection_info, as: 'telephonyConnectionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo::Representation
|
6750
|
+
|
6681
6751
|
end
|
6682
6752
|
end
|
6683
6753
|
|
@@ -6697,6 +6767,8 @@ module Google
|
|
6697
6767
|
|
6698
6768
|
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message::Representation
|
6699
6769
|
|
6770
|
+
property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult::Representation
|
6771
|
+
|
6700
6772
|
property :type, as: 'type'
|
6701
6773
|
end
|
6702
6774
|
end
|
@@ -6704,6 +6776,7 @@ module Google
|
|
6704
6776
|
class GoogleCloudDialogflowV2beta1ConversationPhoneNumber
|
6705
6777
|
# @private
|
6706
6778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6779
|
+
property :country_code, as: 'countryCode'
|
6707
6780
|
property :phone_number, as: 'phoneNumber'
|
6708
6781
|
end
|
6709
6782
|
end
|
@@ -6725,6 +6798,8 @@ module Google
|
|
6725
6798
|
property :name, as: 'name'
|
6726
6799
|
property :new_message_event_notification_config, as: 'newMessageEventNotificationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig::Representation
|
6727
6800
|
|
6801
|
+
property :new_recognition_result_notification_config, as: 'newRecognitionResultNotificationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig::Representation
|
6802
|
+
|
6728
6803
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig::Representation
|
6729
6804
|
|
6730
6805
|
property :security_settings, as: 'securitySettings'
|
@@ -6737,6 +6812,34 @@ module Google
|
|
6737
6812
|
end
|
6738
6813
|
end
|
6739
6814
|
|
6815
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
|
6816
|
+
# @private
|
6817
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6818
|
+
property :dialed_number, as: 'dialedNumber'
|
6819
|
+
collection :extra_mime_contents, as: 'extraMimeContents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent::Representation
|
6820
|
+
|
6821
|
+
property :sdp, as: 'sdp'
|
6822
|
+
collection :sip_headers, as: 'sipHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader::Representation
|
6823
|
+
|
6824
|
+
end
|
6825
|
+
end
|
6826
|
+
|
6827
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent
|
6828
|
+
# @private
|
6829
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6830
|
+
property :content, :base64 => true, as: 'content'
|
6831
|
+
property :mime_type, as: 'mimeType'
|
6832
|
+
end
|
6833
|
+
end
|
6834
|
+
|
6835
|
+
class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader
|
6836
|
+
# @private
|
6837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6838
|
+
property :name, as: 'name'
|
6839
|
+
property :value, as: 'value'
|
6840
|
+
end
|
6841
|
+
end
|
6842
|
+
|
6740
6843
|
class GoogleCloudDialogflowV2beta1CreateMessageRequest
|
6741
6844
|
# @private
|
6742
6845
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8554,6 +8657,33 @@ module Google
|
|
8554
8657
|
end
|
8555
8658
|
end
|
8556
8659
|
|
8660
|
+
class GoogleCloudDialogflowV2beta1SpeechWordInfo
|
8661
|
+
# @private
|
8662
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8663
|
+
property :confidence, as: 'confidence'
|
8664
|
+
property :end_offset, as: 'endOffset'
|
8665
|
+
property :start_offset, as: 'startOffset'
|
8666
|
+
property :word, as: 'word'
|
8667
|
+
end
|
8668
|
+
end
|
8669
|
+
|
8670
|
+
class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
|
8671
|
+
# @private
|
8672
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8673
|
+
property :confidence, as: 'confidence'
|
8674
|
+
property :dtmf_digits, as: 'dtmfDigits', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents::Representation
|
8675
|
+
|
8676
|
+
property :is_final, as: 'isFinal'
|
8677
|
+
property :language_code, as: 'languageCode'
|
8678
|
+
property :message_type, as: 'messageType'
|
8679
|
+
property :speech_end_offset, as: 'speechEndOffset'
|
8680
|
+
collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechWordInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechWordInfo::Representation
|
8681
|
+
|
8682
|
+
property :stability, as: 'stability'
|
8683
|
+
property :transcript, as: 'transcript'
|
8684
|
+
end
|
8685
|
+
end
|
8686
|
+
|
8557
8687
|
class GoogleCloudDialogflowV2beta1SubAgent
|
8558
8688
|
# @private
|
8559
8689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.95.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_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.95.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
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 V2beta1
|
82
79
|
test_files: []
|