google-cloud-speech-v1p1beta1 0.7.0 → 0.8.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: feb16b9bf7e93603c66e289512f98d1e66d0b4f7b8b79e2051390e8fb82b5c85
4
- data.tar.gz: acd1bac99c3c417d811d736cde3245a791eb7557e2e6818d28c627b0ccee8f09
3
+ metadata.gz: 5b5684b2595a5ec55d585c6fe3f8af1e9c218b4532f7b72dedb0dde0c27d87d3
4
+ data.tar.gz: 539070e6a8ba80d5c81faff1eb9808cd088315c24d447af3bf2a8ad06b694868
5
5
  SHA512:
6
- metadata.gz: b23c470c547c72780fab5b1b0f9de701bf1ade2641ec64a7b42a64b4e3eab1512d227eeb0f04e9e32682415b80270fd10d1147d8c49ce9bd8631d33482c27b29
7
- data.tar.gz: 46c36f7613e8f5f0f7e46aa9b8b6bea1942f28985205b2a8ec0241ace2dd173c2fe335b2cf8aedcd82af1d5840f6d13c8eb80646202d40f1a081543ddf4058fd
6
+ metadata.gz: 473dd7f0240fbcddeb798456811fc2d721ca124ade468555ab200fda62c44e9e5dd24f201d738c6d85e53e6094b5ae4fc0671756fb80ddc4ab11502c8d13eb4e
7
+ data.tar.gz: f873762cf74282a472cc63f5060a7ef56501c2ea25a052be36f7fee39a35c20620b5c792ad896115cc1ccca3688f680e1d18fd7fbdbd35a0f302d75f8bb7e547
@@ -11,6 +11,7 @@ require 'google/longrunning/operations_pb'
11
11
  require 'google/protobuf/any_pb'
12
12
  require 'google/protobuf/duration_pb'
13
13
  require 'google/protobuf/timestamp_pb'
14
+ require 'google/protobuf/wrappers_pb'
14
15
  require 'google/rpc/status_pb'
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/speech/v1p1beta1/cloud_speech.proto", :syntax => :proto3) do
@@ -53,6 +54,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
54
  optional :enable_word_time_offsets, :bool, 8
54
55
  optional :enable_word_confidence, :bool, 15
55
56
  optional :enable_automatic_punctuation, :bool, 11
57
+ optional :enable_spoken_punctuation, :message, 22, "google.protobuf.BoolValue"
58
+ optional :enable_spoken_emojis, :message, 23, "google.protobuf.BoolValue"
56
59
  optional :enable_speaker_diarization, :bool, 16
57
60
  optional :diarization_speaker_count, :int32, 17
58
61
  optional :diarization_config, :message, 19, "google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig"
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V1p1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -203,7 +203,7 @@ module Google
203
203
  # Speech adaptation configuration improves the accuracy of speech
204
204
  # recognition. When speech adaptation is set it supersedes the
205
205
  # `speech_contexts` field. For more information, see the [speech
206
- # adaptation](https://cloud.google.com/speech-to-text/docs/context-strength)
206
+ # adaptation](https://cloud.google.com/speech-to-text/docs/adaptation)
207
207
  # documentation.
208
208
  # @!attribute [rw] speech_contexts
209
209
  # @return [::Array<::Google::Cloud::Speech::V1p1beta1::SpeechContext>]
@@ -211,7 +211,7 @@ module Google
211
211
  # A means to provide context to assist the speech recognition. For more
212
212
  # information, see
213
213
  # [speech
214
- # adaptation](https://cloud.google.com/speech-to-text/docs/context-strength).
214
+ # adaptation](https://cloud.google.com/speech-to-text/docs/adaptation).
215
215
  # @!attribute [rw] enable_word_time_offsets
216
216
  # @return [::Boolean]
217
217
  # If `true`, the top result includes a list of words and
@@ -229,6 +229,22 @@ module Google
229
229
  # This feature is only available in select languages. Setting this for
230
230
  # requests in other languages has no effect at all.
231
231
  # The default 'false' value does not add punctuation to result hypotheses.
