google-cloud-speech 2.0.3 → 2.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4206ea339eb6dec44baabaaf0a30b07e9214af844b5386af28497d60ccb8d88
4
- data.tar.gz: b69ec23bc8b3f7a29deca5c44b8ddb3c7f1d22865240de1708d6743d8594deda
3
+ metadata.gz: fa76017655511b6b05f0e70c09a285d3603819ec63b657d4c40789e659935bff
4
+ data.tar.gz: 75e3e4983c6cb900dbeb78d4a954f7a3823cb20b1b755cfc14d1efe487be0fc8
5
5
  SHA512:
6
- metadata.gz: 8d9af3a4a19d62c1b002147e4940b1f0d21ad52f576bc2c536a99a2ca6ae6b340fe3021019c0bf8f7a7161a11e04014b7732fc0c518a6dd4279e53bb107c69ac
7
- data.tar.gz: 1de90b89ab1b73c544289686958e1a81ce14c35241b23b4ac54ed8ff91aee59ca4de5b91b84883c2da174bad70f848691dae68c2c1bde54f134df4f542bfb655
6
+ metadata.gz: f82c568b173164735f17f02a4363342a24641a28e0b6086740e890d40f8f669fea635424909537fa50d1e71856c14f5480a9df0bc90b0a9aaa3c17502c8a65c6
7
+ data.tar.gz: 4a05669893d9b4fcd82c8ebbdec9aa5c7c50dc956a24bef1255e5d331c4911427464f044aa858fe171930698c6fa1c29954093ac9c1d4ba117a1545de2d49d64
data/README.md CHANGED
@@ -35,6 +35,14 @@ In order to use this library, you first need to go through the following steps:
35
35
  1. [Enable the API.](https://console.cloud.google.com/apis/library/speech.googleapis.com)
36
36
  1. {file:AUTHENTICATION.md Set up authentication.}
37
37
 
38
+ ```ruby
39
+ require "google/cloud/speech"
40
+
41
+ client = Google::Cloud::Speech.speech
42
+ request = ::Google::Cloud::Speech::V2::CreateRecognizerRequest.new # (request fields as keyword arguments...)
43
+ response = client.create_recognizer request
44
+ ```
45
+
38
46
  ## Debug Logging
39
47
 
40
48
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Speech
19
- VERSION = "2.0.3".freeze
19
+ VERSION = "2.1.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-speech
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '3.0'
83
+ version: '3.2'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="