google-apis-speech_v1p1beta1 0.5.0 → 0.10.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: 684d2271958ccb856ebb8e8d1d1736ee845bb10ceb231374959db2609444ed26
4
- data.tar.gz: a02d8da6846aa1d2ed8037963bc655f623d429379264d8d6578756098d8489e7
3
+ metadata.gz: 4e0539c307cc5cc325612bc81e6f8cfd40a4ded175233fbfa93271e0889eb782
4
+ data.tar.gz: ae0ac1b53aa27808faa1d5be6e7a1644841ee4477d473ba86ab7299b5d90bc70
5
5
  SHA512:
6
- metadata.gz: 752b8f081b9904a773f1a1d140601d99ccf41219190afa312093950b8be409d4ce0247572862e2dc6ceacf675f31959ea153ddb4b11213960865699b07154d30
7
- data.tar.gz: 404795b0590fdb51ca02ab72c28fa545c7fc9bceb005c501b9654278ace2d78aa74608410694804d9ec6787360f018e3900abc8413c25ac71d8dd24ea8a60fdf
6
+ metadata.gz: c94d9475b9dd8a81090f472b20abc3415de41edff89f9fe8c675aeecbb3835b24246b75d3e3187850d0551794c678768b9da32318471a8162a55c4514350dc5b
7
+ data.tar.gz: a3490adc2af6009f815170de976593ba59e7b30bc6585c9cf1097505c3cdc447cbfe51db36ebee92b57b305a969fccb3551d05262877a850f2367cb470821a76
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-speech_v1p1beta1
2
2
 
3
+ ### v0.10.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.9.0 (2021-05-20)
8
+
9
+ * Regenerated from discovery document revision 20210429
10
+
11
+ ### v0.8.0 (2021-04-16)
12
+
13
+ * Regenerated from discovery document revision 20210407
14
+
15
+ ### v0.7.0 (2021-04-01)
16
+
17
+ * Regenerated from discovery document revision 20210325
18
+
19
+ ### v0.6.0 (2021-03-25)
20
+
21
+ * Regenerated from discovery document revision 20210318
22
+
3
23
  ### v0.5.0 (2021-03-18)
4
24
 
5
25
  * Regenerated from discovery document revision 20210311
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1p1beta1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -237,6 +237,11 @@ module Google
237
237
  # @return [String]
238
238
  attr_accessor :last_update_time
239
239
 
240
+ # Specifies an optional destination for the recognition results.
241
+ # Corresponds to the JSON property `outputConfig`
242
+ # @return [Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig]
243
+ attr_accessor :output_config
244
+
240
245
  # Approximate percentage of audio processed thus far. Guaranteed to be 100 when
241
246
  # the audio is fully processed and the results are available.
242
247
  # Corresponds to the JSON property `progressPercent`
@@ -261,6 +266,7 @@ module Google
261
266
  # Update properties of this object
262
267
  def update!(**args)
263
268
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
269
+ @output_config = args[:output_config] if args.key?(:output_config)
264
270
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
265
271
  @start_time = args[:start_time] if args.key?(:start_time)
266
272
  @uri = args[:uri] if args.key?(:uri)
@@ -310,6 +316,21 @@ module Google
310
316
  class LongRunningRecognizeResponse
311
317
  include Google::Apis::Core::Hashable
312
318
 
319
+ # Specifies an optional destination for the recognition results.
320
+ # Corresponds to the JSON property `outputConfig`
321
+ # @return [Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig]
322
+ attr_accessor :output_config
323
+
324
+ # The `Status` type defines a logical error model that is suitable for different
325
+ # programming environments, including REST APIs and RPC APIs. It is used by [
326
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
327
+ # data: error code, error message, and error details. You can find out more
328
+ # about this error model and how to work with it in the [API Design Guide](https:
329
+ # //cloud.google.com/apis/design/errors).
330
+ # Corresponds to the JSON property `outputError`
331
+ # @return [Google::Apis::SpeechV1p1beta1::Status]
332
+ attr_accessor :output_error
333
+
313
334
  # Sequential list of transcription results corresponding to sequential portions
314
335
  # of audio.
315
336
  # Corresponds to the JSON property `results`
@@ -322,6 +343,8 @@ module Google
322
343
 
323
344
  # Update properties of this object
324
345
  def update!(**args)
346
+ @output_config = args[:output_config] if args.key?(:output_config)
347
+ @output_error = args[:output_error] if args.key?(:output_error)
325
348
  @results = args[:results] if args.key?(:results)
326
349
  end
327
350
  end
@@ -588,6 +611,26 @@ module Google
588
611
  attr_accessor :enable_speaker_diarization
589
612
  alias_method :enable_speaker_diarization?, :enable_speaker_diarization
590
613
 
