google-apis-speech_v1p1beta1 0.12.0 → 0.16.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: 0713b37beea737b34dce7575a393f9e679cff7f487183932e6bb19120823263b
4
- data.tar.gz: 4972c695375ef43387773d1156d8aa0d47c179f17d7112cebbe4cd330d2c3b35
3
+ metadata.gz: d911ffb115ca651bbb7f42afe7249f840c6215e27fe02427b2f744822e507ab7
4
+ data.tar.gz: e5c864d5265b15be20f4f790deb10e8b3977352b550ad71025c6b56c465bc239
5
5
  SHA512:
6
- metadata.gz: 8d13161a9c7f375b33900b1c4031fd5987281dc05adb0cdca021a29b5d03b82b92839eb4404b0cee3bacd41f13952a6c78aeaa0188e6dba8831c4b00a4abcd36
7
- data.tar.gz: b6b2daa39f84733f2bc3f6249e423b2c7041c7940ec8e3e5c56be440d872f3608634c862fc6a5afb4ef4431dc34388d20b430b75c93a6a044974692c52ae9106
6
+ metadata.gz: d041de72baf030372ca1c20aa1c3a79b1e738c7b355092eb4d1d384fc0e2ffe1526045d237fb4ccb47df2731fdb31de0b289a9847c68ef399897ff4da871edbe
7
+ data.tar.gz: eb418b9d578986496fb21ac9ab2142913e63a101eb1cd17acacc0010822160248ea2c40a318786213dd2abdc7111b873d59201cec6e796a6d7137f51784ad4e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-speech_v1p1beta1
2
2
 
3
+ ### v0.16.0 (2021-11-12)
4
+
5
+ * Regenerated from discovery document revision 20211104
6
+
7
+ ### v0.15.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.14.0 (2021-09-03)
12
+
13
+ * Regenerated from discovery document revision 20210825
14
+
15
+ ### v0.13.0 (2021-07-31)
16
+
17
+ * Regenerated from discovery document revision 20210726
18
+
3
19
  ### v0.12.0 (2021-07-22)
4
20
 
5
21
  * Regenerated from discovery document revision 20210714
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Speech service in particular.)
67
67
 
@@ -369,6 +369,11 @@ module Google
369
369
  # @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]
370
370
  attr_accessor :results
371
371
 
372
+ # When available, billed audio seconds for the corresponding request.
373
+ # Corresponds to the JSON property `totalBilledTime`
374
+ # @return [String]
375
+ attr_accessor :total_billed_time
376
+
372
377
  def initialize(**args)
373
378
  update!(**args)
374
379
  end
@@ -378,6 +383,7 @@ module Google
378
383
  @output_config = args[:output_config] if args.key?(:output_config)
379
384
  @output_error = args[:output_error] if args.key?(:output_error)
380
385
  @results = args[:results] if args.key?(:results)
386
+ @total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
381
387
  end
382
388
  end
383
389
 
@@ -466,12 +472,11 @@ module Google
466
472
  # Hint Boost. Overrides the boost set at the phrase set level. Positive value
467
473
  # will increase the probability that a specific phrase will be recognized over
468
474
  # other similar sounding phrases. The higher the boost, the higher the chance of
469
- # false positive recognition as well. Negative boost values would correspond to
470
- # anti-biasing. Anti-biasing is not enabled, so negative boost will simply be
471
- # ignored. Though `boost` can accept a wide range of positive values, most use
472
- # cases are best served with values between 0 and 20. We recommend using a
473
- # binary search approach to finding the optimal value for your use case. Speech
474
- # recognition will skip PhraseSets with a boost value of 0.
475
+ # false positive recognition as well. Negative boost will simply be ignored.
476
+ # Though `boost` can accept a wide range of positive values, most use cases are
477
+ # best served with values between 0 and 20. We recommend using a binary search
478
+ # approach to finding the optimal value for your use case. Speech recognition
479
+ # will skip PhraseSets with a boost value of 0.
475
480
  # Corresponds to the JSON property `boost`
