google-cloud-speech 0.41.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -59
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +307 -0
  6. data/README.md +35 -49
  7. data/lib/google-cloud-speech.rb +19 -0
  8. data/lib/google/cloud/speech.rb +81 -142
  9. data/lib/google/cloud/speech/version.rb +1 -1
  10. metadata +103 -67
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/speech/v1.rb +0 -166
  13. data/lib/google/cloud/speech/v1/cloud_speech_pb.rb +0 -192
  14. data/lib/google/cloud/speech/v1/cloud_speech_services_pb.rb +0 -58
  15. data/lib/google/cloud/speech/v1/credentials.rb +0 -41
  16. data/lib/google/cloud/speech/v1/doc/google/cloud/speech/v1/cloud_speech.rb +0 -698
  17. data/lib/google/cloud/speech/v1/doc/google/longrunning/operations.rb +0 -51
  18. data/lib/google/cloud/speech/v1/doc/google/protobuf/any.rb +0 -131
  19. data/lib/google/cloud/speech/v1/doc/google/protobuf/duration.rb +0 -91
  20. data/lib/google/cloud/speech/v1/doc/google/rpc/status.rb +0 -39
  21. data/lib/google/cloud/speech/v1/helpers.rb +0 -136
  22. data/lib/google/cloud/speech/v1/speech_client.rb +0 -346
  23. data/lib/google/cloud/speech/v1/speech_client_config.json +0 -41
  24. data/lib/google/cloud/speech/v1/stream.rb +0 -615
  25. data/lib/google/cloud/speech/v1p1beta1.rb +0 -166
  26. data/lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb +0 -200
  27. data/lib/google/cloud/speech/v1p1beta1/cloud_speech_services_pb.rb +0 -58
  28. data/lib/google/cloud/speech/v1p1beta1/credentials.rb +0 -41
  29. data/lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb +0 -758
  30. data/lib/google/cloud/speech/v1p1beta1/doc/google/longrunning/operations.rb +0 -51
  31. data/lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/any.rb +0 -131
  32. data/lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/duration.rb +0 -91
  33. data/lib/google/cloud/speech/v1p1beta1/doc/google/rpc/status.rb +0 -39
  34. data/lib/google/cloud/speech/v1p1beta1/helpers.rb +0 -136
  35. data/lib/google/cloud/speech/v1p1beta1/speech_client.rb +0 -346
  36. data/lib/google/cloud/speech/v1p1beta1/speech_client_config.json +0 -41
  37. data/lib/google/cloud/speech/v1p1beta1/stream.rb +0 -615
data/README.md CHANGED
@@ -1,67 +1,53 @@
1
- # Ruby Client for Cloud Speech-to-Text API
1
+ # Ruby Client for the Cloud Speech-to-Text API
2
2
 
3
- [Cloud Speech-to-Text API][Product Documentation]:
4
- Converts audio to text by applying powerful neural network models.
5
- - [Client Library Documentation][]
6
- - [Product Documentation][]
3
+ API Client library for the Cloud Speech-to-Text API
7
4
 
8
- ## Quick Start
9
- In order to use this library, you first need to go through the following
10
- steps:
5
+ Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google's machine learning technology.
11
6
 
