google-cloud-speech 2.0.2 → 2.0.4

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: c012869c751c0382f15b3b7789f876d2b76e1c6573dea5a666a645309c60306b
4
- data.tar.gz: 199976f45921007a1efdd9a66c8a59f8e35a81956b82e524d1df48f239b630f0
3
+ metadata.gz: 633d32763454ec9e5e98039c30afa30b55f29b2b881d70fb56ea17e439262ad2
4
+ data.tar.gz: 61bedb1d4cdc6cff99bc8f4990be49167140203871b4c7f836389652d8d0dbf0
5
5
  SHA512:
6
- metadata.gz: af591c6f814b1ee118ba5bb1462b959fe3f0e82c0e5ad8c1e4514697bcc242c4abed149237751977b7c6e8b1cb9d4a1ef6aed383e4798d64680ed2a124546091
7
- data.tar.gz: dd9bf6ee390628be18c8f9f13c02f96bc14827b0b3b734eae9b51097a105056c167719255385b90a78b42e8a76a6a31b43422a24295cd32a59a1009925e9e440
6
+ metadata.gz: 6231bd0d45fe632cac5aaa5f6aef7b7bbe23d9290badbe5a1f5db2263eb3095fa32eee9afdf241b1e64268153582fa6b3840468f036509eadd0a85e93123e2f1
7
+ data.tar.gz: 4ea298a906c09707834cb5100f3cdafc689936cf6b4e2d3909f35704750d7c37bc5a15e45662a5e3ad7002b352992c6c9c16596c4b9fe42dc8660f6e651dc1a8
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.2".freeze
19
+ VERSION = "2.0.4".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.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC