google-cloud-speech 0.26.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v1.rb +0 -68
- data/lib/google/cloud/speech/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49dc0682a77d0869b3d692d97bf7ed62f4410aec
|
4
|
+
data.tar.gz: e2c738d6b0a41fe094ed2259502b7cd774ff79f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12f048eb4c4157815741db5274f2a9ae14c9eff11acd75b2b7202933e350417e63170d98a603fa43dd1bffaa48e210f0c3962f46b8331893043c92d88aa6e7e8
|
7
|
+
data.tar.gz: cb60a094f572cc0f6df8ac97710d8ef1ffe8c90a988cd97b0d70e74b13b38c6733847f4a791bb51ac33fb8d288897e96cf280de0f99a2d779913fbeb7218e5f7
|
@@ -1,5 +1,4 @@
|
|
1
1
|
# Copyright 2017, Google Inc. All rights reserved.
|
2
|
-
#
|
3
2
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
3
|
# you may not use this file except in compliance with the License.
|
5
4
|
# You may obtain a copy of the License at
|
@@ -12,71 +11,4 @@
|
|
12
11
|
# See the License for the specific language governing permissions and
|
13
12
|
# limitations under the License.
|
14
13
|
|
15
|
-
module Google
|
16
|
-
module Cloud
|
17
|
-
# rubocop:disable LineLength
|
18
|
-
|
19
|
-
##
|
20
|
-
# # Ruby Client for Google Cloud Speech API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
|
21
|
-
#
|
22
|
-
# [Google Cloud Speech API][Product Documentation]: Google Cloud Speech API.
|
23
|
-
# - [Product Documentation][]
|
24
|
-
#
|
25
|
-
# ## Quick Start
|
26
|
-
# In order to use this library, you first need to go through the following steps:
|
27
|
-
#
|
28
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
29
|
-
# 2. [Enable the Google Cloud Speech API.](https://console.cloud.google.com/apis/api/speech)
|
30
|
-
# 3. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
31
|
-
#
|
32
|
-
# ### Installation
|
33
|
-
# ```
|
34
|
-
# $ gem install google-cloud-speech
|
35
|
-
# ```
|
36
|
-
#
|
37
|
-
# ### Preview
|
38
|
-
# #### SpeechClient
|
39
|
-
# ```rb
|
40
|
-
# require "google/cloud/speech/v1"
|
41
|
-
#
|
42
|
-
# speech_client = Google::Cloud::Speech::V1::SpeechClient.new
|
43
|
-
# language_code = "en-US"
|
44
|
-
# sample_rate_hertz = 44100
|
45
|
-
# encoding = :FLAC
|
46
|
-
# config = {
|
47
|
-
# language_code: language_code,
|
48
|
-
# sample_rate_hertz: sample_rate_hertz,
|
49
|
-
# encoding: encoding
|
50
|
-
# }
|
51
|
-
# uri = "gs://gapic-toolkit/hello.flac"
|
52
|
-
# audio = { uri: uri }
|
53
|
-
# response = speech_client.recognize(config, audio)
|
54
|
-
# ```
|
55
|
-
#
|
56
|
-
# ### Next Steps
|
57
|
-
# - Read the [Google Cloud Speech API Product documentation][Product Documentation] to learn more about the product and see How-to Guides.
|
58
|
-
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md) to see the full list of Cloud APIs that we cover.
|
59
|
-
#
|
60
|
-
# [Product Documentation]: https://cloud.google.com/speech
|
61
|
-
#
|
62
|
-
module Speech
|
63
|
-
# rubocop:enable LineLength
|
64
|
-
|
65
|
-
##
|
66
|
-
# # Google Cloud Speech API Contents
|
67
|
-
#
|
68
|
-
# | Class | Description |
|
69
|
-
# | ----- | ----------- |
|
70
|
-
# | [SpeechClient][] | Google Cloud Speech API. |
|
71
|
-
# | [Data Types][] | Data types for Google::Cloud::Speech::V1 |
|
72
|
-
#
|
73
|
-
# [SpeechClient]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-speech/latest/google/cloud/speech/v1/v1/speechclient
|
74
|
-
# [Data Types]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-speech/latest/google/cloud/speech/v1/v1/datatypes
|
75
|
-
#
|
76
|
-
module V1
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
14
|
require "google/cloud/speech/v1/speech_client"
|
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: 0.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|