google-cloud-speech-v1p1beta1 0.12.2 → 0.12.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: 4af3815d9a189a10219dc7a0b84a776ecb008714e0fa5a999039babbe742d125
4
- data.tar.gz: 84a928450ec13268950601ffa4a8654afbae041eee2ec117ada8d1b37b35090d
3
+ metadata.gz: 3d45913fdb6919339690465aa6edbea72d98dcf70bf85f0a4db656a075c79998
4
+ data.tar.gz: 978c17125191f633ad4b3c9ce2e2163638809ff1ad28890fb8242922e25e9c71
5
5
  SHA512:
6
- metadata.gz: f5561141ba3e1228c6197851a20625f6ab2e975e0737e3a716a14d0ac77d6e7fee442e19abae191a20223159668cd65aec72831ab40e300c439873b12f3a462c
7
- data.tar.gz: 377b232c9ca485c282d9392bb798edbb0bebfbb1755237a39d823a706bfc9142b497df7b1edd7d8674109b51fdc369dbdce9bbbef805a46a37adf9dce69326ef
6
+ metadata.gz: 96b385810e6b5fbda88ac94f592e84e5aef1dce0a8b09c23499fb3fa71bce6aee7f802fd311ae6bd9955b043bb2f1d9c67ec809f346670ecd94bdb37f527dad6
7
+ data.tar.gz: 869591d2af46d21310e5fb4af0effaa4ecd0ac7fc665c21aaa504f4bded2e940ff62a9c09cd21366c9af8508868a67bc6a143f342ae29808604292b0a2ba39eb
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1p1beta1/cloud_speech_adaptation.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'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/speech/v1p1beta1/resource_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1p1beta1/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'
@@ -11,7 +13,6 @@ require 'google/protobuf/duration_pb'
11
13
  require 'google/protobuf/timestamp_pb'
12
14
  require 'google/protobuf/wrappers_pb'
13
15
  require 'google/rpc/status_pb'
14
- require 'google/protobuf'
15
16
 
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  add_file("google/cloud/speech/v1p1beta1/cloud_speech.proto", :syntax => :proto3) do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1p1beta1/resource.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/protobuf/timestamp_pb'
6
8
  require 'google/api/annotations_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/speech/v1p1beta1/resource.proto", :syntax => :proto3) do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V1p1beta1
24
- VERSION = "0.12.2"
24
+ VERSION = "0.12.3"
25
25
  end
26
26
  end
27
27
  end
@@ -133,7 +133,8 @@ module Google
133
133
  # @return [::Google::Cloud::Speech::V1p1beta1::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::V1p1beta1::RecognitionConfig::AudioEncoding AudioEncoding}.
136
+ # for all other audio formats. For details, see
137
+ # {::Google::Cloud::Speech::V1p1beta1::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::V1p1beta1::RecognitionConfig::AudioEncoding AudioEncoding}.
146
+ # required for all other audio formats. For details, see
147
+ # {::Google::Cloud::Speech::V1p1beta1::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.
@@ -287,6 +289,15 @@ module Google
287
289
  # <td><b>Description</b></td>
288
290
  # </tr>
289
291
  # <tr>
292
+ # <td><code>latest_long</code></td>
293
+ # <td>Best for long form content like media or conversation.</td>
294
+ # </tr>
295
+ # <tr>
296
+ # <td><code>latest_short</code></td>
297
+ # <td>Best for short form content like commands or single shot directed
298
+ # speech.</td>
299
+ # </tr>
300
+ # <tr>
290
301
  # <td><code>command_and_search</code></td>
291
302
  # <td>Best for short queries such as voice commands or voice search.</td>
292
303
  # </tr>
@@ -345,7 +356,8 @@ module Google
345
356
  # an `AudioEncoding` when you send send `FLAC` or `WAV` audio, the
346
357
  # encoding configuration must match the encoding described in the audio
347
358
  # header; otherwise the request returns an
348
- # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error code.
359
+ # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error
360
+ # code.
349
361
  module AudioEncoding
350
362
  # Not specified.
351
363
  ENCODING_UNSPECIFIED = 0
@@ -594,8 +606,8 @@ module Google
594
606
 
595
607
  # Contains audio data in the encoding specified in the `RecognitionConfig`.
596
608
  # Either `content` or `uri` must be supplied. Supplying both or neither
597
- # returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See
598
- # [content limits](https://cloud.google.com/speech-to-text/quotas#content).
609
+ # returns [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
610
+ # See [content limits](https://cloud.google.com/speech-to-text/quotas#content).
599
611
  # @!attribute [rw] content
600
612
  # @return [::String]
601
613
  # The audio data bytes encoded as specified in
@@ -608,8 +620,9 @@ module Google
608
620
  # Currently, only Google Cloud Storage URIs are
609
621
  # supported, which must be specified in the following format:
610
622
  # `gs://bucket_name/object_name` (other URI formats return
611
- # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
612
- # [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
623
+ # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
624
+ # For more information, see [Request
625
+ # URIs](https://cloud.google.com/storage/docs/reference-uris).
613
626
  class RecognitionAudio
614
627
  include ::Google::Protobuf::MessageExts
615
628
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -668,11 +681,12 @@ module Google
668
681
  # Time of the most recent processing update.
669
682
  # @!attribute [r] uri
670
683
  # @return [::String]
671
- # Output only. The URI of the audio file being transcribed. Empty if the audio was sent
672
- # as byte content.
684
+ # Output only. The URI of the audio file being transcribed. Empty if the
685
+ # audio was sent as byte content.
673
686
  # @!attribute [r] output_config
674
687
  # @return [::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig]
675
- # Output only. A copy of the TranscriptOutputConfig if it was set in the request.
688
+ # Output only. A copy of the TranscriptOutputConfig if it was set in the
689
+ # request.
676
690
  class LongRunningRecognizeMetadata
677
691
  include ::Google::Protobuf::MessageExts
678
692
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -797,9 +811,9 @@ module Google
797
811
  # For audio_channel_count = N, its output values can range from '1' to 'N'.
798
812
  # @!attribute [r] language_code
799
813
  # @return [::String]
800
- # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag
801
- # of the language in this result. This language code was detected to have
802
- # the most likelihood of being spoken in the audio.
814
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
815
+ # language tag of the language in this result. This language code was
816
+ # detected to have the most likelihood of being spoken in the audio.
803
817
  class StreamingRecognitionResult
804
818
  include ::Google::Protobuf::MessageExts
805
819
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -823,9 +837,9 @@ module Google
823
837
  # beginning of the audio.
824
838
  # @!attribute [r] language_code
825
839
  # @return [::String]
826
- # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag
827
- # of the language in this result. This language code was detected to have
828
- # the most likelihood of being spoken in the audio.
840
+ # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
841
+ # language tag of the language in this result. This language code was
842
+ # detected to have the most likelihood of being spoken in the audio.
829
843
  class SpeechRecognitionResult
830
844
  include ::Google::Protobuf::MessageExts
831
845
  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-v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.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-20 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