google-apis-dialogflow_v2beta1 0.47.0 → 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4e1b44a4c55e278b67413d1c8963d51da2a669e0a5e445262a0aef05fd2d70e
|
4
|
+
data.tar.gz: 156e3c3648deb042cb92f5d8602dbcb62c0e7419e830178d4d9e5973a56fc321
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95d3121e7594c2386b21c3ba03d49bb59c22da455b4b10bee2dbee5c7ef0f879750cc5337502e2b7451f99401b05fa045c4036a1aa77c004e6046f2abc1ab299
|
7
|
+
data.tar.gz: fbec9e662cfb675ce52be1db12e6dea7f910ed2d97dc74bdd7ebf753ece03e8c7c8f495c0403050adde7c171973f5c6e3ac0fbbb83122fcca791f04c4a583158
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.49.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230209
|
6
|
+
|
7
|
+
### v0.48.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230110
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.47.0 (2023-01-04)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230103
|
@@ -1764,6 +1764,13 @@ module Google
|
|
1764
1764
|
class GoogleCloudDialogflowCxV3ResponseMessage
|
1765
1765
|
include Google::Apis::Core::Hashable
|
1766
1766
|
|
1767
|
+
# The channel which the response is associated with. Clients can specify the
|
1768
|
+
# channel via QueryParameters.channel, and only associated channel response will
|
1769
|
+
# be returned.
|
1770
|
+
# Corresponds to the JSON property `channel`
|
1771
|
+
# @return [String]
|
1772
|
+
attr_accessor :channel
|
1773
|
+
|
1767
1774
|
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
1768
1775
|
# that the customer talked to it about. Dialogflow only uses this to determine
|
1769
1776
|
# which conversations should be counted as successful and doesn't process the
|
@@ -1835,6 +1842,7 @@ module Google
|
|
1835
1842
|
|
1836
1843
|
# Update properties of this object
|
1837
1844
|
def update!(**args)
|
1845
|
+
@channel = args[:channel] if args.key?(:channel)
|
1838
1846
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
1839
1847
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
1840
1848
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
@@ -4781,6 +4789,13 @@ module Google
|
|
4781
4789
|
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
4782
4790
|
include Google::Apis::Core::Hashable
|
4783
4791
|
|
4792
|
+
# The channel which the response is associated with. Clients can specify the
|
4793
|
+
# channel via QueryParameters.channel, and only associated channel response will
|
4794
|
+
# be returned.
|
4795
|
+
# Corresponds to the JSON property `channel`
|
4796
|
+
# @return [String]
|
4797
|
+
attr_accessor :channel
|
4798
|
+
|
4784
4799
|
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
4785
4800
|
# that the customer talked to it about. Dialogflow only uses this to determine
|
4786
4801
|
# which conversations should be counted as successful and doesn't process the
|
@@ -4852,6 +4867,7 @@ module Google
|
|
4852
4867
|
|
4853
4868
|
# Update properties of this object
|
4854
4869
|
def update!(**args)
|
4870
|
+
@channel = args[:channel] if args.key?(:channel)
|
4855
4871
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
4856
4872
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
4857
4873
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
@@ -9773,6 +9789,49 @@ module Google
|
|
9773
9789
|
end
|
9774
9790
|
end
|
9775
9791
|
|
9792
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
9793
|
+
# detected utterance at a proper time while the client is playing back the
|
9794
|
+
# response audio from a previous request. When the client sees the utterance, it
|
9795
|
+
# should stop the playback and immediately get ready for receiving the responses
|
9796
|
+
# for the current request. The barge-in handling requires the client to start
|
9797
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
9798
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
9799
|
+
# phase: which goes first and during which speech detection should not be
|
9800
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
9801
|
+
# which the API starts speech detection and may inform the client that an
|
9802
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
9803
|
+
# phase. The client provides this configuration in terms of the durations of
|
9804
|
+
# those two phases. The durations are measured in terms of the audio length
|
9805
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
9806
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
9807
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
9808
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
9809
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
9810
|
+
# any transcript following up.
|
9811
|
+
class GoogleCloudDialogflowV2beta1BargeInConfig
|
9812
|
+
include Google::Apis::Core::Hashable
|
9813
|
+
|
9814
|
+
# Duration that is not eligible for barge-in at the beginning of the input audio.
|
9815
|
+
# Corresponds to the JSON property `noBargeInDuration`
|
9816
|
+
# @return [String]
|
9817
|
+
attr_accessor :no_barge_in_duration
|
9818
|
+
|
9819
|
+
# Total duration for the playback at the beginning of the input audio.
|
9820
|
+
# Corresponds to the JSON property `totalDuration`
|
9821
|
+
# @return [String]
|
9822
|
+
attr_accessor :total_duration
|
9823
|
+
|
9824
|
+
def initialize(**args)
|
9825
|
+
update!(**args)
|
9826
|
+
end
|
9827
|
+
|
9828
|
+
# Update properties of this object
|
9829
|
+
def update!(**args)
|
9830
|
+
@no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
|
9831
|
+
@total_duration = args[:total_duration] if args.key?(:total_duration)
|
9832
|
+
end
|
9833
|
+
end
|
9834
|
+
|
9776
9835
|
# The request message for EntityTypes.BatchCreateEntities.
|
9777
9836
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
9778
9837
|
include Google::Apis::Core::Hashable
|
@@ -12084,6 +12143,29 @@ module Google
|
|
12084
12143
|
# @return [String]
|
12085
12144
|
attr_accessor :audio_encoding
|
12086
12145
|
|
12146
|
+
# Configuration of the barge-in behavior. Barge-in instructs the API to return a
|
12147
|
+
# detected utterance at a proper time while the client is playing back the
|
12148
|
+
# response audio from a previous request. When the client sees the utterance, it
|
12149
|
+
# should stop the playback and immediately get ready for receiving the responses
|
12150
|
+
# for the current request. The barge-in handling requires the client to start
|
12151
|
+
# streaming audio input as soon as it starts playing back the audio from the
|
12152
|
+
# previous response. The playback is modeled into two phases: * No barge-in
|
12153
|
+
# phase: which goes first and during which speech detection should not be
|
12154
|
+
# carried out. * Barge-in phase: which follows the no barge-in phase and during
|
12155
|
+
# which the API starts speech detection and may inform the client that an
|
12156
|
+
# utterance has been detected. Note that no-speech event is not expected in this
|
12157
|
+
# phase. The client provides this configuration in terms of the durations of
|
12158
|
+
# those two phases. The durations are measured in terms of the audio length
|
12159
|
+
# fromt the the start of the input audio. The flow goes like below: --> Time
|
12160
|
+
# without speech detection | utterance only | utterance or no-speech event | | +-
|
12161
|
+
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
12162
|
+
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
12163
|
+
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
12164
|
+
# any transcript following up.
|
12165
|
+
# Corresponds to the JSON property `bargeInConfig`
|
12166
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig]
|
12167
|
+
attr_accessor :barge_in_config
|
12168
|
+
|
12087
12169
|
# Only used in Participants.AnalyzeContent and Participants.
|
12088
12170
|
# StreamingAnalyzeContent. If `false` and recognition doesn't return any result,
|
12089
12171
|
# trigger `NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
|
@@ -12171,6 +12253,7 @@ module Google
|
|
12171
12253
|
# Update properties of this object
|
12172
12254
|
def update!(**args)
|
12173
12255
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
12256
|
+
@barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
|
12174
12257
|
@disable_no_speech_recognized_event = args[:disable_no_speech_recognized_event] if args.key?(:disable_no_speech_recognized_event)
|
12175
12258
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
12176
12259
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -15755,6 +15838,11 @@ module Google
|
|
15755
15838
|
class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
|
15756
15839
|
include Google::Apis::Core::Hashable
|
15757
15840
|
|
15841
|
+
# Represents the parameters of human assist query.
|
15842
|
+
# Corresponds to the JSON property `assistQueryParams`
|
15843
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
15844
|
+
attr_accessor :assist_query_params
|
15845
|
+
|
15758
15846
|
# Max number of messages prior to and including [latest_message] to use as
|
15759
15847
|
# context when compiling the suggestion. By default 500 and at most 1000.
|
15760
15848
|
# Corresponds to the JSON property `contextSize`
|
@@ -15774,6 +15862,7 @@ module Google
|
|
15774
15862
|
|
15775
15863
|
# Update properties of this object
|
15776
15864
|
def update!(**args)
|
15865
|
+
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
15777
15866
|
@context_size = args[:context_size] if args.key?(:context_size)
|
15778
15867
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
15779
15868
|
end
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1594,6 +1594,12 @@ module Google
|
|
1594
1594
|
include Google::Apis::Core::JsonObjectSupport
|
1595
1595
|
end
|
1596
1596
|
|
1597
|
+
class GoogleCloudDialogflowV2beta1BargeInConfig
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
|
+
|
1600
|
+
include Google::Apis::Core::JsonObjectSupport
|
1601
|
+
end
|
1602
|
+
|
1597
1603
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
1598
1604
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
1605
|
|
@@ -3296,6 +3302,7 @@ module Google
|
|
3296
3302
|
class GoogleCloudDialogflowCxV3ResponseMessage
|
3297
3303
|
# @private
|
3298
3304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3305
|
+
property :channel, as: 'channel'
|
3299
3306
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess::Representation
|
3300
3307
|
|
3301
3308
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
@@ -4132,6 +4139,7 @@ module Google
|
|
4132
4139
|
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
4133
4140
|
# @private
|
4134
4141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4142
|
+
property :channel, as: 'channel'
|
4135
4143
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
|
4136
4144
|
|
4137
4145
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
@@ -5471,6 +5479,14 @@ module Google
|
|
5471
5479
|
end
|
5472
5480
|
end
|
5473
5481
|
|
5482
|
+
class GoogleCloudDialogflowV2beta1BargeInConfig
|
5483
|
+
# @private
|
5484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5485
|
+
property :no_barge_in_duration, as: 'noBargeInDuration'
|
5486
|
+
property :total_duration, as: 'totalDuration'
|
5487
|
+
end
|
5488
|
+
end
|
5489
|
+
|
5474
5490
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
5475
5491
|
# @private
|
5476
5492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6104,6 +6120,8 @@ module Google
|
|
6104
6120
|
# @private
|
6105
6121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6106
6122
|
property :audio_encoding, as: 'audioEncoding'
|
6123
|
+
property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig::Representation
|
6124
|
+
|
6107
6125
|
property :disable_no_speech_recognized_event, as: 'disableNoSpeechRecognizedEvent'
|
6108
6126
|
property :enable_word_info, as: 'enableWordInfo'
|
6109
6127
|
property :language_code, as: 'languageCode'
|
@@ -7124,6 +7142,8 @@ module Google
|
|
7124
7142
|
class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
|
7125
7143
|
# @private
|
7126
7144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7145
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
|
7146
|
+
|
7127
7147
|
property :context_size, as: 'contextSize'
|
7128
7148
|
property :latest_message, as: 'latestMessage'
|
7129
7149
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.49.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: 2023-
|
11
|
+
date: 2023-02-12 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_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.49.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V2beta1
|