12
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
13
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
14
- 3. [Enable the Cloud Speech-to-Text API.](https://console.cloud.google.com/apis/library/speech.googleapis.com)
15
- 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-speech/latest/file.AUTHENTICATION.html)
7
+ Actual client classes for the various versions of this API are defined in
8
+ _versioned_ client gems, with names of the form `google-cloud-speech-v*`.
9
+ The gem `google-cloud-speech` is a convenience wrapper library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients.
12
+
13
+ View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-speech/latest)
14
+ for this library, google-cloud-speech, to see the convenience methods for
15
+ constructing client objects. Reference documentation for the client objects
16
+ themselves can be found in the client library documentation for the versioned
17
+ client gems:
18
+ [google-cloud-speech-v1](https://googleapis.dev/ruby/google-cloud-speech-v1/latest),
19
+ [google-cloud-speech-v1p1beta1](https://googleapis.dev/ruby/google-cloud-speech-v1p1beta1/latest).
20
+
21
+ See also the [Product Documentation](https://cloud.google.com/speech-to-text)
22
+ for more usage information.
23
+
24
+ ## Quick Start
16
25
 
17
- ### Installation
18
26
  ```
19
27
  $ gem install google-cloud-speech
20
28
  ```
21
29
 
22
- ### Migration Guide
23
-
24
- The 0.30.0 release introduced breaking changes relative to the previous release,
25
- 0.29.0. For more details and instructions to migrate your code, please visit the
26
- [migration
27
- guide](https://cloud.google.com/speech-to-text/docs/ruby-client-migration).
28
-
29
- ### Preview
30
- #### SpeechClient
31
- ```rb
32
- require "google/cloud/speech"
33
-
34
- speech_client = Google::Cloud::Speech.new
35
- language_code = "en-US"
36
- sample_rate_hertz = 44100
37
- encoding = :FLAC
38
- config = {
39
- language_code: language_code,
40
- sample_rate_hertz: sample_rate_hertz,
41
- encoding: encoding
42
- }
43
- uri = "gs://cloud-samples-data/speech/brooklyn_bridge.flac"
44
- audio = { uri: uri }
45
- response = speech_client.recognize(config, audio)
46
- ```
30
+ In order to use this library, you first need to go through the following steps:
31
+
32
+ 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
33
+ 1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
34
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/speech.googleapis.com)
35
+ 1. {file:AUTHENTICATION.md Set up authentication.}
47
36
 
48
- ### Next Steps
49
- - Read the [Client Library Documentation][] for Cloud Speech-to-Text API
50
- to see other available methods on the client.
51
- - Read the [Cloud Speech-to-Text API Product documentation][Product Documentation]
52
- to learn more about the product and see How-to Guides.
53
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
54
- to see the full list of Cloud APIs that we cover.
37
+ ## Migrating from 0.x versions
55
38
 
56
- [Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-speech/latest
57
- [Product Documentation]: https://cloud.google.com/speech
39
+ The 1.0 release of the google-cloud-speech client is a significant upgrade
40
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
41
+ and includes substantial interface changes. Existing code written for earlier
42
+ versions of this library will likely require updates to use this version.
43
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
58
44
 
59
45
  ## Enabling Logging
60
46
 
61
47
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
62
- 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,
48
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
63
49
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
64
- 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)
50
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
65
51
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
66
52
 
67
53
  Configuring a Ruby stdlib logger:
@@ -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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,158 +14,95 @@
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 "google/gax"
17
- require "pathname"
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! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
33
+ config.add_field! :lib_name, nil, match: ::String
34
+ config.add_field! :lib_version, nil, match: ::String
35
+ config.add_field! :interceptors, nil, match: ::Array
36
+ config.add_field! :timeout, nil, match: ::Numeric
37
+ config.add_field! :metadata, nil, match: ::Hash
38
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
39
+ end
18
40
 
19
41
  module Google
20
42
  module Cloud
21
- # rubocop:disable LineLength
22
-
23
- ##
24
- # # Ruby Client for Cloud Speech-to-Text API
25
- #
26
- # [Cloud Speech-to-Text 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-to-Text API.](https://console.cloud.google.com/apis/library/speech.googleapis.com)
37
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-speech/latest/file.AUTHENTICATION.html)
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://cloud-samples-data/speech/brooklyn_bridge.flac"
66
- # audio = { uri: uri }
67
- # response = speech_client.recognize(config, audio)
68
- # ```
69
- #
70
- # ### Next Steps
71
- # - Read the [Cloud Speech-to-Text 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.dev/ruby/google-cloud-logging/latest)
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
43
  module Speech
105
- # rubocop:enable LineLength
106
-
107
- FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("speech"))
44
+ ##
45
+ # Create a new client object for Speech.
46
+ #
47
+ # By default, this returns an instance of
48
+ # [Google::Cloud::Speech::V1::Speech::Client](https://googleapis.dev/ruby/google-cloud-speech-v1/latest/Google/Cloud/Speech/V1/Speech/Client.html)
49
+ # for version V1 of the API.
50
+ # However, you can specify specify a different API version by passing it in the
51
+ # `version` parameter. If the Speech service is
52
+ # supported by that API version, and the corresponding gem is available, the
53
+ # appropriate versioned client will be returned.
54
+ #
55
+ # ## About Speech
56
+ #
57
+ # Service that implements Google Cloud Speech API.
58
+ #
59
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
60
+ # Defaults to `:v1`.
61
+ # @return [Speech::Client] A client object for the specified version.
62
+ #
63
+ def self.speech version: :v1, &block
64
+ require "google/cloud/speech/#{version.to_s.downcase}"
108
65
 
109
- AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
110
- .select { |file| File.directory?(file) }
111
- .select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
112
- .select { |dir| File.exist?(dir + ".rb") }
113
- .map { |dir| File.basename(dir) }
66
+ package_name = Google::Cloud::Speech
67
+ .constants
68
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
69
+ .first
70
+ package_module = Google::Cloud::Speech.const_get package_name
71
+ package_module.const_get(:Speech).const_get(:Client).new(&block)
72
+ end
114
73
 
115
74
  ##
116
- # Service that implements Google Cloud Speech API.
75
+ # Configure the google-cloud-speech library.
76
+ #
77
+ # The following configuration parameters are supported:
78
+ #
79
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
80
+ # The path to the keyfile as a String, the contents of the keyfile as a
81
+ # Hash, or a Google::Auth::Credentials object.
82
+ # * `lib_name` (*type:* `String`) -
83
+ # The library name as recorded in instrumentation and logging.
84
+ # * `lib_version` (*type:* `String`) -
85
+ # The library version as recorded in instrumentation and logging.
86
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
87
+ # An array of interceptors that are run before calls are executed.
88
+ # * `timeout` (*type:* `Integer`) -
89
+ # Default timeout in milliseconds.
90
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
91
+ # Additional gRPC headers to be sent with the call.
92
+ # * `retry_policy` (*type:* `Hash`) -
93
+ # The retry policy. The value is a hash with the following keys:
94
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
95
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
96
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
97
+ # * `:retry_codes` (*type:* `Array<String>`) -
98
+ # The error codes that should trigger a retry.
99
+ #
100
+ # @return [::Google::Cloud::Config] The default configuration used by this library
117
101
  #
118
- # @param version [Symbol, String]
119
- # The major version of the service to be used. By default :v1
120
- # is used.
121
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
122
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
123
- # Provides the means for authenticating requests made by the client. This parameter can
124
- # be many types.
125
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
126
- # authenticating requests made by this client.
127
- # A `String` will be treated as the path to the keyfile to be used for the construction of
128
- # credentials for this client.
129
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
130
- # credentials for this client.
131
- # A `GRPC::Core::Channel` will be used to make calls through.
132
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
133
- # should already be composed with a `GRPC::Core::CallCredentials` object.
134
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
135
- # metadata for requests, generally, to give OAuth credentials.
136
- # @param scopes [Array<String>]
137
- # The OAuth scopes for this service. This parameter is ignored if
138
- # an updater_proc is supplied.
139
- # @param client_config [Hash]
140
- # A Hash for call options for each method. See
141
- # Google::Gax#construct_settings for the structure of
142
- # this data. Falls back to the default config if not specified
143
- # or the specified config is missing data points.
144
- # @param timeout [Numeric]
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 service_address [String]
149
- # Override for the service hostname, or `nil` to leave as the default.
150
- # @param service_port [Integer]
151
- # Override for the service port, or `nil` to leave as the default.
152
- # @param exception_transformer [Proc]
153
- # An optional proc that intercepts any exceptions raised during an API call to inject
154
- # custom error handling.
155
- def self.new(*args, version: :v1, **kwargs)
156
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
157
- raise "The version: #{version} is not available. The available versions " \
158
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
159
- end
102
+ def self.configure
103
+ yield ::Google::Cloud.configure.speech if block_given?
160
104
 
161
- require "#{FILE_DIR}/#{version.to_s.downcase}"
162
- version_module = Google::Cloud::Speech
163
- .constants
164
- .select {|sym| sym.to_s.downcase == version.to_s.downcase}
165
- .first
166
- Google::Cloud::Speech.const_get(version_module).new(*args, **kwargs)
105
+ ::Google::Cloud.configure.speech
167
106
  end
168
107
  end
169
108
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Speech
19
- VERSION = "0.41.0".freeze
19
+ VERSION = "1.0.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,111 +1,169 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-speech
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 1.0.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: 2020-03-11 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-gax
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.8'
19
+ version: '1.5'
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.8'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos
28
+ name: google-cloud-speech-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3.9
34
- - - "<"
33
+ version: '0.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
35
39
  - !ruby/object:Gem::Version
36
- version: '2.0'
40
+ version: '0.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: google-cloud-speech-v1p1beta1
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.0'
37
48
  type: :runtime
38
49
  prerelease: false
39
50
  version_requirements: !ruby/object:Gem::Requirement
40
51
  requirements:
41
- - - ">="
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: autotest-suffix
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
42
60
  - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
61
+ version: '1.1'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
45
67
  - !ruby/object:Gem::Version
46
- version: '2.0'
68
+ version: '1.1'
47
69
  - !ruby/object:Gem::Dependency
48
- name: googleapis-common-protos-types
70
+ name: google-style
49
71
  requirement: !ruby/object:Gem::Requirement
50
72
  requirements:
51
- - - ">="
73
+ - - "~>"
52
74
  - !ruby/object:Gem::Version
53
- version: 1.0.4
54
- - - "<"
75
+ version: 1.24.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
55
81
  - !ruby/object:Gem::Version
56
- version: '2.0'
57
- type: :runtime
82
+ version: 1.24.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.14'
90
+ type: :development
58
91
  prerelease: false
59
92
  version_requirements: !ruby/object:Gem::Requirement
60
93
  requirements:
61
- - - ">="
94
+ - - "~>"
62
95
  - !ruby/object:Gem::Version
63
- version: 1.0.4
64
- - - "<"
96
+ version: '5.14'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest-autotest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
65
102
  - !ruby/object:Gem::Version
66
- version: '2.0'
103
+ version: '1.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.0'
67
111
  - !ruby/object:Gem::Dependency
68
- name: minitest
112
+ name: minitest-focus
69
113
  requirement: !ruby/object:Gem::Requirement
70
114
  requirements:
71
115
  - - "~>"
72
116
  - !ruby/object:Gem::Version
73
- version: '5.10'
117
+ version: '1.1'
74
118
  type: :development
75
119
  prerelease: false
76
120
  version_requirements: !ruby/object:Gem::Requirement
77
121
  requirements:
78
122
  - - "~>"
79
123
  - !ruby/object:Gem::Version
80
- version: '5.10'
124
+ version: '1.1'
81
125
  - !ruby/object:Gem::Dependency
82
- name: redcarpet
126
+ name: minitest-rg
83
127
  requirement: !ruby/object:Gem::Requirement
84
128
  requirements:
85
129
  - - "~>"
86
130
  - !ruby/object:Gem::Version
87
- version: '3.0'
131
+ version: '5.2'
88
132
  type: :development
89
133
  prerelease: false
90
134
  version_requirements: !ruby/object:Gem::Requirement
91
135
  requirements:
92
136
  - - "~>"
93
137
  - !ruby/object:Gem::Version
94
- version: '3.0'
138
+ version: '5.2'
95
139
  - !ruby/object:Gem::Dependency
96
- name: google-style
140
+ name: rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '12.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '12.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: redcarpet
97
155
  requirement: !ruby/object:Gem::Requirement
98
156
  requirements:
99
157
  - - "~>"
100
158
  - !ruby/object:Gem::Version
101
- version: 1.24.0
159
+ version: '3.0'
102
160
  type: :development
103
161
  prerelease: false
104
162
  version_requirements: !ruby/object:Gem::Requirement
105
163
  requirements:
106
164
  - - "~>"
107
165
  - !ruby/object:Gem::Version
108
- version: 1.24.0
166
+ version: '3.0'
109
167
  - !ruby/object:Gem::Dependency
110
168
  name: simplecov
111
169
  requirement: !ruby/object:Gem::Requirement
@@ -134,8 +192,12 @@ dependencies:
134
192
  - - "~>"
135
193
  - !ruby/object:Gem::Version
136
194
  version: '0.9'
137
- description: google-cloud-speech is the official library for Cloud Speech-to-Text
138
- API.
195
+ description: Google Speech-to-Text enables developers to convert audio to text by
196
+ applying powerful neural network models in an easy-to-use API. The API recognizes
197
+ more than 120 languages and variants to support your global user base. You can enable
198
+ voice command-and-control, transcribe audio from call centers, and more. It can
199
+ process real-time streaming or prerecorded audio, using Google's machine learning
200
+ technology.
139
201
  email: googleapis-packages@google.com
140
202
  executables: []
141
203
  extensions: []
@@ -143,43 +205,17 @@ extra_rdoc_files: []
143
205
  files:
144
206
  - ".yardopts"
145
207
  - AUTHENTICATION.md
146
- - LICENSE
208
+ - LICENSE.md
209
+ - MIGRATING.md
147
210
  - README.md
211
+ - lib/google-cloud-speech.rb
148
212
  - lib/google/cloud/speech.rb
149
- - lib/google/cloud/speech/v1.rb
150
- - lib/google/cloud/speech/v1/cloud_speech_pb.rb
151
- - lib/google/cloud/speech/v1/cloud_speech_services_pb.rb
152
- - lib/google/cloud/speech/v1/credentials.rb
153
- - lib/google/cloud/speech/v1/doc/google/cloud/speech/v1/cloud_speech.rb
154
- - lib/google/cloud/speech/v1/doc/google/longrunning/operations.rb
155
- - lib/google/cloud/speech/v1/doc/google/protobuf/any.rb
156
- - lib/google/cloud/speech/v1/doc/google/protobuf/duration.rb
157
- - lib/google/cloud/speech/v1/doc/google/rpc/status.rb
158
- - lib/google/cloud/speech/v1/helpers.rb
159
- - lib/google/cloud/speech/v1/speech_client.rb
160
- - lib/google/cloud/speech/v1/speech_client_config.json
161
- - lib/google/cloud/speech/v1/stream.rb
162
- - lib/google/cloud/speech/v1p1beta1.rb
163
- - lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb
164
- - lib/google/cloud/speech/v1p1beta1/cloud_speech_services_pb.rb
165
- - lib/google/cloud/speech/v1p1beta1/credentials.rb
166
- - lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb
167
- - lib/google/cloud/speech/v1p1beta1/doc/google/longrunning/operations.rb
168
- - lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/any.rb
169
- - lib/google/cloud/speech/v1p1beta1/doc/google/protobuf/duration.rb
170
- - lib/google/cloud/speech/v1p1beta1/doc/google/rpc/status.rb
171
- - lib/google/cloud/speech/v1p1beta1/helpers.rb
172
- - lib/google/cloud/speech/v1p1beta1/speech_client.rb
173
- - lib/google/cloud/speech/v1p1beta1/speech_client_config.json
174
- - lib/google/cloud/speech/v1p1beta1/stream.rb
175
213
  - lib/google/cloud/speech/version.rb
176
- homepage: https://github.com/googleapis/googleapis
214
+ homepage: https://github.com/googleapis/google-cloud-ruby
177
215
  licenses:
178
216
  - Apache-2.0
179
217
  metadata: {}
180
- post_install_message: 'The 0.30.0 release introduced breaking changes relative to
181
- the previous release, 0.29.0. For more details and instructions to migrate your
182
- code, please visit the migration guide: https://cloud.google.com/speech-to-text/docs/ruby-client-migration.'
218
+ post_install_message:
183
219
  rdoc_options: []
184
220
  require_paths:
185
221
  - lib
@@ -197,5 +233,5 @@ requirements: []
197
233
  rubygems_version: 3.0.6
198
234
  signing_key:
199
235
  specification_version: 4
200
- summary: API Client library for Cloud Speech-to-Text API
236
+ summary: API Client library for the Cloud Speech-to-Text API
201
237
  test_files: []