google-apis-dialogflow_v2 0.91.0 → 0.92.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: 610c076eff5779cdd10ac37acaa8a78e30f7bf5033603a438b95d4768e5d909b
|
4
|
+
data.tar.gz: a2df15058fb61444b825fda37bf4cda5672f6f27f244cdf50849fcc1d7eca41c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e5e1f51e76f4b63e106fccc67755c6914f1f9fdee7e50dfe90736dadc49241d8763ebaccadb4d8affbd847a63e40980beb3d08e5b8bc5e53023b373723d1fb
|
7
|
+
data.tar.gz: 236f7d139f22438a812f7f71bc3ce36338b2b9508cad9edd851d9931a230dad7e8da700b2ea5a3cae9752005fd4ca420d4e4c7462030186aaf45d45e89b698ef
|
data/CHANGELOG.md
CHANGED
@@ -3051,18 +3051,16 @@ module Google
|
|
3051
3051
|
|
3052
3052
|
# Flow name to start the test case with. Format: `projects//locations//agents//
|
3053
3053
|
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
3054
|
-
# point of the test case. If
|
3055
|
-
#
|
3056
|
-
# start flow.
|
3054
|
+
# point of the test case. If neither is set, the test case will start with start
|
3055
|
+
# page on the default start flow.
|
3057
3056
|
# Corresponds to the JSON property `flow`
|
3058
3057
|
# @return [String]
|
3059
3058
|
attr_accessor :flow
|
3060
3059
|
|
3061
3060
|
# The page to start the test case with. Format: `projects//locations//agents//
|
3062
3061
|
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
3063
|
-
# starting point of the test case. If
|
3064
|
-
#
|
3065
|
-
# default start flow.
|
3062
|
+
# starting point of the test case. If neither is set, the test case will start
|
3063
|
+
# with start page on the default start flow.
|
3066
3064
|
# Corresponds to the JSON property `page`
|
3067
3065
|
# @return [String]
|
3068
3066
|
attr_accessor :page
|
@@ -6903,18 +6901,16 @@ module Google
|
|
6903
6901
|
|
6904
6902
|
# Flow name to start the test case with. Format: `projects//locations//agents//
|
6905
6903
|
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
6906
|
-
# point of the test case. If
|
6907
|
-
#
|
6908
|
-
# start flow.
|
6904
|
+
# point of the test case. If neither is set, the test case will start with start
|
6905
|
+
# page on the default start flow.
|
6909
6906
|
# Corresponds to the JSON property `flow`
|
6910
6907
|
# @return [String]
|
6911
6908
|
attr_accessor :flow
|
6912
6909
|
|
6913
6910
|
# The page to start the test case with. Format: `projects//locations//agents//
|
6914
6911
|
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
6915
|
-
# starting point of the test case. If
|
6916
|
-
#
|
6917
|
-
# default start flow.
|
6912
|
+
# starting point of the test case. If neither is set, the test case will start
|
6913
|
+
# with start page on the default start flow.
|
6918
6914
|
# Corresponds to the JSON property `page`
|
6919
6915
|
# @return [String]
|
6920
6916
|
attr_accessor :page
|
@@ -15210,6 +15206,37 @@ module Google
|
|
15210
15206
|
class GoogleCloudDialogflowV2SpeechToTextConfig
|
15211
15207
|
include Google::Apis::Core::Hashable
|
15212
15208
|
|
15209
|
+
# Defines the list of other language codes in addition to the one provided by
|
15210
|
+
# the conversation profile that may be detected as the language code for the
|
15211
|
+
# utterances over the conversation. See [Language Support](https://cloud.google.
|
15212
|
+
# com/dialogflow/docs/reference/language) for a list of the currently supported
|
15213
|
+
# language codes.
|
15214
|
+
# Corresponds to the JSON property `alternativeLanguageCodes`
|
15215
|
+
# @return [Array<String>]
|
15216
|
+
attr_accessor :alternative_language_codes
|
15217
|
+
|
15218
|
+
# Audio encoding of the audio content to process.
|
15219
|
+
# Corresponds to the JSON property `audioEncoding`
|
15220
|
+
# @return [String]
|
15221
|
+
attr_accessor :audio_encoding
|
15222
|
+
|
15223
|
+
# If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult
|
15224
|
+
# with information about the recognized speech words, e.g. start and end time
|
15225
|
+
# offsets. If false or unspecified, Speech doesn't return any word-level
|
15226
|
+
# information.
|
15227
|
+
# Corresponds to the JSON property `enableWordInfo`
|
15228
|
+
# @return [Boolean]
|
15229
|
+
attr_accessor :enable_word_info
|
15230
|
+
alias_method :enable_word_info?, :enable_word_info
|
15231
|
+
|
15232
|
+
# The language of the supplied audio. Dialogflow does not do translations. See [
|
15233
|
+
# Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
15234
|
+
# for a list of the currently supported language codes. Note that queries in the
|
15235
|
+
# same session do not necessarily need to specify the same language.
|
15236
|
+
# Corresponds to the JSON property `languageCode`
|
15237
|
+
# @return [String]
|
15238
|
+
attr_accessor :language_code
|
15239
|
+
|
15213
15240
|
# Which Speech model to select. Select the model best suited to your domain to
|
15214
15241
|
# get best results. If a model is not explicitly specified, then Dialogflow auto-
|
15215
15242
|
# selects a model based on other parameters in the SpeechToTextConfig and Agent
|
@@ -15227,6 +15254,13 @@ module Google
|
|
15227
15254
|
# @return [String]
|
15228
15255
|
attr_accessor :model
|
15229
15256
|
|
15257
|
+
# Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
|
15258
|
+
# Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
|
15259
|
+
# for more details.
|
15260
|
+
# Corresponds to the JSON property `sampleRateHertz`
|
15261
|
+
# @return [Fixnum]
|
15262
|
+
attr_accessor :sample_rate_hertz
|
15263
|
+
|
15230
15264
|
# The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `
|
15231
15265
|
# USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
|
15232
15266
|
# AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced
|
@@ -15249,7 +15283,12 @@ module Google
|
|
15249
15283
|
|
15250
15284
|
# Update properties of this object
|
15251
15285
|
def update!(**args)
|
15286
|
+
@alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
|
15287
|
+
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
15288
|
+
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
15289
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
15252
15290
|
@model = args[:model] if args.key?(:model)
|
15291
|
+
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
15253
15292
|
@speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
|
15254
15293
|
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
15255
15294
|
end
|
@@ -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.92.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240617"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -7539,7 +7539,12 @@ module Google
|
|
7539
7539
|
class GoogleCloudDialogflowV2SpeechToTextConfig
|
7540
7540
|
# @private
|
7541
7541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7542
|
+
collection :alternative_language_codes, as: 'alternativeLanguageCodes'
|
7543
|
+
property :audio_encoding, as: 'audioEncoding'
|
7544
|
+
property :enable_word_info, as: 'enableWordInfo'
|
7545
|
+
property :language_code, as: 'languageCode'
|
7542
7546
|
property :model, as: 'model'
|
7547
|
+
property :sample_rate_hertz, as: 'sampleRateHertz'
|
7543
7548
|
property :speech_model_variant, as: 'speechModelVariant'
|
7544
7549
|
property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
|
7545
7550
|
end
|
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.92.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: 2024-06-
|
11
|
+
date: 2024-06-27 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.92.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: []
|