232
+ # @!attribute [rw] enable_spoken_punctuation
233
+ # @return [::Google::Protobuf::BoolValue]
234
+ # The spoken punctuation behavior for the call
235
+ # If not set, uses default behavior based on model of choice
236
+ # e.g. command_and_search will enable spoken punctuation by default
237
+ # If 'true', replaces spoken punctuation with the corresponding symbols in
238
+ # the request. For example, "how are you question mark" becomes "how are
239
+ # you?". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation
240
+ # for support. If 'false', spoken punctuation is not replaced.
241
+ # @!attribute [rw] enable_spoken_emojis
242
+ # @return [::Google::Protobuf::BoolValue]
243
+ # The spoken emoji behavior for the call
244
+ # If not set, uses default behavior based on model of choice
245
+ # If 'true', adds spoken emoji formatting for the request. This will replace
246
+ # spoken emojis with the corresponding Unicode symbols in the final
247
+ # transcript. If 'false', spoken emojis are not replaced.
232
248
  # @!attribute [rw] enable_speaker_diarization
233
249
  # @return [::Boolean]
234
250
  # If 'true', enables speaker detection for each recognized word in
@@ -650,8 +666,8 @@ module Google
650
666
  # audio, and `single_utterance` is set to false, then no messages are streamed
651
667
  # back to the client.
652
668
  #
653
- # Here's an example of a series of ten `StreamingRecognizeResponse`s that might
654
- # be returned while processing audio:
669
+ # Here's an example of a series of `StreamingRecognizeResponse`s that might be
670
+ # returned while processing audio:
655
671
  #
656
672
  # 1. results { alternatives { transcript: "tube" } stability: 0.01 }
657
673
  #
@@ -0,0 +1,121 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # Wrapper message for `double`.
23
+ #
24
+ # The JSON representation for `DoubleValue` is JSON number.
25
+ # @!attribute [rw] value
26
+ # @return [::Float]
27
+ # The double value.
28
+ class DoubleValue
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Wrapper message for `float`.
34
+ #
35
+ # The JSON representation for `FloatValue` is JSON number.
36
+ # @!attribute [rw] value
37
+ # @return [::Float]
38
+ # The float value.
39
+ class FloatValue
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+
44
+ # Wrapper message for `int64`.
45
+ #
46
+ # The JSON representation for `Int64Value` is JSON string.
47
+ # @!attribute [rw] value
48
+ # @return [::Integer]
49
+ # The int64 value.
50
+ class Int64Value
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Wrapper message for `uint64`.
56
+ #
57
+ # The JSON representation for `UInt64Value` is JSON string.
58
+ # @!attribute [rw] value
59
+ # @return [::Integer]
60
+ # The uint64 value.
61
+ class UInt64Value
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # Wrapper message for `int32`.
67
+ #
68
+ # The JSON representation for `Int32Value` is JSON number.
69
+ # @!attribute [rw] value
70
+ # @return [::Integer]
71
+ # The int32 value.
72
+ class Int32Value
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Wrapper message for `uint32`.
78
+ #
79
+ # The JSON representation for `UInt32Value` is JSON number.
80
+ # @!attribute [rw] value
81
+ # @return [::Integer]
82
+ # The uint32 value.
83
+ class UInt32Value
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # Wrapper message for `bool`.
89
+ #
90
+ # The JSON representation for `BoolValue` is JSON `true` and `false`.
91
+ # @!attribute [rw] value
92
+ # @return [::Boolean]
93
+ # The bool value.
94
+ class BoolValue
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # Wrapper message for `string`.
100
+ #
101
+ # The JSON representation for `StringValue` is JSON string.
102
+ # @!attribute [rw] value
103
+ # @return [::String]
104
+ # The string value.
105
+ class StringValue
106
+ include ::Google::Protobuf::MessageExts
107
+ extend ::Google::Protobuf::MessageExts::ClassMethods
108
+ end
109
+
110
+ # Wrapper message for `bytes`.
111
+ #
112
+ # The JSON representation for `BytesValue` is JSON string.
113
+ # @!attribute [rw] value
114
+ # @return [::String]
115
+ # The bytes value.
116
+ class BytesValue
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+ end
121
+ end
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.7.0
4
+ version: 0.8.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: 2021-03-25 00:00:00.000000000 Z
11
+ date: 2021-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -196,6 +196,7 @@ files:
196
196
  - proto_docs/google/protobuf/empty.rb
197
197
  - proto_docs/google/protobuf/field_mask.rb
198
198
  - proto_docs/google/protobuf/timestamp.rb
199
+ - proto_docs/google/protobuf/wrappers.rb
199
200
  - proto_docs/google/rpc/status.rb
200
201
  homepage: https://github.com/googleapis/google-cloud-ruby
201
202
  licenses: