google-cloud-speech-v1p1beta1 0.14.0 → 0.15.1

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: 6b137d9bba6a37b5363b035b1f471b65516661b941fd8f8d94680ab72fd610d6
4
- data.tar.gz: 026f655bbff8647bb6c8579b83fe26c8b345516fb829ac81acfcf29b14c2f9eb
3
+ metadata.gz: 56a75804232a2e74b9e6f63a6ca00288fed68614a7d8364a96bcdd7291951fc3
4
+ data.tar.gz: 54db45d4625a6167a281f515616b1dc0399658c29e879c0f57289a3709ea52fa
5
5
  SHA512:
6
- metadata.gz: e00a3496b2a339d40338dba333ede19435d0d71818864ef03109e3dc7694a8b85c80ab4c76ca6e436ed4affb99dd0da244e7c5ccd75e69d8be30dc537032c8f5
7
- data.tar.gz: 6113d125a32b5507de0148bb60e3481ae0cee7b7a78d9360fd3e4c1b8672d58894626cf71297a100cb60fff4b58f1006b9953c166cba02ec068f2db43ce1b2e2
6
+ metadata.gz: 20bd982a7fe929340ba87d0112203f2f207166abae630cb7f18f7a0709ebde8196ee0c60bb1d955c5ae0506e6f8f3746235ee6b6c4b6e87b7fa2f21329fa2633
7
+ data.tar.gz: e35ce87d402a212711ea829c5bda39dd15ffc1158c83b283faca5ae8472113e2438ade4e6623a4722bc94fc5dfe253cbe09795bba2096eff401d9da3ebb9aa7b
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Service that implements Google Cloud Speech Adaptation API.
35
35
  #
36
- # To load this service and instantiate a client:
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
- # To load this service and instantiate a client:
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V1p1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.1"
25
25
  end
26
26
  end
27
27
  end
@@ -24,9 +24,9 @@ module Google
24
24
  module Cloud
25
25
  module Speech
26
26
  ##
27
- # To load this package, including all its services, and instantiate a client:
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
@@ -65,8 +65,8 @@ module Google
65
65
  # enabled, so negative boost will simply be ignored. Though `boost` can
66
66
  # accept a wide range of positive values, most use cases are best served with
67
67
  # values between 0 (exclusive) and 20. We recommend using a binary search
68
- # approach to finding the optimal value for your use case. Speech recognition
69
- # will skip PhraseSets with a boost value of 0.
68
+ # approach to finding the optimal value for your use case as well as adding
69
+ # phrases both with and without boost to your requests.
70
70
  class PhraseSet
71
71
  include ::Google::Protobuf::MessageExts
72
72
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -108,8 +108,8 @@ module Google
108
108
  # boost will simply be ignored. Though `boost` can accept a wide range of
109
109
  # positive values, most use cases are best served
110
110
  # with values between 0 and 20. We recommend using a binary search approach
111
- # to finding the optimal value for your use case. Speech recognition
112
- # will skip PhraseSets with a boost value of 0.
111
+ # to finding the optimal value for your use case as well as adding
112
+ # phrases both with and without boost to your requests.
113
113
  class Phrase
114
114
  include ::Google::Protobuf::MessageExts
115
115
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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 [google.rpc.Code][google.rpc.Code].
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 by the client.
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.14.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-01-27 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: '0.12'
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: '0.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubygems_version: 3.3.14
228
+ rubygems_version: 3.4.2
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: API Client library for the Cloud Speech-to-Text V1p1beta1 API