614
+ # The spoken emoji behavior for the call If not set, uses default behavior based
615
+ # on model of choice If 'true', adds spoken emoji formatting for the request.
616
+ # This will replace spoken emojis with the corresponding Unicode symbols in the
617
+ # final transcript. If 'false', spoken emojis are not replaced.
618
+ # Corresponds to the JSON property `enableSpokenEmojis`
619
+ # @return [Boolean]
620
+ attr_accessor :enable_spoken_emojis
621
+ alias_method :enable_spoken_emojis?, :enable_spoken_emojis
622
+
623
+ # The spoken punctuation behavior for the call If not set, uses default behavior
624
+ # based on model of choice e.g. command_and_search will enable spoken
625
+ # punctuation by default If 'true', replaces spoken punctuation with the
626
+ # corresponding symbols in the request. For example, "how are you question mark"
627
+ # becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/
628
+ # spoken-punctuation for support. If 'false', spoken punctuation is not replaced.
629
+ # Corresponds to the JSON property `enableSpokenPunctuation`
630
+ # @return [Boolean]
631
+ attr_accessor :enable_spoken_punctuation
632
+ alias_method :enable_spoken_punctuation?, :enable_spoken_punctuation
633
+
591
634
  # If `true`, the top result includes a list of words and the confidence for
592
635
  # those words. If `false`, no word-level confidence information is returned. The
593
636
  # default is `false`.
@@ -639,11 +682,11 @@ module Google
639
682
  # Model* *Description* command_and_search Best for short queries such as voice
640
683
  # commands or voice search. phone_call Best for audio that originated from a
641
684
  # phone call (typically recorded at an 8khz sampling rate). video Best for audio
642
- # that originated from from video or includes multiple speakers. Ideally the
643
- # audio is recorded at a 16khz or greater sampling rate. This is a premium model
644
- # that costs more than the standard rate. default Best for audio that is not one
645
- # of the specific audio models. For example, long-form audio. Ideally the audio
646
- # is high-fidelity, recorded at a 16khz or greater sampling rate.
685
+ # that originated from video or includes multiple speakers. Ideally the audio is
686
+ # recorded at a 16khz or greater sampling rate. This is a premium model that
687
+ # costs more than the standard rate. default Best for audio that is not one of
688
+ # the specific audio models. For example, long-form audio. Ideally the audio is
689
+ # high-fidelity, recorded at a 16khz or greater sampling rate.
647
690
  # Corresponds to the JSON property `model`
648
691
  # @return [String]
649
692
  attr_accessor :model
@@ -668,7 +711,7 @@ module Google
668
711
 
669
712
  # Array of SpeechContext. A means to provide context to assist the speech
670
713
  # recognition. For more information, see [speech adaptation](https://cloud.
671
- # google.com/speech-to-text/docs/context-strength).
714
+ # google.com/speech-to-text/docs/adaptation).
672
715
  # Corresponds to the JSON property `speechContexts`
673
716
  # @return [Array<Google::Apis::SpeechV1p1beta1::SpeechContext>]
674
717
  attr_accessor :speech_contexts
@@ -697,6 +740,8 @@ module Google
697
740
  @enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
698
741
  @enable_separate_recognition_per_channel = args[:enable_separate_recognition_per_channel] if args.key?(:enable_separate_recognition_per_channel)
699
742
  @enable_speaker_diarization = args[:enable_speaker_diarization] if args.key?(:enable_speaker_diarization)
743
+ @enable_spoken_emojis = args[:enable_spoken_emojis] if args.key?(:enable_spoken_emojis)
744
+ @enable_spoken_punctuation = args[:enable_spoken_punctuation] if args.key?(:enable_spoken_punctuation)
700
745
  @enable_word_confidence = args[:enable_word_confidence] if args.key?(:enable_word_confidence)
701
746
  @enable_word_time_offsets = args[:enable_word_time_offsets] if args.key?(:enable_word_time_offsets)
702
747
  @encoding = args[:encoding] if args.key?(:encoding)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpeechV1p1beta1
18
18
  # Version of the google-apis-speech_v1p1beta1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210311"
25
+ REVISION = "20210429"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,8 @@ module Google
256
256
  # @private
257
257
  class Representation < Google::Apis::Core::JsonRepresentation
258
258
  property :last_update_time, as: 'lastUpdateTime'
259
+ property :output_config, as: 'outputConfig', class: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig, decorator: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig::Representation
260
+
259
261
  property :progress_percent, as: 'progressPercent'
260
262
  property :start_time, as: 'startTime'
261
263
  property :uri, as: 'uri'
@@ -277,6 +279,10 @@ module Google
277
279
  class LongRunningRecognizeResponse
278
280
  # @private
279
281
  class Representation < Google::Apis::Core::JsonRepresentation
282
+ property :output_config, as: 'outputConfig', class: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig, decorator: Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig::Representation
283
+
284
+ property :output_error, as: 'outputError', class: Google::Apis::SpeechV1p1beta1::Status, decorator: Google::Apis::SpeechV1p1beta1::Status::Representation
285
+
280
286
  collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
281
287
 
282
288
  end
@@ -333,6 +339,8 @@ module Google
333
339
  property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
334
340
  property :enable_separate_recognition_per_channel, as: 'enableSeparateRecognitionPerChannel'
335
341
  property :enable_speaker_diarization, as: 'enableSpeakerDiarization'
342
+ property :enable_spoken_emojis, as: 'enableSpokenEmojis'
343
+ property :enable_spoken_punctuation, as: 'enableSpokenPunctuation'
336
344
  property :enable_word_confidence, as: 'enableWordConfidence'
337
345
  property :enable_word_time_offsets, as: 'enableWordTimeOffsets'
338
346
  property :encoding, as: 'encoding'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.10.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-22 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Speech-to-Text API V1p1beta1.
28
34
  Simple REST clients are Ruby client libraries that provide access to Google services
29
35
  via their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.10.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Speech-to-Text API V1p1beta1