google-apis-speech_v1p1beta1 0.5.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 684d2271958ccb856ebb8e8d1d1736ee845bb10ceb231374959db2609444ed26
4
- data.tar.gz: a02d8da6846aa1d2ed8037963bc655f623d429379264d8d6578756098d8489e7
3
+ metadata.gz: 83477806ed70b65708b6a114474873cfd27fc967561a8475ecc272bf6ee07fd8
4
+ data.tar.gz: 5c7d67d751f15f4a635be77fd5cf5f57aeb9862b131fdd1dfd545e6a5782b5c1
5
5
  SHA512:
6
- metadata.gz: 752b8f081b9904a773f1a1d140601d99ccf41219190afa312093950b8be409d4ce0247572862e2dc6ceacf675f31959ea153ddb4b11213960865699b07154d30
7
- data.tar.gz: 404795b0590fdb51ca02ab72c28fa545c7fc9bceb005c501b9654278ace2d78aa74608410694804d9ec6787360f018e3900abc8413c25ac71d8dd24ea8a60fdf
6
+ metadata.gz: 9bf123f0d71f86cca6a6e12cf1f9eba51cb101303ed6c9e59aeeb393627aea8b66c039883113917a5ff48b10dd19f7009ffe62fbb662a5c67c2b7d06d4822d5f
7
+ data.tar.gz: fc14922e2fd728f794f5657adfe1c8c066815828904eb765149c6716e3cef6f6b19d2eaf7e411c2cb478baae6c56eb71b167ecac92fcd0ff0a93960ee394b4b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-speech_v1p1beta1
2
2
 
3
+ ### v0.6.0 (2021-03-25)
4
+
5
+ * Regenerated from discovery document revision 20210318
6
+
3
7
  ### v0.5.0 (2021-03-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20210311
@@ -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
@@ -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.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210311"
25
+ REVISION = "20210318"
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
metadata CHANGED
@@ -1,14 +1,14 @@
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.6.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-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []