google-apis-dialogflow_v2 0.73.0 → 0.75.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: cddda635f6d26814b425ffe641508673aff1948c83182dd765a444ba1f665e94
|
4
|
+
data.tar.gz: 57a53d773812d4dc222cc0c378d209017206909cd9d30932b7ec2c756a95b9b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d427463432b8da24cc172ceebf15eaba0726eaafa6abbcab57afe05a58b28763753ea0a4b65ca8a089d662db4910933fc44899484621a526dd5efb517a8ee73c
|
7
|
+
data.tar.gz: 2efa3548b2c25fa982005f0e957bb099738f1d8e6a19dd26442b3a006489b6ce7432852b35b6f5c34c86cf3b4a8720e319f44be1e4afd5ee907d3645660a6ef3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.75.0 (2023-12-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231208
|
6
|
+
|
7
|
+
### v0.74.0 (2023-12-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231204
|
10
|
+
|
3
11
|
### v0.73.0 (2023-12-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231129
|
@@ -167,13 +167,9 @@ module Google
|
|
167
167
|
# which the API starts speech detection and may inform the client that an
|
168
168
|
# utterance has been detected. Note that no-speech event is not expected in this
|
169
169
|
# phase. The client provides this configuration in terms of the durations of
|
170
|
-
# those two phases. The durations are measured in terms of the audio length
|
171
|
-
#
|
172
|
-
# without
|
173
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
174
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
175
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
176
|
-
# any transcript following up.
|
170
|
+
# those two phases. The durations are measured in terms of the audio length from
|
171
|
+
# the the start of the input audio. No-speech event is a response with
|
172
|
+
# END_OF_UTTERANCE without any transcript following up.
|
177
173
|
class GoogleCloudDialogflowCxV3BargeInConfig
|
178
174
|
include Google::Apis::Core::Hashable
|
179
175
|
|
@@ -1567,13 +1563,9 @@ module Google
|
|
1567
1563
|
# which the API starts speech detection and may inform the client that an
|
1568
1564
|
# utterance has been detected. Note that no-speech event is not expected in this
|
1569
1565
|
# phase. The client provides this configuration in terms of the durations of
|
1570
|
-
# those two phases. The durations are measured in terms of the audio length
|
1571
|
-
#
|
1572
|
-
# without
|
1573
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
1574
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
1575
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
1576
|
-
# any transcript following up.
|
1566
|
+
# those two phases. The durations are measured in terms of the audio length from
|
1567
|
+
# the the start of the input audio. No-speech event is a response with
|
1568
|
+
# END_OF_UTTERANCE without any transcript following up.
|
1577
1569
|
# Corresponds to the JSON property `bargeInConfig`
|
1578
1570
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3BargeInConfig]
|
1579
1571
|
attr_accessor :barge_in_config
|
@@ -1587,17 +1579,9 @@ module Google
|
|
1587
1579
|
attr_accessor :enable_word_info
|
1588
1580
|
alias_method :enable_word_info?, :enable_word_info
|
1589
1581
|
|
1590
|
-
# Optional. Which Speech model to select for the given request.
|
1591
|
-
#
|
1592
|
-
#
|
1593
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
1594
|
-
# enhanced version of the specified model for the language does not exist, then
|
1595
|
-
# the speech is recognized using the standard version of the specified model.
|
1596
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
1597
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
1598
|
-
# following models typically have the best performance: - phone_call (best for
|
1599
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
1600
|
-
# - command_and_search (best for very short utterances and commands)
|
1582
|
+
# Optional. Which Speech model to select for the given request. For more
|
1583
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
1584
|
+
# concept/speech-models).
|
1601
1585
|
# Corresponds to the JSON property `model`
|
1602
1586
|
# @return [String]
|
1603
1587
|
attr_accessor :model
|
@@ -3752,13 +3736,9 @@ module Google
|
|
3752
3736
|
# which the API starts speech detection and may inform the client that an
|
3753
3737
|
# utterance has been detected. Note that no-speech event is not expected in this
|
3754
3738
|
# phase. The client provides this configuration in terms of the durations of
|
3755
|
-
# those two phases. The durations are measured in terms of the audio length
|
3756
|
-
#
|
3757
|
-
# without
|
3758
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
3759
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
3760
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
3761
|
-
# any transcript following up.
|
3739
|
+
# those two phases. The durations are measured in terms of the audio length from
|
3740
|
+
# the the start of the input audio. No-speech event is a response with
|
3741
|
+
# END_OF_UTTERANCE without any transcript following up.
|
3762
3742
|
class GoogleCloudDialogflowCxV3beta1BargeInConfig
|
3763
3743
|
include Google::Apis::Core::Hashable
|
3764
3744
|
|
@@ -5152,13 +5132,9 @@ module Google
|
|
5152
5132
|
# which the API starts speech detection and may inform the client that an
|
5153
5133
|
# utterance has been detected. Note that no-speech event is not expected in this
|
5154
5134
|
# phase. The client provides this configuration in terms of the durations of
|
5155
|
-
# those two phases. The durations are measured in terms of the audio length
|
5156
|
-
#
|
5157
|
-
# without
|
5158
|
-
# ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
|
5159
|
-
# + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
|
5160
|
-
# +---------------+ No-speech event is a response with END_OF_UTTERANCE without
|
5161
|
-
# any transcript following up.
|
5135
|
+
# those two phases. The durations are measured in terms of the audio length from
|
5136
|
+
# the the start of the input audio. No-speech event is a response with
|
5137
|
+
# END_OF_UTTERANCE without any transcript following up.
|
5162
5138
|
# Corresponds to the JSON property `bargeInConfig`
|
5163
5139
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1BargeInConfig]
|
5164
5140
|
attr_accessor :barge_in_config
|
@@ -5172,17 +5148,9 @@ module Google
|
|
5172
5148
|
attr_accessor :enable_word_info
|
5173
5149
|
alias_method :enable_word_info?, :enable_word_info
|
5174
5150
|
|
5175
|
-
# Optional. Which Speech model to select for the given request.
|
5176
|
-
#
|
5177
|
-
#
|
5178
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
5179
|
-
# enhanced version of the specified model for the language does not exist, then
|
5180
|
-
# the speech is recognized using the standard version of the specified model.
|
5181
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
5182
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
5183
|
-
# following models typically have the best performance: - phone_call (best for
|
5184
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
5185
|
-
# - command_and_search (best for very short utterances and commands)
|
5151
|
+
# Optional. Which Speech model to select for the given request. For more
|
5152
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
|
5153
|
+
# concept/speech-models).
|
5186
5154
|
# Corresponds to the JSON property `model`
|
5187
5155
|
# @return [String]
|
5188
5156
|
attr_accessor :model
|
@@ -10263,6 +10231,13 @@ module Google
|
|
10263
10231
|
attr_accessor :disable_agent_query_logging
|
10264
10232
|
alias_method :disable_agent_query_logging?, :disable_agent_query_logging
|
10265
10233
|
|
10234
|
+
# Optional. Enable including conversation context during query answer generation.
|
10235
|
+
# Supported features: KNOWLEDGE_SEARCH.
|
10236
|
+
# Corresponds to the JSON property `enableConversationAugmentedQuery`
|
10237
|
+
# @return [Boolean]
|
10238
|
+
attr_accessor :enable_conversation_augmented_query
|
10239
|
+
alias_method :enable_conversation_augmented_query?, :enable_conversation_augmented_query
|
10240
|
+
|
10266
10241
|
# Automatically iterates all participants and tries to compile suggestions.
|
10267
10242
|
# Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST,
|
10268
10243
|
# KNOWLEDGE_ASSIST.
|
@@ -10297,6 +10272,7 @@ module Google
|
|
10297
10272
|
@conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config)
|
10298
10273
|
@conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_config)
|
10299
10274
|
@disable_agent_query_logging = args[:disable_agent_query_logging] if args.key?(:disable_agent_query_logging)
|
10275
|
+
@enable_conversation_augmented_query = args[:enable_conversation_augmented_query] if args.key?(:enable_conversation_augmented_query)
|
10300
10276
|
@enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
|
10301
10277
|
@query_config = args[:query_config] if args.key?(:query_config)
|
10302
10278
|
@suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
|
@@ -10907,17 +10883,9 @@ module Google
|
|
10907
10883
|
# @return [String]
|
10908
10884
|
attr_accessor :language_code
|
10909
10885
|
|
10910
|
-
# Which Speech model to select for the given request.
|
10911
|
-
#
|
10912
|
-
#
|
10913
|
-
# InputAudioConfig. If enhanced speech model is enabled for the agent and an
|
10914
|
-
# enhanced version of the specified model for the language does not exist, then
|
10915
|
-
# the speech is recognized using the standard version of the specified model.
|
10916
|
-
# Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
|
10917
|
-
# text/docs/basics#select-model) for more details. If you specify a model, the
|
10918
|
-
# following models typically have the best performance: - phone_call (best for
|
10919
|
-
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
10920
|
-
# - command_and_search (best for very short utterances and commands)
|
10886
|
+
# Optional. Which Speech model to select for the given request. For more
|
10887
|
+
# information, see [Speech models](https://cloud.google.com/dialogflow/es/docs/
|
10888
|
+
# speech-models).
|
10921
10889
|
# Corresponds to the JSON property `model`
|
10922
10890
|
# @return [String]
|
10923
10891
|
attr_accessor :model
|
@@ -13676,6 +13644,11 @@ module Google
|
|
13676
13644
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer>]
|
13677
13645
|
attr_accessor :answers
|
13678
13646
|
|
13647
|
+
# The rewritten query used to search knowledge.
|
13648
|
+
# Corresponds to the JSON property `rewrittenQuery`
|
13649
|
+
# @return [String]
|
13650
|
+
attr_accessor :rewritten_query
|
13651
|
+
|
13679
13652
|
def initialize(**args)
|
13680
13653
|
update!(**args)
|
13681
13654
|
end
|
@@ -13683,6 +13656,7 @@ module Google
|
|
13683
13656
|
# Update properties of this object
|
13684
13657
|
def update!(**args)
|
13685
13658
|
@answers = args[:answers] if args.key?(:answers)
|
13659
|
+
@rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
|
13686
13660
|
end
|
13687
13661
|
end
|
13688
13662
|
|
@@ -14029,9 +14003,18 @@ module Google
|
|
14029
14003
|
include Google::Apis::Core::Hashable
|
14030
14004
|
|
14031
14005
|
# Which Speech model to select. Select the model best suited to your domain to
|
14032
|
-
# get best results. If a model is not explicitly specified, then
|
14033
|
-
#
|
14034
|
-
# speech
|
14006
|
+
# get best results. If a model is not explicitly specified, then Dialogflow auto-
|
14007
|
+
# selects a model based on other parameters in the SpeechToTextConfig and Agent
|
14008
|
+
# settings. If enhanced speech model is enabled for the agent and an enhanced
|
14009
|
+
# version of the specified model for the language does not exist, then the
|
14010
|
+
# speech is recognized using the standard version of the specified model. Refer
|
14011
|
+
# to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/
|
14012
|
+
# docs/basics#select-model) for more details. If you specify a model, the
|
14013
|
+
# following models typically have the best performance: - phone_call (best for
|
14014
|
+
# Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
|
14015
|
+
# - command_and_search Leave this field unspecified to use [Agent Speech
|
14016
|
+
# settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-
|
14017
|
+
# speech) for model selection.
|
14035
14018
|
# Corresponds to the JSON property `model`
|
14036
14019
|
# @return [String]
|
14037
14020
|
attr_accessor :model
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.75.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231208"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -5838,6 +5838,7 @@ module Google
|
|
5838
5838
|
property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig::Representation
|
5839
5839
|
|
5840
5840
|
property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
|
5841
|
+
property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
|
5841
5842
|
property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
|
5842
5843
|
property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig::Representation
|
5843
5844
|
|
@@ -6794,6 +6795,7 @@ module Google
|
|
6794
6795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6795
6796
|
collection :answers, as: 'answers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer::Representation
|
6796
6797
|
|
6798
|
+
property :rewritten_query, as: 'rewrittenQuery'
|
6797
6799
|
end
|
6798
6800
|
end
|
6799
6801
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.75.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-12-
|
11
|
+
date: 2023-12-17 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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.75.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|