google-cloud-speech-v1 0.7.2 → 0.7.3

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: f4dc617ef8f2e3cbb8318ac386f238df5b5bf25808dfabfeb07cdbd441694d96
4
- data.tar.gz: '051599f719634071202ee7362e2bf6fd79e201cefb4602f5df966375bf29243c'
3
+ metadata.gz: d9704d715d6ee3240fdd999ec6573703099c998a6bcc9fa24da6245b748c2262
4
+ data.tar.gz: 3b3464522f9039b8defd055f8c542c8a3752c45caeb6b3db056da261a3ab6174
5
5
  SHA512:
6
- metadata.gz: 6d69d7844bdd65019be76c5155c04099dc76f47c715f73d944eeb332e1a3dd3e5e89c198799f2a3893375ef83c57e1feed325307a2e36c9565911c746fdd6beb
7
- data.tar.gz: f78d1af67fbe0a5579ba516605e5e58d2f10c665b36a34599682330a9a2bc5fdb2627fd26a8dd12e8f17a5026339e3925730efb866a76fb857abb7a5964b586b
6
+ metadata.gz: '09cf1cbd69314a5e96e88764d86dac7cab54445d22d10e50e924715b5dbdaa473b3d928e99eb3492940f84c342845322db02f74aeb16aafc299a537d13c0ab98'
7
+ data.tar.gz: 8828db4f693acaac725ce5fc61e56ee2220963b4152450359c66b89392013f89604883754ba4731f5d62ca4ff62825b7249e68c0dbdb1874ce4525a55263f9f5
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1/cloud_speech.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/protobuf/duration_pb'
10
12
  require 'google/protobuf/timestamp_pb'
11
13
  require 'google/protobuf/wrappers_pb'
12
14
  require 'google/rpc/status_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/speech/v1/cloud_speech.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1/resource.proto
3
3
 
4
- require 'google/api/resource_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/resource_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/speech/v1/resource.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.speech.v1.CustomClass" do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V1
24
- VERSION = "0.7.2"
24
+ VERSION = "0.7.3"
25
25
  end
26
26
  end
27
27
  end
@@ -133,7 +133,8 @@ module Google
133
133
  # @return [::Google::Cloud::Speech::V1::RecognitionConfig::AudioEncoding]
134
134
  # Encoding of audio data sent in all `RecognitionAudio` messages.
135
135
  # This field is optional for `FLAC` and `WAV` audio files and required
136
- # for all other audio formats. For details, see {::Google::Cloud::Speech::V1::RecognitionConfig::AudioEncoding AudioEncoding}.
136
+ # for all other audio formats. For details, see
137
+ # {::Google::Cloud::Speech::V1::RecognitionConfig::AudioEncoding AudioEncoding}.
137
138
  # @!attribute [rw] sample_rate_hertz
138
139
  # @return [::Integer]
139
140
  # Sample rate in Hertz of the audio data sent in all
@@ -142,7 +143,8 @@ module Google
142
143
  # source to 16000 Hz. If that's not possible, use the native sample rate of
143
144
  # the audio source (instead of re-sampling).
144
145
  # This field is optional for FLAC and WAV audio files, but is
145
- # required for all other audio formats. For details, see {::Google::Cloud::Speech::V1::RecognitionConfig::AudioEncoding AudioEncoding}.
146
+ # required for all other audio formats. For details, see
147
+ # {::Google::Cloud::Speech::V1::RecognitionConfig::AudioEncoding AudioEncoding}.
146
148
  # @!attribute [rw] audio_channel_count
147
149
  # @return [::Integer]
148
150
  # The number of channels in the input audio data.
@@ -270,6 +272,19 @@ module Google
270
272
  # <td><b>Description</b></td>
271
273
  # </tr>
272
274
  # <tr>
275
+ # <td><code>latest_long</code></td>
276
+ # <td>Best for long form content like media or conversation.</td>
277
+ # </tr>
278
+ # <tr>
279
+ # <td><code>latest_short</code></td>
280
+ # <td>Best for short form content like commands or single shot directed
281
+ # speech.</td>
282
+ # </tr>
283
+ # <tr>
284
+ # <td><code>command_and_search</code></td>
285
+ # <td>Best for short queries such as voice commands or voice search.</td>
286
+ # </tr>
287
+ # <tr>
273
288
  # <td><code>command_and_search</code></td>
274
289
  # <td>Best for short queries such as voice commands or voice search.</td>
275
290
  # </tr>
@@ -328,7 +343,8 @@ module Google
328
343
  # an `AudioEncoding` when you send send `FLAC` or `WAV` audio, the
329
344
  # encoding configuration must match the encoding described in the audio
330
345
  # header; otherwise the request returns an
331
- # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error code.
346
+ # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error
347
+ # code.
332
348
  module AudioEncoding
333
349
  # Not specified.
334
350
  ENCODING_UNSPECIFIED = 0
@@ -567,8 +583,8 @@ module Google
567
583
 
568
584
  # Contains audio data in the encoding specified in the `RecognitionConfig`.
569
585
  # Either `content` or `uri` must be supplied. Supplying both or neither
570
- # returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See
571
- # [content limits](https://cloud.google.com/speech-to-text/quotas#content).
586
+ # returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
587
+ # See [content limits](https://cloud.google.com/speech-to-text/quotas#content).
572
588
  # @!attribute [rw] content
573
589
  # @return [::String]
574
590
  # The audio data bytes encoded as specified in
@@ -581,8 +597,9 @@ module Google
581
597
  # Currently, only Google Cloud Storage URIs are
582
598
  # supported, which must be specified in the following format:
583
599
  # `gs://bucket_name/object_name` (other URI formats return
584
- # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
585
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
600
+ # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
601
+ # For more information, see [Request
602
+ # URIs](https://cloud.google.com/storage/docs/reference-uris).
586
603
  class RecognitionAudio
587
604
  include ::Google::Protobuf::MessageExts
588
605
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -641,8 +658,8 @@ module Google
641
658
  # Time of the most recent processing update.
642
659
  # @!attribute [r] uri
643
660
  # @return [::String]
644
- # Output only. The URI of the audio file being transcribed. Empty if the audio was sent
645
- # as byte content.
661
+ # Output only. The URI of the audio file being transcribed. Empty if the
662
+ # audio was sent as byte content.
646
663
  class LongRunningRecognizeMetadata
647
664
  include ::Google::Protobuf::MessageExts
648
665
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -767,9 +784,9 @@ module Google
767
784
  # For audio_channel_count = N, its output values can range from '1' to 'N'.
768
785
  # @!attribute [r] language_code
769
786
  # @return [::String]
770
- # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag
771
- # of the language in this result. This language code was detected to have
772
- # the most likelihood of being spoken in the audio.
787
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
788
+ # language tag of the language in this result. This language code was
789
+ # detected to have the most likelihood of being spoken in the audio.
773
790
  class StreamingRecognitionResult
774
791
  include ::Google::Protobuf::MessageExts
775
792
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -793,9 +810,9 @@ module Google
793
810
  # beginning of the audio.
794
811
  # @!attribute [r] language_code
795
812
  # @return [::String]
796
- # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag
797
- # of the language in this result. This language code was detected to have
798
- # the most likelihood of being spoken in the audio.
813
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
814
+ # language tag of the language in this result. This language code was
815
+ # detected to have the most likelihood of being spoken in the audio.
799
816
  class SpeechRecognitionResult
800
817
  include ::Google::Protobuf::MessageExts
801
818
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
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.7.2
4
+ version: 0.7.3
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-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common