google-apis-speech_v1p1beta1 0.30.0 → 0.32.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: 8358ac846df473851d71acffc566a4b7c0203017ad104cea5747ec54466937a2
|
4
|
+
data.tar.gz: 9c0299e3d7c2bd000d9b1d3e9efb8f3e02a5f2e55b14ea62f96f8f827af9c1b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da6ad5ac71c911d25065f2e607d73eda6917f31d5556355f0829a9c9fabd13d65cb44022b5478b701b1245e3176495d2a041dad04abd97bb46c3b76201a7789c
|
7
|
+
data.tar.gz: 97d6e0b784dc3fb177ab4a2cda511130c2e47bc07340fc46878bc82d75510a28891b3363aa87aae90cdada134ea38d335857bb529100b84fd325f1477e33649f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-speech_v1p1beta1
|
2
2
|
|
3
|
+
### v0.32.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230119
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.31.0 (2022-12-07)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221202
|
11
|
+
|
3
12
|
### v0.30.0 (2022-10-27)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221020
|
@@ -22,6 +22,26 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SpeechV1p1beta1
|
24
24
|
|
25
|
+
#
|
26
|
+
class AbnfGrammar
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# All declarations and rules of an ABNF grammar broken up into multiple strings
|
30
|
+
# that will end up concatenated.
|
31
|
+
# Corresponds to the JSON property `abnfStrings`
|
32
|
+
# @return [Array<String>]
|
33
|
+
attr_accessor :abnf_strings
|
34
|
+
|
35
|
+
def initialize(**args)
|
36
|
+
update!(**args)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Update properties of this object
|
40
|
+
def update!(**args)
|
41
|
+
@abnf_strings = args[:abnf_strings] if args.key?(:abnf_strings)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
25
45
|
# An item of the class.
|
26
46
|
class ClassItem
|
27
47
|
include Google::Apis::Core::Hashable
|
@@ -482,8 +502,8 @@ module Google
|
|
482
502
|
# ``` (e.g. `$`my-months``). Speech-to-Text supports three locations: `global`, `
|
483
503
|
# us` (US North America), and `eu` (Europe). If you are calling the `speech.
|
484
504
|
# googleapis.com` endpoint, use the `global` location. To specify a region, use
|
485
|
-
# a [regional endpoint](/speech-to-text/docs/endpoints)
|
486
|
-
# eu` location value.
|
505
|
+
# a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
|
506
|
+
# with matching `us` or `eu` location value.
|
487
507
|
class Phrase
|
488
508
|
include Google::Apis::Core::Hashable
|
489
509
|
|
@@ -493,8 +513,8 @@ module Google
|
|
493
513
|
# false positive recognition as well. Negative boost will simply be ignored.
|
494
514
|
# Though `boost` can accept a wide range of positive values, most use cases are
|
495
515
|
# best served with values between 0 and 20. We recommend using a binary search
|
496
|
-
# approach to finding the optimal value for your use case
|
497
|
-
#
|
516
|
+
# approach to finding the optimal value for your use case as well as adding
|
517
|
+
# phrases both with and without boost to your requests.
|
498
518
|
# Corresponds to the JSON property `boost`
|
499
519
|
# @return [Float]
|
500
520
|
attr_accessor :boost
|
@@ -527,8 +547,8 @@ module Google
|
|
527
547
|
# negative boost will simply be ignored. Though `boost` can accept a wide range
|
528
548
|
# of positive values, most use cases are best served with values between 0 (
|
529
549
|
# exclusive) and 20. We recommend using a binary search approach to finding the
|
530
|
-
# optimal value for your use case
|
531
|
-
#
|
550
|
+
# optimal value for your use case as well as adding phrases both with and
|
551
|
+
# without boost to your requests.
|
532
552
|
# Corresponds to the JSON property `boost`
|
533
553
|
# @return [Float]
|
534
554
|
attr_accessor :boost
|
@@ -1017,6 +1037,13 @@ module Google
|
|
1017
1037
|
class SpeechAdaptation
|
1018
1038
|
include Google::Apis::Core::Hashable
|
1019
1039
|
|
1040
|
+
# Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised
|
1041
|
+
# by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-
|
1042
|
+
# grammar
|
1043
|
+
# Corresponds to the JSON property `abnfGrammar`
|
1044
|
+
# @return [Google::Apis::SpeechV1p1beta1::AbnfGrammar]
|
1045
|
+
attr_accessor :abnf_grammar
|
1046
|
+
|
1020
1047
|
# A collection of custom classes. To specify the classes inline, leave the class'
|
1021
1048
|
# `name` blank and fill in the rest of its fields, giving it a unique `
|
1022
1049
|
# custom_class_id`. Refer to the inline defined class in phrase hints by its `
|
@@ -1043,6 +1070,7 @@ module Google
|
|
1043
1070
|
|
1044
1071
|
# Update properties of this object
|
1045
1072
|
def update!(**args)
|
1073
|
+
@abnf_grammar = args[:abnf_grammar] if args.key?(:abnf_grammar)
|
1046
1074
|
@custom_classes = args[:custom_classes] if args.key?(:custom_classes)
|
1047
1075
|
@phrase_set_references = args[:phrase_set_references] if args.key?(:phrase_set_references)
|
1048
1076
|
@phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpeechV1p1beta1
|
18
18
|
# Version of the google-apis-speech_v1p1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.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 = "20230119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SpeechV1p1beta1
|
24
24
|
|
25
|
+
class AbnfGrammar
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class ClassItem
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -202,6 +208,13 @@ module Google
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
203
209
|
end
|
204
210
|
|
211
|
+
class AbnfGrammar
|
212
|
+
# @private
|
213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
214
|
+
collection :abnf_strings, as: 'abnfStrings'
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
205
218
|
class ClassItem
|
206
219
|
# @private
|
207
220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -440,6 +453,8 @@ module Google
|
|
440
453
|
class SpeechAdaptation
|
441
454
|
# @private
|
442
455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :abnf_grammar, as: 'abnfGrammar', class: Google::Apis::SpeechV1p1beta1::AbnfGrammar, decorator: Google::Apis::SpeechV1p1beta1::AbnfGrammar::Representation
|
457
|
+
|
443
458
|
collection :custom_classes, as: 'customClasses', class: Google::Apis::SpeechV1p1beta1::CustomClass, decorator: Google::Apis::SpeechV1p1beta1::CustomClass::Representation
|
444
459
|
|
445
460
|
collection :phrase_set_references, as: 'phraseSetReferences'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-speech_v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.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:
|
11
|
+
date: 2023-01-29 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-speech_v1p1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.32.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1p1beta1
|
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 Cloud Speech-to-Text API V1p1beta1
|