google-cloud-speech-v1p1beta1 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v1p1beta1/adaptation.rb +1 -1
- data/lib/google/cloud/speech/v1p1beta1/resource_pb.rb +5 -0
- data/lib/google/cloud/speech/v1p1beta1/speech.rb +1 -1
- data/lib/google/cloud/speech/v1p1beta1/version.rb +1 -1
- data/lib/google/cloud/speech/v1p1beta1.rb +2 -2
- data/proto_docs/google/cloud/speech/v1p1beta1/resource.rb +14 -0
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a23ee1355657fda53f563946503b95516d2e1830b67379cee19e45ef2f18d60
|
4
|
+
data.tar.gz: 8ad3c329e472e76a2e1ef4e2a87ebfae1bf3f9abbe0d542a1ea4428e616cd6c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d20fbc96af09267f399e357fb79abf6e28f91683fa3e0ab0b7e0b8adcc511991b5a984c3891d8edff53d10c46360c5b60d6b06e570dfdcef1e3cca0ef35b4ba
|
7
|
+
data.tar.gz: 7e2eef89cc2545595b3f620a3f892f4d6117cf765877228f1b879c2fa679bbd76264a104067fe53e762602a57aab8903eec6901d0cec0870d5d485c1eece9d2f
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
##
|
34
34
|
# Service that implements Google Cloud Speech Adaptation API.
|
35
35
|
#
|
36
|
-
#
|
36
|
+
# @example Load this service and instantiate a gRPC client
|
37
37
|
#
|
38
38
|
# require "google/cloud/speech/v1p1beta1/adaptation"
|
39
39
|
# client = ::Google::Cloud::Speech::V1p1beta1::Adaptation::Client.new
|
@@ -28,6 +28,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
28
28
|
repeated :phrase_sets, :message, 1, "google.cloud.speech.v1p1beta1.PhraseSet"
|
29
29
|
repeated :phrase_set_references, :string, 2
|
30
30
|
repeated :custom_classes, :message, 3, "google.cloud.speech.v1p1beta1.CustomClass"
|
31
|
+
optional :abnf_grammar, :message, 4, "google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar"
|
32
|
+
end
|
33
|
+
add_message "google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar" do
|
34
|
+
repeated :abnf_strings, :string, 1
|
31
35
|
end
|
32
36
|
add_message "google.cloud.speech.v1p1beta1.TranscriptNormalization" do
|
33
37
|
repeated :entries, :message, 1, "google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry"
|
@@ -49,6 +53,7 @@ module Google
|
|
49
53
|
PhraseSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1p1beta1.PhraseSet").msgclass
|
50
54
|
PhraseSet::Phrase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1p1beta1.PhraseSet.Phrase").msgclass
|
51
55
|
SpeechAdaptation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1p1beta1.SpeechAdaptation").msgclass
|
56
|
+
SpeechAdaptation::ABNFGrammar = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1p1beta1.SpeechAdaptation.ABNFGrammar").msgclass
|
52
57
|
TranscriptNormalization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1p1beta1.TranscriptNormalization").msgclass
|
53
58
|
TranscriptNormalization::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry").msgclass
|
54
59
|
end
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
##
|
35
35
|
# Service that implements Google Cloud Speech API.
|
36
36
|
#
|
37
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
38
|
#
|
39
39
|
# require "google/cloud/speech/v1p1beta1/speech"
|
40
40
|
# client = ::Google::Cloud::Speech::V1p1beta1::Speech::Client.new
|
@@ -24,9 +24,9 @@ module Google
|
|
24
24
|
module Cloud
|
25
25
|
module Speech
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/speech/v1p1beta1"
|
32
32
|
# client = ::Google::Cloud::Speech::V1p1beta1::Speech::Client.new
|
@@ -131,9 +131,23 @@ module Google
|
|
131
131
|
# class' `name` blank and fill in the rest of its fields, giving it a unique
|
132
132
|
# `custom_class_id`. Refer to the inline defined class in phrase hints by its
|
133
133
|
# `custom_class_id`.
|
134
|
+
# @!attribute [rw] abnf_grammar
|
135
|
+
# @return [::Google::Cloud::Speech::V1p1beta1::SpeechAdaptation::ABNFGrammar]
|
136
|
+
# Augmented Backus-Naur form (ABNF) is a standardized grammar notation
|
137
|
+
# comprised by a set of derivation rules.
|
138
|
+
# See specifications: https://www.w3.org/TR/speech-grammar
|
134
139
|
class SpeechAdaptation
|
135
140
|
include ::Google::Protobuf::MessageExts
|
136
141
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
142
|
+
|
143
|
+
# @!attribute [rw] abnf_strings
|
144
|
+
# @return [::Array<::String>]
|
145
|
+
# All declarations and rules of an ABNF grammar broken up into multiple
|
146
|
+
# strings that will end up concatenated.
|
147
|
+
class ABNFGrammar
|
148
|
+
include ::Google::Protobuf::MessageExts
|
149
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
150
|
+
end
|
137
151
|
end
|
138
152
|
|
139
153
|
# Transcription normalization configuration. Use transcription normalization
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-speech-v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.16.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:
|
29
|
+
version: 0.16.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|