google-apis-speech_v1 0.37.0 → 0.38.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: 6c74563295e5e5b9d00001e2c8eda190453b680f6719d083b3c9e4ab1f957ace
4
- data.tar.gz: 0e10dab1d3eb672fdc291a2a86b8312d26c2f36824c9b8b4cad64c34d0e83076
3
+ metadata.gz: 655157fb2d1beefe258dd35ef36d2e6e1046b3629a6b2b32a4206d636eb7f5fc
4
+ data.tar.gz: cfe8d5a16bbb9d588e633e809fd128a4b6b005711a2ba3bd9ff359da1fe53b77
5
5
  SHA512:
6
- metadata.gz: e3fd40d5fd902dc7752f7242344326ec778afafbbce88adf047eb3a1ec03cfc59c6c5d2611bba3f23aaa1978f8abec5edaaacbc99f0d7a3d008e70ac16f26cc5
7
- data.tar.gz: 7038fd40120e2f9f5a9660a2065e5c20121a4f5898cdfa596017e6058e3ffdc3440ade1073d07f1061c204a44777ca0625e04c52abb46ee0fb5df62629ebba25
6
+ metadata.gz: 06f2648e5d39c3f53cfac7b072bb92eb5ee6c5153b0314980fc2172c0a181bb4e442b09fec9ce2b3d6f8ceaaba4ed9b439a48ce40711a91bca996c4bf9cf26ec
7
+ data.tar.gz: 6601b75d95a1231d547d1f4170667919428734be4f63e95b4d1fa7e3b1962ffc0caba391ecbb0beeb4dfad565349e2cc7c65f3e8f061d7cbb6c75750c27e2ea7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-speech_v1
2
2
 
3
+ ### v0.38.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240108
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.37.0 (2023-11-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20231110
@@ -1102,6 +1102,13 @@ module Google
1102
1102
  # @return [String]
1103
1103
  attr_accessor :total_billed_time
1104
1104
 
1105
+ # Whether request used legacy asr models (was not automatically migrated to use
1106
+ # conformer models).
1107
+ # Corresponds to the JSON property `usingLegacyModels`
1108
+ # @return [Boolean]
1109
+ attr_accessor :using_legacy_models
1110
+ alias_method :using_legacy_models?, :using_legacy_models
1111
+
1105
1112
  def initialize(**args)
1106
1113
  update!(**args)
1107
1114
  end
@@ -1112,6 +1119,7 @@ module Google
1112
1119
  @results = args[:results] if args.key?(:results)
1113
1120
  @speech_adaptation_info = args[:speech_adaptation_info] if args.key?(:speech_adaptation_info)
1114
1121
  @total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
1122
+ @using_legacy_models = args[:using_legacy_models] if args.key?(:using_legacy_models)
1115
1123
  end
1116
1124
  end
1117
1125
 
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231110"
25
+ REVISION = "20240108"
26
26
  end
27
27
  end
28
28
  end
@@ -452,6 +452,7 @@ module Google
452
452
  property :speech_adaptation_info, as: 'speechAdaptationInfo', class: Google::Apis::SpeechV1::SpeechAdaptationInfo, decorator: Google::Apis::SpeechV1::SpeechAdaptationInfo::Representation
453
453
 
454
454
  property :total_billed_time, as: 'totalBilledTime'
455
+ property :using_legacy_models, as: 'usingLegacyModels'
455
456
  end
456
457
  end
457
458
 
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
34
34
  class SpeechService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://speech.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://speech.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-speech_v1',
48
50
  client_version: Google::Apis::SpeechV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.37.0
4
+ version: 0.38.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: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/main/generated/google-apis-speech_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Speech-to-Text API V1