476
481
  # @return [Float]
477
482
  attr_accessor :boost
@@ -913,6 +918,11 @@ module Google
913
918
  # @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]
914
919
  attr_accessor :results
915
920
 
921
+ # When available, billed audio seconds for the corresponding request.
922
+ # Corresponds to the JSON property `totalBilledTime`
923
+ # @return [String]
924
+ attr_accessor :total_billed_time
925
+
916
926
  def initialize(**args)
917
927
  update!(**args)
918
928
  end
@@ -920,6 +930,7 @@ module Google
920
930
  # Update properties of this object
921
931
  def update!(**args)
922
932
  @results = args[:results] if args.key?(:results)
933
+ @total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
923
934
  end
924
935
  end
925
936
 
@@ -1109,6 +1120,11 @@ module Google
1109
1120
  # @return [String]
1110
1121
  attr_accessor :language_code
1111
1122
 
1123
+ # Time offset of the end of this result relative to the beginning of the audio.
1124
+ # Corresponds to the JSON property `resultEndTime`
1125
+ # @return [String]
1126
+ attr_accessor :result_end_time
1127
+
1112
1128
  def initialize(**args)
1113
1129
  update!(**args)
1114
1130
  end
@@ -1118,6 +1134,7 @@ module Google
1118
1134
  @alternatives = args[:alternatives] if args.key?(:alternatives)
1119
1135
  @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
1120
1136
  @language_code = args[:language_code] if args.key?(:language_code)
1137
+ @result_end_time = args[:result_end_time] if args.key?(:result_end_time)
1121
1138
  end
1122
1139
  end
1123
1140
 
@@ -1167,9 +1184,12 @@ module Google
1167
1184
  class TranscriptNormalization
1168
1185
  include Google::Apis::Core::Hashable
1169
1186
 
1170
- # A single replacement configuration.
1187
+ # A list of replacement entries. We will perform replacement with one entry at a
1188
+ # time. For example, the second entry in ["cat" => "dog", "mountain cat" => "
1189
+ # mountain dog"] will never be applied because we will always process the first
1190
+ # entry before it. At most 100 entries.
1171
1191
  # Corresponds to the JSON property `entries`
1172
- # @return [Google::Apis::SpeechV1p1beta1::Entry]
1192
+ # @return [Array<Google::Apis::SpeechV1p1beta1::Entry>]
1173
1193
  attr_accessor :entries
1174
1194
 
1175
1195
  def initialize(**args)
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.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 = "20210714"
25
+ REVISION = "20211104"
26
26
  end
27
27
  end
28
28
  end
@@ -306,6 +306,7 @@ module Google
306
306
 
307
307
  collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
308
308
 
309
+ property :total_billed_time, as: 'totalBilledTime'
309
310
  end
310
311
  end
311
312
 
@@ -410,6 +411,7 @@ module Google
410
411
  class Representation < Google::Apis::Core::JsonRepresentation
411
412
  collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
412
413
 
414
+ property :total_billed_time, as: 'totalBilledTime'
413
415
  end
414
416
  end
415
417
 
@@ -459,6 +461,7 @@ module Google
459
461
 
460
462
  property :channel_tag, as: 'channelTag'
461
463
  property :language_code, as: 'languageCode'
464
+ property :result_end_time, as: 'resultEndTime'
462
465
  end
463
466
  end
464
467
 
@@ -474,7 +477,7 @@ module Google
474
477
  class TranscriptNormalization
475
478
  # @private
476
479
  class Representation < Google::Apis::Core::JsonRepresentation
477
- property :entries, as: 'entries', class: Google::Apis::SpeechV1p1beta1::Entry, decorator: Google::Apis::SpeechV1p1beta1::Entry::Representation
480
+ collection :entries, as: 'entries', class: Google::Apis::SpeechV1p1beta1::Entry, decorator: Google::Apis::SpeechV1p1beta1::Entry::Representation
478
481
 
479
482
  end
480
483
  end
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1p1beta1'
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_v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.16.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-26 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1p1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.16.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1p1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: