google-apis-dialogflow_v2beta1 0.48.0 → 0.50.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: ed24ea671930ba3cc64b5c81a71ad13d9c84e859a51332657208fe9777d112b3
|
4
|
+
data.tar.gz: ec966e272a97b0d61a8d805ede952c9447a355e4e7a173e16e51c6b960c2fb02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0c309e0f867ad30f70eea47463e9aeab8bc084b2334e104ffc975f7e693dc53ced2e9b3ec6656ccb12852463cb1e23cebc0987cedc558fc432a9b4b39baecfc
|
7
|
+
data.tar.gz: 480e525f42eff14d1dc3ab76a3754b3e14a81e2a954bed7e5f8e35b3076c2fe9a38ddc2eddda4c07e99fa86485907b2c4fa215b342eb9cbdbb9fe5baced8c70b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.50.0 (2023-02-15)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.12.0
|
6
|
+
|
7
|
+
### v0.49.0 (2023-02-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230209
|
10
|
+
|
3
11
|
### v0.48.0 (2023-01-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230110
|
@@ -9789,6 +9789,49 @@ module Google
|
|
9789
9789
|
end
|
9790
9790
|
end
|
9791
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
|
+
|
9792
9835
|
# The request message for EntityTypes.BatchCreateEntities.
|
9793
9836
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
9794
9837
|
include Google::Apis::Core::Hashable
|
@@ -12100,6 +12143,29 @@ module Google
|
|
12100
12143
|
# @return [String]
|
12101
12144
|
attr_accessor :audio_encoding
|
12102
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
|
+
|
12103
12169
|
# Only used in Participants.AnalyzeContent and Participants.
|
12104
12170
|
# StreamingAnalyzeContent. If `false` and recognition doesn't return any result,
|
12105
12171
|
# trigger `NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
|
@@ -12187,6 +12253,7 @@ module Google
|
|
12187
12253
|
# Update properties of this object
|
12188
12254
|
def update!(**args)
|
12189
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)
|
12190
12257
|
@disable_no_speech_recognized_event = args[:disable_no_speech_recognized_event] if args.key?(:disable_no_speech_recognized_event)
|
12191
12258
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
12192
12259
|
@language_code = args[:language_code] if args.key?(:language_code)
|
@@ -15771,6 +15838,11 @@ module Google
|
|
15771
15838
|
class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
|
15772
15839
|
include Google::Apis::Core::Hashable
|
15773
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
|
+
|
15774
15846
|
# Max number of messages prior to and including [latest_message] to use as
|
15775
15847
|
# context when compiling the suggestion. By default 500 and at most 1000.
|
15776
15848
|
# Corresponds to the JSON property `contextSize`
|
@@ -15790,6 +15862,7 @@ module Google
|
|
15790
15862
|
|
15791
15863
|
# Update properties of this object
|
15792
15864
|
def update!(**args)
|
15865
|
+
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
15793
15866
|
@context_size = args[:context_size] if args.key?(:context_size)
|
15794
15867
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
15795
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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
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
|
|
@@ -5473,6 +5479,14 @@ module Google
|
|
5473
5479
|
end
|
5474
5480
|
end
|
5475
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
|
+
|
5476
5490
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
5477
5491
|
# @private
|
5478
5492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6106,6 +6120,8 @@ module Google
|
|
6106
6120
|
# @private
|
6107
6121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6108
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
|
+
|
6109
6125
|
property :disable_no_speech_recognized_event, as: 'disableNoSpeechRecognizedEvent'
|
6110
6126
|
property :enable_word_info, as: 'enableWordInfo'
|
6111
6127
|
property :language_code, as: 'languageCode'
|
@@ -7126,6 +7142,8 @@ module Google
|
|
7126
7142
|
class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
|
7127
7143
|
# @private
|
7128
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
|
+
|
7129
7147
|
property :context_size, as: 'contextSize'
|
7130
7148
|
property :latest_message, as: 'latestMessage'
|
7131
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.50.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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.11.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.50.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: []
|