google-cloud-speech-v1 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v1/cloud_speech_pb.rb +5 -0
- data/lib/google/cloud/speech/v1/cloud_speech_services_pb.rb +1 -2
- data/lib/google/cloud/speech/v1/speech/client.rb +38 -39
- data/lib/google/cloud/speech/v1/speech/operations.rb +30 -21
- data/lib/google/cloud/speech/v1/version.rb +1 -1
- data/proto_docs/google/cloud/speech/v1/cloud_speech.rb +31 -10
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32fb963c0e02669938526abd3241241465046de0f5cb320644874e55479b34a5
|
4
|
+
data.tar.gz: 707e29cffcbcf6560a5ad8774fad318be9278364c1bc9bc4f892900294885d3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae89b74fd8ea88efdc44bdbea1005ba934ce8b8454cda66444e3ac7b23e7420b544de55e937ef9e62495c3eeb9fbb9233886452e9ba9296022b1bcbf048189e
|
7
|
+
data.tar.gz: 82cca01db0ee32d9d6b952cc12b622ad54152c6f36eae94436a9eb5b97881cab75db5015d0ed1e2b9ec112e8c878cfa1bea70b0f719f59d938102cd75cab9d12
|
@@ -10,6 +10,7 @@ require 'google/longrunning/operations_pb'
|
|
10
10
|
require 'google/protobuf/any_pb'
|
11
11
|
require 'google/protobuf/duration_pb'
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
|
+
require 'google/protobuf/wrappers_pb'
|
13
14
|
require 'google/rpc/status_pb'
|
14
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
16
|
add_file("google/cloud/speech/v1/cloud_speech.proto", :syntax => :proto3) do
|
@@ -116,19 +117,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
116
117
|
end
|
117
118
|
add_message "google.cloud.speech.v1.RecognizeResponse" do
|
118
119
|
repeated :results, :message, 2, "google.cloud.speech.v1.SpeechRecognitionResult"
|
120
|
+
optional :total_billed_time, :message, 3, "google.protobuf.Duration"
|
119
121
|
end
|
120
122
|
add_message "google.cloud.speech.v1.LongRunningRecognizeResponse" do
|
121
123
|
repeated :results, :message, 2, "google.cloud.speech.v1.SpeechRecognitionResult"
|
124
|
+
optional :total_billed_time, :message, 3, "google.protobuf.Duration"
|
122
125
|
end
|
123
126
|
add_message "google.cloud.speech.v1.LongRunningRecognizeMetadata" do
|
124
127
|
optional :progress_percent, :int32, 1
|
125
128
|
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
126
129
|
optional :last_update_time, :message, 3, "google.protobuf.Timestamp"
|
130
|
+
optional :uri, :string, 4
|
127
131
|
end
|
128
132
|
add_message "google.cloud.speech.v1.StreamingRecognizeResponse" do
|
129
133
|
optional :error, :message, 1, "google.rpc.Status"
|
130
134
|
repeated :results, :message, 2, "google.cloud.speech.v1.StreamingRecognitionResult"
|
131
135
|
optional :speech_event_type, :enum, 4, "google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType"
|
136
|
+
optional :total_billed_time, :message, 5, "google.protobuf.Duration"
|
132
137
|
end
|
133
138
|
add_enum "google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType" do
|
134
139
|
value :SPEECH_EVENT_UNSPECIFIED, 0
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/cloud/speech/v1/cloud_speech.proto for package 'google.cloud.speech.v1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2021 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
-
#
|
19
18
|
|
20
19
|
require 'grpc'
|
21
20
|
require 'google/cloud/speech/v1/cloud_speech_pb'
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::Speech::V1::Speech::Client::Configuration}
|
40
40
|
# for a description of the configuration fields.
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# @example
|
43
43
|
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
# end
|
44
|
+
# # Modify the configuration for all Speech clients
|
45
|
+
# ::Google::Cloud::Speech::V1::Speech::Client.configure do |config|
|
46
|
+
# config.timeout = 10.0
|
47
|
+
# end
|
49
48
|
#
|
50
49
|
# @yield [config] Configure the Client client.
|
51
50
|
# @yieldparam config [Client::Configuration]
|
@@ -104,19 +103,15 @@ module Google
|
|
104
103
|
##
|
105
104
|
# Create a new Speech client object.
|
106
105
|
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
# To create a new Speech client with the default
|
110
|
-
# configuration:
|
111
|
-
#
|
112
|
-
# client = ::Google::Cloud::Speech::V1::Speech::Client.new
|
106
|
+
# @example
|
113
107
|
#
|
114
|
-
#
|
115
|
-
#
|
108
|
+
# # Create a client using the default configuration
|
109
|
+
# client = ::Google::Cloud::Speech::V1::Speech::Client.new
|
116
110
|
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
111
|
+
# # Create a client using a custom configuration
|
112
|
+
# client = ::Google::Cloud::Speech::V1::Speech::Client.new do |config|
|
113
|
+
# config.timeout = 10.0
|
114
|
+
# end
|
120
115
|
#
|
121
116
|
# @yield [config] Configure the Speech client.
|
122
117
|
# @yieldparam config [Client::Configuration]
|
@@ -136,10 +131,9 @@ module Google
|
|
136
131
|
|
137
132
|
# Create credentials
|
138
133
|
credentials = @config.credentials
|
139
|
-
# Use self-signed JWT if the
|
134
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
140
135
|
# but only if the default endpoint does not have a region prefix.
|
141
|
-
enable_self_signed_jwt = @config.
|
142
|
-
@config.endpoint == Client.configure.endpoint &&
|
136
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
143
137
|
!@config.endpoint.split(".").first.include?("-")
|
144
138
|
credentials ||= Credentials.default scope: @config.scope,
|
145
139
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -225,7 +219,9 @@ module Google
|
|
225
219
|
options.apply_defaults timeout: @config.rpcs.recognize.timeout,
|
226
220
|
metadata: metadata,
|
227
221
|
retry_policy: @config.rpcs.recognize.retry_policy
|
228
|
-
|
222
|
+
|
223
|
+
options.apply_defaults timeout: @config.timeout,
|
224
|
+
metadata: @config.metadata,
|
229
225
|
retry_policy: @config.retry_policy
|
230
226
|
|
231
227
|
@speech_stub.call_rpc :recognize, request, options: options do |response, operation|
|
@@ -293,7 +289,9 @@ module Google
|
|
293
289
|
options.apply_defaults timeout: @config.rpcs.long_running_recognize.timeout,
|
294
290
|
metadata: metadata,
|
295
291
|
retry_policy: @config.rpcs.long_running_recognize.retry_policy
|
296
|
-
|
292
|
+
|
293
|
+
options.apply_defaults timeout: @config.timeout,
|
294
|
+
metadata: @config.metadata,
|
297
295
|
retry_policy: @config.retry_policy
|
298
296
|
|
299
297
|
@speech_stub.call_rpc :long_running_recognize, request, options: options do |response, operation|
|
@@ -347,7 +345,9 @@ module Google
|
|
347
345
|
options.apply_defaults timeout: @config.rpcs.streaming_recognize.timeout,
|
348
346
|
metadata: metadata,
|
349
347
|
retry_policy: @config.rpcs.streaming_recognize.retry_policy
|
350
|
-
|
348
|
+
|
349
|
+
options.apply_defaults timeout: @config.timeout,
|
350
|
+
metadata: @config.metadata,
|
351
351
|
retry_policy: @config.retry_policy
|
352
352
|
|
353
353
|
@speech_stub.call_rpc :streaming_recognize, request, options: options do |response, operation|
|
@@ -371,22 +371,21 @@ module Google
|
|
371
371
|
# Configuration can be applied globally to all clients, or to a single client
|
372
372
|
# on construction.
|
373
373
|
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
# to 20 seconds,
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
# end
|
374
|
+
# @example
|
375
|
+
#
|
376
|
+
# # Modify the global config, setting the timeout for
|
377
|
+
# # recognize to 20 seconds,
|
378
|
+
# # and all remaining timeouts to 10 seconds.
|
379
|
+
# ::Google::Cloud::Speech::V1::Speech::Client.configure do |config|
|
380
|
+
# config.timeout = 10.0
|
381
|
+
# config.rpcs.recognize.timeout = 20.0
|
382
|
+
# end
|
383
|
+
#
|
384
|
+
# # Apply the above configuration only to a new client.
|
385
|
+
# client = ::Google::Cloud::Speech::V1::Speech::Client.new do |config|
|
386
|
+
# config.timeout = 10.0
|
387
|
+
# config.rpcs.recognize.timeout = 20.0
|
388
|
+
# end
|
390
389
|
#
|
391
390
|
# @!attribute [rw] endpoint
|
392
391
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# The hostname or hostname:port of the service endpoint.
|
@@ -92,6 +92,16 @@ module Google
|
|
92
92
|
# `END_OF_SINGLE_UTTERANCE` event and cease recognition. It will return no
|
93
93
|
# more than one `StreamingRecognitionResult` with the `is_final` flag set to
|
94
94
|
# `true`.
|
95
|
+
#
|
96
|
+
# The `single_utterance` field can only be used with specified models,
|
97
|
+
# otherwise an error is thrown. The `model` field in [`RecognitionConfig`][]
|
98
|
+
# must be set to:
|
99
|
+
#
|
100
|
+
# * `command_and_search`
|
101
|
+
# * `phone_call` AND additional field `useEnhanced`=`true`
|
102
|
+
# * The `model` field is left undefined. In this case the API auto-selects
|
103
|
+
# a model based on any other parameters that you set in
|
104
|
+
# `RecognitionConfig`.
|
95
105
|
# @!attribute [rw] interim_results
|
96
106
|
# @return [::Boolean]
|
97
107
|
# If `true`, interim results (tentative hypotheses) may be
|
@@ -166,7 +176,7 @@ module Google
|
|
166
176
|
# A means to provide context to assist the speech recognition. For more
|
167
177
|
# information, see
|
168
178
|
# [speech
|
169
|
-
# adaptation](https://cloud.google.com/speech-to-text/docs/
|
179
|
+
# adaptation](https://cloud.google.com/speech-to-text/docs/adaptation).
|
170
180
|
# @!attribute [rw] enable_word_time_offsets
|
171
181
|
# @return [::Boolean]
|
172
182
|
# If `true`, the top result includes a list of words and
|
@@ -179,9 +189,6 @@ module Google
|
|
179
189
|
# This feature is only available in select languages. Setting this for
|
180
190
|
# requests in other languages has no effect at all.
|
181
191
|
# The default 'false' value does not add punctuation to result hypotheses.
|
182
|
-
# Note: This is currently offered as an experimental service, complimentary
|
183
|
-
# to all users. In the future this may be exclusively available as a
|
184
|
-
# premium feature.
|
185
192
|
# @!attribute [rw] diarization_config
|
186
193
|
# @return [::Google::Cloud::Speech::V1::SpeakerDiarizationConfig]
|
187
194
|
# Config to enable speaker diarization and set additional
|
@@ -217,7 +224,7 @@ module Google
|
|
217
224
|
# </tr>
|
218
225
|
# <tr>
|
219
226
|
# <td><code>video</code></td>
|
220
|
-
# <td>Best for audio that originated from
|
227
|
+
# <td>Best for audio that originated from video or includes multiple
|
221
228
|
# speakers. Ideally the audio is recorded at a 16khz or greater
|
222
229
|
# sampling rate. This is a premium model that costs more than the
|
223
230
|
# standard rate.</td>
|
@@ -253,7 +260,7 @@ module Google
|
|
253
260
|
# a lossless encoding (`FLAC` or `LINEAR16`). The accuracy of the speech
|
254
261
|
# recognition can be reduced if lossy codecs are used to capture or transmit
|
255
262
|
# audio, particularly if background noise is present. Lossy codecs include
|
256
|
-
# `MULAW`, `AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`,
|
263
|
+
# `MULAW`, `AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`, `MP3`.
|
257
264
|
#
|
258
265
|
# The `FLAC` and `WAV` audio file formats include a header that describes the
|
259
266
|
# included audio content. You can request recognition for `WAV` files that
|
@@ -329,7 +336,7 @@ module Google
|
|
329
336
|
# number of speakers. If not set, the default value is 6.
|
330
337
|
# @!attribute [r] speaker_tag
|
331
338
|
# @return [::Integer]
|
332
|
-
# Unused.
|
339
|
+
# Output only. Unused.
|
333
340
|
class SpeakerDiarizationConfig
|
334
341
|
include ::Google::Protobuf::MessageExts
|
335
342
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -516,6 +523,9 @@ module Google
|
|
516
523
|
# @return [::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>]
|
517
524
|
# Sequential list of transcription results corresponding to
|
518
525
|
# sequential portions of audio.
|
526
|
+
# @!attribute [rw] total_billed_time
|
527
|
+
# @return [::Google::Protobuf::Duration]
|
528
|
+
# When available, billed audio seconds for the corresponding request.
|
519
529
|
class RecognizeResponse
|
520
530
|
include ::Google::Protobuf::MessageExts
|
521
531
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -530,6 +540,9 @@ module Google
|
|
530
540
|
# @return [::Array<::Google::Cloud::Speech::V1::SpeechRecognitionResult>]
|
531
541
|
# Sequential list of transcription results corresponding to
|
532
542
|
# sequential portions of audio.
|
543
|
+
# @!attribute [rw] total_billed_time
|
544
|
+
# @return [::Google::Protobuf::Duration]
|
545
|
+
# When available, billed audio seconds for the corresponding request.
|
533
546
|
class LongRunningRecognizeResponse
|
534
547
|
include ::Google::Protobuf::MessageExts
|
535
548
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -548,6 +561,10 @@ module Google
|
|
548
561
|
# @!attribute [rw] last_update_time
|
549
562
|
# @return [::Google::Protobuf::Timestamp]
|
550
563
|
# Time of the most recent processing update.
|
564
|
+
# @!attribute [r] uri
|
565
|
+
# @return [::String]
|
566
|
+
# Output only. The URI of the audio file being transcribed. Empty if the audio was sent
|
567
|
+
# as byte content.
|
551
568
|
class LongRunningRecognizeMetadata
|
552
569
|
include ::Google::Protobuf::MessageExts
|
553
570
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -559,8 +576,8 @@ module Google
|
|
559
576
|
# audio, and `single_utterance` is set to false, then no messages are streamed
|
560
577
|
# back to the client.
|
561
578
|
#
|
562
|
-
# Here's an example of a series of
|
563
|
-
#
|
579
|
+
# Here's an example of a series of `StreamingRecognizeResponse`s that might be
|
580
|
+
# returned while processing audio:
|
564
581
|
#
|
565
582
|
# 1. results { alternatives { transcript: "tube" } stability: 0.01 }
|
566
583
|
#
|
@@ -615,6 +632,10 @@ module Google
|
|
615
632
|
# @!attribute [rw] speech_event_type
|
616
633
|
# @return [::Google::Cloud::Speech::V1::StreamingRecognizeResponse::SpeechEventType]
|
617
634
|
# Indicates the type of speech event.
|
635
|
+
# @!attribute [rw] total_billed_time
|
636
|
+
# @return [::Google::Protobuf::Duration]
|
637
|
+
# When available, billed audio seconds for the stream.
|
638
|
+
# Set only if this is the last response in the stream.
|
618
639
|
class StreamingRecognizeResponse
|
619
640
|
include ::Google::Protobuf::MessageExts
|
620
641
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -738,7 +759,7 @@ module Google
|
|
738
759
|
# The word corresponding to this set of information.
|
739
760
|
# @!attribute [r] speaker_tag
|
740
761
|
# @return [::Integer]
|
741
|
-
# A distinct integer value is assigned for every speaker within
|
762
|
+
# Output only. A distinct integer value is assigned for every speaker within
|
742
763
|
# the audio. This field specifies which one of those speakers was detected to
|
743
764
|
# have spoken this word. Value ranges from '1' to diarization_speaker_count.
|
744
765
|
# speaker_tag is set if enable_speaker_diarization = 'true' and only in the
|
@@ -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-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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-
|
11
|
+
date: 2021-08-11 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.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -191,6 +191,7 @@ files:
|
|
191
191
|
- proto_docs/google/protobuf/duration.rb
|
192
192
|
- proto_docs/google/protobuf/empty.rb
|
193
193
|
- proto_docs/google/protobuf/timestamp.rb
|
194
|
+
- proto_docs/google/protobuf/wrappers.rb
|
194
195
|
- proto_docs/google/rpc/status.rb
|
195
196
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
196
197
|
licenses:
|