google-apis-speech_v1 0.8.0 → 0.9.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: 3715527125933470ce56bca9ed55f90b7aac453c3b1409664f583ff62629ef6f
4
- data.tar.gz: b1adcfe4e17b035e7fe03d12ebde6168186fc06c3ff33ca654b0389ddf642fbe
3
+ metadata.gz: f807af6e038e45e577b4240d8e9e0f96a87b3a14e31694ed3d0aac556f35178f
4
+ data.tar.gz: 1281eac42ad8b46e24a61c43fa560152d5451112542fab646195a07f215995b0
5
5
  SHA512:
6
- metadata.gz: 06c8055016ae401a168390b0c864c3bbc930c49efff294883af0593bec38309289a7051456de3fa0485cda9df5942591d7a456e17594bacb6be069e32bc6fd50
7
- data.tar.gz: e478e5aa5ce6adbe96df0e66350a45131a58c097063a1d24abdd49aa45dee6243f7398b1bc7ec1a7f57018b2fb4ca29a855203f55defdb48c021248aa86377f3
6
+ metadata.gz: 3d43c57d8ff169565e08a4c27e15560c96f93ffd9b033c230f4031b3ec8977448bbb1960e0ded90a36534ec07f7f29cce00ddc460ac3fa3366e6783dde298d6d
7
+ data.tar.gz: fcdaf253c475a26ce58f9463358edf57450f31e4db983c4f2541f4022f38ff3e7ffcbb3d4c81154cc780b86bde245d772d0360baf5f31642e9a9c3b9b80d807b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-speech_v1
2
2
 
3
+ ### v0.9.0 (2021-09-03)
4
+
5
+ * Regenerated from discovery document revision 20210825
6
+
3
7
  ### v0.8.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -106,6 +106,11 @@ module Google
106
106
  # @return [Google::Apis::SpeechV1::RecognitionConfig]
107
107
  attr_accessor :config
108
108
 
109
+ # Specifies an optional destination for the recognition results.
110
+ # Corresponds to the JSON property `outputConfig`
111
+ # @return [Google::Apis::SpeechV1::TranscriptOutputConfig]
112
+ attr_accessor :output_config
113
+
109
114
  def initialize(**args)
110
115
  update!(**args)
111
116
  end
@@ -114,6 +119,7 @@ module Google
114
119
  def update!(**args)
115
120
  @audio = args[:audio] if args.key?(:audio)
116
121
  @config = args[:config] if args.key?(:config)
122
+ @output_config = args[:output_config] if args.key?(:output_config)
117
123
  end
118
124
  end
119
125
 
@@ -131,6 +137,11 @@ module Google
131
137
  # @return [Array<Google::Apis::SpeechV1::SpeechRecognitionResult>]
132
138
  attr_accessor :results
133
139
 
140
+ # When available, billed audio seconds for the corresponding request.
141
+ # Corresponds to the JSON property `totalBilledTime`
142
+ # @return [String]
143
+ attr_accessor :total_billed_time
144
+
134
145
  def initialize(**args)
135
146
  update!(**args)
136
147
  end
@@ -138,6 +149,7 @@ module Google
138
149
  # Update properties of this object
139
150
  def update!(**args)
140
151
  @results = args[:results] if args.key?(:results)
152
+ @total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
141
153
  end
142
154
  end
143
155
 
@@ -499,6 +511,11 @@ module Google
499
511
  # @return [Array<Google::Apis::SpeechV1::SpeechRecognitionResult>]
500
512
  attr_accessor :results
501
513
 
514
+ # When available, billed audio seconds for the corresponding request.
515
+ # Corresponds to the JSON property `totalBilledTime`
516
+ # @return [String]
517
+ attr_accessor :total_billed_time
518
+
502
519
  def initialize(**args)
503
520
  update!(**args)
504
521
  end
@@ -506,6 +523,7 @@ module Google
506
523
  # Update properties of this object
507
524
  def update!(**args)
508
525
  @results = args[:results] if args.key?(:results)
526
+ @total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
509
527
  end
510
528
  end
511
529
 
@@ -689,6 +707,27 @@ module Google
689
707
  end
690
708
  end
691
709
 
710
+ # Specifies an optional destination for the recognition results.
711
+ class TranscriptOutputConfig
712
+ include Google::Apis::Core::Hashable
713
+
714
+ # Specifies a Cloud Storage URI for the recognition results. Must be specified
715
+ # in the format: `gs://bucket_name/object_name`, and the bucket must already
716
+ # exist.
717
+ # Corresponds to the JSON property `gcsUri`
718
+ # @return [String]
719
+ attr_accessor :gcs_uri
720
+
721
+ def initialize(**args)
722
+ update!(**args)
723
+ end
724
+
725
+ # Update properties of this object
726
+ def update!(**args)
727
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
728
+ end
729
+ end
730
+
692
731
  # Word-specific information for recognized words.
693
732
  class WordInfo
694
733
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpeechV1
18
18
  # Version of the google-apis-speech_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210407"
25
+ REVISION = "20210825"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class TranscriptOutputConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class WordInfo
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -144,6 +150,8 @@ module Google
144
150
 
145
151
  property :config, as: 'config', class: Google::Apis::SpeechV1::RecognitionConfig, decorator: Google::Apis::SpeechV1::RecognitionConfig::Representation
146
152
 
153
+ property :output_config, as: 'outputConfig', class: Google::Apis::SpeechV1::TranscriptOutputConfig, decorator: Google::Apis::SpeechV1::TranscriptOutputConfig::Representation
154
+
147
155
  end
148
156
  end
149
157
 
@@ -152,6 +160,7 @@ module Google
152
160
  class Representation < Google::Apis::Core::JsonRepresentation
153
161
  collection :results, as: 'results', class: Google::Apis::SpeechV1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1::SpeechRecognitionResult::Representation
154
162
 
163
+ property :total_billed_time, as: 'totalBilledTime'
155
164
  end
156
165
  end
157
166
 
@@ -227,6 +236,7 @@ module Google
227
236
  class Representation < Google::Apis::Core::JsonRepresentation
228
237
  collection :results, as: 'results', class: Google::Apis::SpeechV1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1::SpeechRecognitionResult::Representation
229
238
 
239
+ property :total_billed_time, as: 'totalBilledTime'
230
240
  end
231
241
  end
232
242
 
@@ -275,6 +285,13 @@ module Google
275
285
  end
276
286
  end
277
287
 
288
+ class TranscriptOutputConfig
289
+ # @private
290
+ class Representation < Google::Apis::Core::JsonRepresentation
291
+ property :gcs_uri, as: 'gcsUri'
292
+ end
293
+ end
294
+
278
295
  class WordInfo
279
296
  # @private
280
297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1
63
63
  post_install_message:
64
64
  rdoc_options: []