google-apis-speech_v1 0.5.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: 8148f9e0fbd75fad75bc793db3d8803274f9db9114fa8140bf3d79ef1400e738
4
- data.tar.gz: 3c1b90be59a8e5beb154dc790f691576dcafa61746ebe81c0d310d87dbe0a3fc
3
+ metadata.gz: f807af6e038e45e577b4240d8e9e0f96a87b3a14e31694ed3d0aac556f35178f
4
+ data.tar.gz: 1281eac42ad8b46e24a61c43fa560152d5451112542fab646195a07f215995b0
5
5
  SHA512:
6
- metadata.gz: '05967a901e896c33c8fbbb3841ce37ae97a8521fa704e9c38f7d236c115bfd639bfa7517f080eab1f766f584300c468e5940293cf2a6b33bf97244c5a34a4eb2'
7
- data.tar.gz: 7ea13296a6b3defd7fca62f557d9ebdc69be3d797860952487dce7e8f456d566ba7f9f89229b60eb4cab811631cea607ed6f72d6f9298299da23e2fb0451124d
6
+ metadata.gz: 3d43c57d8ff169565e08a4c27e15560c96f93ffd9b033c230f4031b3ec8977448bbb1960e0ded90a36534ec07f7f29cce00ddc460ac3fa3366e6783dde298d6d
7
+ data.tar.gz: fcdaf253c475a26ce58f9463358edf57450f31e4db983c4f2541f4022f38ff3e7ffcbb3d4c81154cc780b86bde245d772d0360baf5f31642e9a9c3b9b80d807b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
7
+ ### v0.8.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.7.0 (2021-06-24)
12
+
13
+ * Regenerated using generator version 0.3.0
14
+
15
+ ### v0.6.0 (2021-05-20)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.5.0 (2021-04-16)
4
20
 
5
21
  * Regenerated from discovery document revision 20210407
@@ -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.5.0"
19
+ GEM_VERSION = "0.9.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.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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.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-05-18 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
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.4'
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.4'
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 V1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1
57
63
  post_install_message:
58
64
  rdoc_options: []