google-cloud-speech 0.32.0 → 1.2.1
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 +4 -4
- data/.yardopts +4 -1
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +201 -0
- data/MIGRATING.md +367 -0
- data/README.md +97 -52
- data/lib/google/cloud/speech/version.rb +22 -0
- data/lib/google/cloud/speech.rb +88 -139
- data/lib/google-cloud-speech.rb +19 -0
- metadata +111 -49
- data/LICENSE +0 -201
- data/lib/google/cloud/speech/v1/cloud_speech_pb.rb +0 -129
- data/lib/google/cloud/speech/v1/cloud_speech_services_pb.rb +0 -56
- data/lib/google/cloud/speech/v1/credentials.rb +0 -41
- data/lib/google/cloud/speech/v1/doc/google/cloud/speech/v1/cloud_speech.rb +0 -482
- data/lib/google/cloud/speech/v1/doc/google/longrunning/operations.rb +0 -93
- data/lib/google/cloud/speech/v1/doc/google/protobuf/any.rb +0 -130
- data/lib/google/cloud/speech/v1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/speech/v1/doc/google/rpc/status.rb +0 -84
- data/lib/google/cloud/speech/v1/helpers.rb +0 -136
- data/lib/google/cloud/speech/v1/speech_client.rb +0 -331
- data/lib/google/cloud/speech/v1/speech_client_config.json +0 -41
- data/lib/google/cloud/speech/v1/stream.rb +0 -614
- data/lib/google/cloud/speech/v1.rb +0 -157
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb +0 -190
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_services_pb.rb +0 -56
- data/lib/google/cloud/speech/v1p1beta1/credentials.rb +0 -41
- data/lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb +0 -719
- data/lib/google/cloud/speech/v1p1beta1/doc/google/longrunning/operations.rb +0 -93
- data/lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/any.rb +0 -130
- data/lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/speech/v1p1beta1/doc/google/rpc/status.rb +0 -84
- data/lib/google/cloud/speech/v1p1beta1/helpers.rb +0 -136
- data/lib/google/cloud/speech/v1p1beta1/speech_client.rb +0 -331
- data/lib/google/cloud/speech/v1p1beta1/speech_client_config.json +0 -41
- data/lib/google/cloud/speech/v1p1beta1/stream.rb +0 -614
- data/lib/google/cloud/speech/v1p1beta1.rb +0 -157
data/lib/google/cloud/speech.rb
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 Google LLC
|
|
2
4
|
#
|
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -12,155 +14,102 @@
|
|
|
12
14
|
# See the License for the specific language governing permissions and
|
|
13
15
|
# limitations under the License.
|
|
14
16
|
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
# Require this file early so that the version constant gets defined before
|
|
20
|
+
# requiring "google/cloud". This is because google-cloud-core will load the
|
|
21
|
+
# entrypoint (gem name) file, which in turn re-requires this file (hence
|
|
22
|
+
# causing a require cycle) unless the version constant is already defined.
|
|
23
|
+
require "google/cloud/speech/version"
|
|
15
24
|
|
|
16
|
-
require "
|
|
17
|
-
|
|
25
|
+
require "googleauth"
|
|
26
|
+
gem "google-cloud-core"
|
|
27
|
+
require "google/cloud" unless defined? ::Google::Cloud.new
|
|
28
|
+
require "google/cloud/config"
|
|
29
|
+
|
|
30
|
+
# Set the default configuration
|
|
31
|
+
::Google::Cloud.configure.add_config! :speech do |config|
|
|
32
|
+
config.add_field! :endpoint, "speech.googleapis.com", match: ::String
|
|
33
|
+
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
|
|
34
|
+
config.add_field! :scope, nil, match: [::Array, ::String]
|
|
35
|
+
config.add_field! :lib_name, nil, match: ::String
|
|
36
|
+
config.add_field! :lib_version, nil, match: ::String
|
|
37
|
+
config.add_field! :interceptors, nil, match: ::Array
|
|
38
|
+
config.add_field! :timeout, nil, match: ::Numeric
|
|
39
|
+
config.add_field! :metadata, nil, match: ::Hash
|
|
40
|
+
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
|
41
|
+
config.add_field! :quota_project, nil, match: ::String
|
|
42
|
+
end
|
|
18
43
|
|
|
19
44
|
module Google
|
|
20
45
|
module Cloud
|
|
21
|
-
# rubocop:disable LineLength
|
|
22
|
-
|
|
23
|
-
##
|
|
24
|
-
# # Ruby Client for Cloud Speech API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
|
|
25
|
-
#
|
|
26
|
-
# [Cloud Speech API][Product Documentation]:
|
|
27
|
-
# Converts audio to text by applying powerful neural network models.
|
|
28
|
-
# - [Product Documentation][]
|
|
29
|
-
#
|
|
30
|
-
# ## Quick Start
|
|
31
|
-
# In order to use this library, you first need to go through the following
|
|
32
|
-
# steps:
|
|
33
|
-
#
|
|
34
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
35
|
-
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
36
|
-
# 3. [Enable the Cloud Speech API.](https://console.cloud.google.com/apis/library/speech.googleapis.com)
|
|
37
|
-
# 4. [Setup Authentication.](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
|
38
|
-
#
|
|
39
|
-
# ### Installation
|
|
40
|
-
# ```
|
|
41
|
-
# $ gem install google-cloud-speech
|
|
42
|
-
# ```
|
|
43
|
-
#
|
|
44
|
-
# ### Migration Guide
|
|
45
|
-
#
|
|
46
|
-
# The 0.30.0 release introduced breaking changes relative to the previous
|
|
47
|
-
# release, 0.29.0. For more details and instructions to migrate your code,
|
|
48
|
-
# please visit the [migration
|
|
49
|
-
# guide](https://cloud.google.com/speech-to-text/docs/ruby-client-migration).
|
|
50
|
-
#
|
|
51
|
-
# ### Preview
|
|
52
|
-
# #### SpeechClient
|
|
53
|
-
# ```rb
|
|
54
|
-
# require "google/cloud/speech"
|
|
55
|
-
#
|
|
56
|
-
# speech_client = Google::Cloud::Speech.new
|
|
57
|
-
# language_code = "en-US"
|
|
58
|
-
# sample_rate_hertz = 44100
|
|
59
|
-
# encoding = :FLAC
|
|
60
|
-
# config = {
|
|
61
|
-
# language_code: language_code,
|
|
62
|
-
# sample_rate_hertz: sample_rate_hertz,
|
|
63
|
-
# encoding: encoding
|
|
64
|
-
# }
|
|
65
|
-
# uri = "gs://bucket-name/hello.flac"
|
|
66
|
-
# audio = { uri: uri }
|
|
67
|
-
# response = speech_client.recognize(config, audio)
|
|
68
|
-
# ```
|
|
69
|
-
#
|
|
70
|
-
# ### Next Steps
|
|
71
|
-
# - Read the [Cloud Speech API Product documentation][Product Documentation]
|
|
72
|
-
# to learn more about the product and see How-to Guides.
|
|
73
|
-
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
|
74
|
-
# to see the full list of Cloud APIs that we cover.
|
|
75
|
-
#
|
|
76
|
-
# [Product Documentation]: https://cloud.google.com/speech
|
|
77
|
-
#
|
|
78
|
-
# ## Enabling Logging
|
|
79
|
-
#
|
|
80
|
-
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
81
|
-
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
|
82
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
|
|
83
|
-
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
84
|
-
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
85
|
-
#
|
|
86
|
-
# Configuring a Ruby stdlib logger:
|
|
87
|
-
#
|
|
88
|
-
# ```ruby
|
|
89
|
-
# require "logger"
|
|
90
|
-
#
|
|
91
|
-
# module MyLogger
|
|
92
|
-
# LOGGER = Logger.new $stderr, level: Logger::WARN
|
|
93
|
-
# def logger
|
|
94
|
-
# LOGGER
|
|
95
|
-
# end
|
|
96
|
-
# end
|
|
97
|
-
#
|
|
98
|
-
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
|
99
|
-
# module GRPC
|
|
100
|
-
# extend MyLogger
|
|
101
|
-
# end
|
|
102
|
-
# ```
|
|
103
|
-
#
|
|
104
46
|
module Speech
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
47
|
+
##
|
|
48
|
+
# Create a new client object for Speech.
|
|
49
|
+
#
|
|
50
|
+
# By default, this returns an instance of
|
|
51
|
+
# [Google::Cloud::Speech::V1::Speech::Client](https://googleapis.dev/ruby/google-cloud-speech-v1/latest/Google/Cloud/Speech/V1/Speech/Client.html)
|
|
52
|
+
# for version V1 of the API.
|
|
53
|
+
# However, you can specify specify a different API version by passing it in the
|
|
54
|
+
# `version` parameter. If the Speech service is
|
|
55
|
+
# supported by that API version, and the corresponding gem is available, the
|
|
56
|
+
# appropriate versioned client will be returned.
|
|
57
|
+
#
|
|
58
|
+
# ## About Speech
|
|
59
|
+
#
|
|
60
|
+
# Service that implements Google Cloud Speech API.
|
|
61
|
+
#
|
|
62
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
63
|
+
# Defaults to `:v1`.
|
|
64
|
+
# @return [Speech::Client] A client object for the specified version.
|
|
65
|
+
#
|
|
66
|
+
def self.speech version: :v1, &block
|
|
67
|
+
require "google/cloud/speech/#{version.to_s.downcase}"
|
|
108
68
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
69
|
+
package_name = Google::Cloud::Speech
|
|
70
|
+
.constants
|
|
71
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
72
|
+
.first
|
|
73
|
+
package_module = Google::Cloud::Speech.const_get package_name
|
|
74
|
+
package_module.const_get(:Speech).const_get(:Client).new(&block)
|
|
75
|
+
end
|
|
114
76
|
|
|
115
77
|
##
|
|
116
|
-
#
|
|
78
|
+
# Configure the google-cloud-speech library.
|
|
117
79
|
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
#
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
#
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
#
|
|
131
|
-
#
|
|
132
|
-
#
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
# The default timeout, in seconds, for calls made through this client.
|
|
146
|
-
# @param metadata [Hash]
|
|
147
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
148
|
-
# @param exception_transformer [Proc]
|
|
149
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
150
|
-
# custom error handling.
|
|
151
|
-
def self.new(*args, version: :v1, **kwargs)
|
|
152
|
-
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
|
|
153
|
-
raise "The version: #{version} is not available. The available versions " \
|
|
154
|
-
"are: [#{AVAILABLE_VERSIONS.join(", ")}]"
|
|
155
|
-
end
|
|
80
|
+
# The following configuration parameters are supported:
|
|
81
|
+
#
|
|
82
|
+
# * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
|
|
83
|
+
# The path to the keyfile as a String, the contents of the keyfile as a
|
|
84
|
+
# Hash, or a Google::Auth::Credentials object.
|
|
85
|
+
# * `lib_name` (*type:* `String`) -
|
|
86
|
+
# The library name as recorded in instrumentation and logging.
|
|
87
|
+
# * `lib_version` (*type:* `String`) -
|
|
88
|
+
# The library version as recorded in instrumentation and logging.
|
|
89
|
+
# * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
|
|
90
|
+
# An array of interceptors that are run before calls are executed.
|
|
91
|
+
# * `timeout` (*type:* `Numeric`) -
|
|
92
|
+
# Default timeout in seconds.
|
|
93
|
+
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
|
94
|
+
# Additional gRPC headers to be sent with the call.
|
|
95
|
+
# * `retry_policy` (*type:* `Hash`) -
|
|
96
|
+
# The retry policy. The value is a hash with the following keys:
|
|
97
|
+
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
98
|
+
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
99
|
+
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
100
|
+
# * `:retry_codes` (*type:* `Array<String>`) -
|
|
101
|
+
# The error codes that should trigger a retry.
|
|
102
|
+
#
|
|
103
|
+
# @return [::Google::Cloud::Config] The default configuration used by this library
|
|
104
|
+
#
|
|
105
|
+
def self.configure
|
|
106
|
+
yield ::Google::Cloud.configure.speech if block_given?
|
|
156
107
|
|
|
157
|
-
|
|
158
|
-
version_module = Google::Cloud::Speech
|
|
159
|
-
.constants
|
|
160
|
-
.select {|sym| sym.to_s.downcase == version.to_s.downcase}
|
|
161
|
-
.first
|
|
162
|
-
Google::Cloud::Speech.const_get(version_module).new(*args, **kwargs)
|
|
108
|
+
::Google::Cloud.configure.speech
|
|
163
109
|
end
|
|
164
110
|
end
|
|
165
111
|
end
|
|
166
112
|
end
|
|
113
|
+
|
|
114
|
+
helper_path = ::File.join __dir__, "speech", "helpers.rb"
|
|
115
|
+
require "google/cloud/speech/helpers" if ::File.file? helper_path
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2020 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "google/cloud/speech" unless defined? Google::Cloud::Speech::VERSION
|
metadata
CHANGED
|
@@ -1,71 +1,153 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-speech
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: google-
|
|
14
|
+
name: google-cloud-core
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
19
|
+
version: '1.6'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1.
|
|
26
|
+
version: '1.6'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: google-cloud-speech-v1
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0.0'
|
|
34
|
+
- - "<"
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: 2.a
|
|
37
|
+
type: :runtime
|
|
38
|
+
prerelease: false
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '0.0'
|
|
44
|
+
- - "<"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 2.a
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: google-cloud-speech-v1p1beta1
|
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0.0'
|
|
54
|
+
- - "<"
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
version: 2.a
|
|
57
|
+
type: :runtime
|
|
58
|
+
prerelease: false
|
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: '0.0'
|
|
64
|
+
- - "<"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: 2.a
|
|
67
|
+
- !ruby/object:Gem::Dependency
|
|
68
|
+
name: google-style
|
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
|
70
|
+
requirements:
|
|
71
|
+
- - "~>"
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: 1.25.1
|
|
74
|
+
type: :development
|
|
75
|
+
prerelease: false
|
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - "~>"
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: 1.25.1
|
|
27
81
|
- !ruby/object:Gem::Dependency
|
|
28
82
|
name: minitest
|
|
29
83
|
requirement: !ruby/object:Gem::Requirement
|
|
30
84
|
requirements:
|
|
31
85
|
- - "~>"
|
|
32
86
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '5.
|
|
87
|
+
version: '5.14'
|
|
34
88
|
type: :development
|
|
35
89
|
prerelease: false
|
|
36
90
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
91
|
requirements:
|
|
38
92
|
- - "~>"
|
|
39
93
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '5.
|
|
94
|
+
version: '5.14'
|
|
41
95
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
96
|
+
name: minitest-focus
|
|
43
97
|
requirement: !ruby/object:Gem::Requirement
|
|
44
98
|
requirements:
|
|
45
99
|
- - "~>"
|
|
46
100
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
101
|
+
version: '1.1'
|
|
48
102
|
type: :development
|
|
49
103
|
prerelease: false
|
|
50
104
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
105
|
requirements:
|
|
52
106
|
- - "~>"
|
|
53
107
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
108
|
+
version: '1.1'
|
|
55
109
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
110
|
+
name: minitest-rg
|
|
57
111
|
requirement: !ruby/object:Gem::Requirement
|
|
58
112
|
requirements:
|
|
59
113
|
- - "~>"
|
|
60
114
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
115
|
+
version: '5.2'
|
|
62
116
|
type: :development
|
|
63
117
|
prerelease: false
|
|
64
118
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
119
|
requirements:
|
|
66
120
|
- - "~>"
|
|
67
121
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
122
|
+
version: '5.2'
|
|
123
|
+
- !ruby/object:Gem::Dependency
|
|
124
|
+
name: rake
|
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
|
126
|
+
requirements:
|
|
127
|
+
- - ">="
|
|
128
|
+
- !ruby/object:Gem::Version
|
|
129
|
+
version: '12.0'
|
|
130
|
+
type: :development
|
|
131
|
+
prerelease: false
|
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
133
|
+
requirements:
|
|
134
|
+
- - ">="
|
|
135
|
+
- !ruby/object:Gem::Version
|
|
136
|
+
version: '12.0'
|
|
137
|
+
- !ruby/object:Gem::Dependency
|
|
138
|
+
name: redcarpet
|
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
|
140
|
+
requirements:
|
|
141
|
+
- - "~>"
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
version: '3.0'
|
|
144
|
+
type: :development
|
|
145
|
+
prerelease: false
|
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
147
|
+
requirements:
|
|
148
|
+
- - "~>"
|
|
149
|
+
- !ruby/object:Gem::Version
|
|
150
|
+
version: '3.0'
|
|
69
151
|
- !ruby/object:Gem::Dependency
|
|
70
152
|
name: simplecov
|
|
71
153
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,49 +176,30 @@ dependencies:
|
|
|
94
176
|
- - "~>"
|
|
95
177
|
- !ruby/object:Gem::Version
|
|
96
178
|
version: '0.9'
|
|
97
|
-
description:
|
|
179
|
+
description: Google Speech-to-Text enables developers to convert audio to text by
|
|
180
|
+
applying powerful neural network models in an easy-to-use API. The API recognizes
|
|
181
|
+
more than 120 languages and variants to support your global user base. You can enable
|
|
182
|
+
voice command-and-control, transcribe audio from call centers, and more. It can
|
|
183
|
+
process real-time streaming or prerecorded audio, using Google's machine learning
|
|
184
|
+
technology.
|
|
98
185
|
email: googleapis-packages@google.com
|
|
99
186
|
executables: []
|
|
100
187
|
extensions: []
|
|
101
188
|
extra_rdoc_files: []
|
|
102
189
|
files:
|
|
103
190
|
- ".yardopts"
|
|
104
|
-
-
|
|
191
|
+
- AUTHENTICATION.md
|
|
192
|
+
- LICENSE.md
|
|
193
|
+
- MIGRATING.md
|
|
105
194
|
- README.md
|
|
195
|
+
- lib/google-cloud-speech.rb
|
|
106
196
|
- lib/google/cloud/speech.rb
|
|
107
|
-
- lib/google/cloud/speech/
|
|
108
|
-
|
|
109
|
-
- lib/google/cloud/speech/v1/cloud_speech_services_pb.rb
|
|
110
|
-
- lib/google/cloud/speech/v1/credentials.rb
|
|
111
|
-
- lib/google/cloud/speech/v1/doc/google/cloud/speech/v1/cloud_speech.rb
|
|
112
|
-
- lib/google/cloud/speech/v1/doc/google/longrunning/operations.rb
|
|
113
|
-
- lib/google/cloud/speech/v1/doc/google/protobuf/any.rb
|
|
114
|
-
- lib/google/cloud/speech/v1/doc/google/protobuf/duration.rb
|
|
115
|
-
- lib/google/cloud/speech/v1/doc/google/rpc/status.rb
|
|
116
|
-
- lib/google/cloud/speech/v1/helpers.rb
|
|
117
|
-
- lib/google/cloud/speech/v1/speech_client.rb
|
|
118
|
-
- lib/google/cloud/speech/v1/speech_client_config.json
|
|
119
|
-
- lib/google/cloud/speech/v1/stream.rb
|
|
120
|
-
- lib/google/cloud/speech/v1p1beta1.rb
|
|
121
|
-
- lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb
|
|
122
|
-
- lib/google/cloud/speech/v1p1beta1/cloud_speech_services_pb.rb
|
|
123
|
-
- lib/google/cloud/speech/v1p1beta1/credentials.rb
|
|
124
|
-
- lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb
|
|
125
|
-
- lib/google/cloud/speech/v1p1beta1/doc/google/longrunning/operations.rb
|
|
126
|
-
- lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/any.rb
|
|
127
|
-
- lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/duration.rb
|
|
128
|
-
- lib/google/cloud/speech/v1p1beta1/doc/google/rpc/status.rb
|
|
129
|
-
- lib/google/cloud/speech/v1p1beta1/helpers.rb
|
|
130
|
-
- lib/google/cloud/speech/v1p1beta1/speech_client.rb
|
|
131
|
-
- lib/google/cloud/speech/v1p1beta1/speech_client_config.json
|
|
132
|
-
- lib/google/cloud/speech/v1p1beta1/stream.rb
|
|
133
|
-
homepage: https://github.com/googleapis/googleapis
|
|
197
|
+
- lib/google/cloud/speech/version.rb
|
|
198
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
|
134
199
|
licenses:
|
|
135
200
|
- Apache-2.0
|
|
136
201
|
metadata: {}
|
|
137
|
-
post_install_message:
|
|
138
|
-
the previous release, 0.29.0. For more details and instructions to migrate your
|
|
139
|
-
code, please visit the migration guide: https://cloud.google.com/speech-to-text/docs/ruby-client-migration.'
|
|
202
|
+
post_install_message:
|
|
140
203
|
rdoc_options: []
|
|
141
204
|
require_paths:
|
|
142
205
|
- lib
|
|
@@ -144,16 +207,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
144
207
|
requirements:
|
|
145
208
|
- - ">="
|
|
146
209
|
- !ruby/object:Gem::Version
|
|
147
|
-
version: 2.
|
|
210
|
+
version: '2.5'
|
|
148
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
212
|
requirements:
|
|
150
213
|
- - ">="
|
|
151
214
|
- !ruby/object:Gem::Version
|
|
152
215
|
version: '0'
|
|
153
216
|
requirements: []
|
|
154
|
-
|
|
155
|
-
rubygems_version: 2.7.7
|
|
217
|
+
rubygems_version: 3.2.17
|
|
156
218
|
signing_key:
|
|
157
219
|
specification_version: 4
|
|
158
|
-
summary: API Client library for Cloud Speech API
|
|
220
|
+
summary: API Client library for the Cloud Speech-to-Text API
|
|
159
221
|
test_files: []
|