google-cloud-speech 0.22.2 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfee3ced6b3c3e32fa77c88f4a95ac26288041df
4
- data.tar.gz: 963fc8476e64a0fdd908d1e8edcb2fc6c9a1ac85
3
+ metadata.gz: e04f1437ef7d4bf55b73907f431f1195623a774d
4
+ data.tar.gz: 8dcd89edcce66e99b857b2191ae31a3ef7790561
5
5
  SHA512:
6
- metadata.gz: 49a0442714f7954bd482d7cefaf359d717023b1a0d667df90e361595821e8ac5f187f93ca1d5adc8fd7b36b9ac6a8b0dab28c668803fc25194ead333455037df
7
- data.tar.gz: 16f05a50703944f32616b25e53b136264c1273594ba17453c95bd267bc6826dc90bfe692f1cf7e1ee190a1e37d222608638e92e67d28af3ca7102f8e06640d81
6
+ metadata.gz: df413efa7c50545f37b0606e6015b446c6e4e9a940868fb16561b6d352bf9ba7d69a560bc4898ec5f5e145b94f5727183fc01ddc46e06066ec0c9d4a3e6bb58a
7
+ data.tar.gz: 39c89287e80db4ee918f14e20f89c3caff7d2b332881644b77a6838b7e41dadead53f7d44ae7d7f6c727d9ed78a93f8754c12fad1a3a52a8c7994dfe68ede62f
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Google Cloud Speech API](https://cloud.google.com/speech/) ([docs](https://cloud.google.com/speech/docs)) enables developers to convert audio to text by applying powerful neural network models.
4
4
 
5
- - [google-cloud-speech API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-speech/master/google/cloud/speech)
5
+ - [google-cloud-speech API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-speech/latest)
6
6
  - [google-cloud-speech on RubyGems](https://rubygems.org/gems/google-cloud-speech)
7
7
  - [Google Cloud Speech API documentation](https://cloud.google.com/speech/docs)
8
8
 
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  require "google/cloud/errors"
17
- require "google/cloud/core/environment"
17
+ require "google/cloud/env"
18
18
  require "google/cloud/speech/service"
19
19
  require "google/cloud/speech/audio"
20
20
  require "google/cloud/speech/result"
@@ -84,7 +84,7 @@ module Google
84
84
  ENV["SPEECH_PROJECT"] ||
85
85
  ENV["GOOGLE_CLOUD_PROJECT"] ||
86
86
  ENV["GCLOUD_PROJECT"] ||
87
- Google::Cloud::Core::Environment.project_id
87
+ Google::Cloud.env.project_id
88
88
  end
89
89
 
90
90
  ##
@@ -39,6 +39,16 @@ module Google
39
39
  # foo = any.unpack(Foo.class);
40
40
  # }
41
41
  #
42
+ # Example 3: Pack and unpack a message in Python.
43
+ #
44
+ # foo = Foo(...)
45
+ # any = Any()
46
+ # any.Pack(foo)
47
+ # ...
48
+ # if any.Is(Foo.DESCRIPTOR):
49
+ # any.Unpack(foo)
50
+ # ...
51
+ #
42
52
  # The pack methods provided by protobuf library will by default use
43
53
  # 'type.googleapis.com/full.type.name' as the type URL and the unpack
44
54
  # methods only use the fully qualified type name after the last '/'
@@ -78,10 +88,10 @@ module Google
78
88
  # A URL/resource name whose content describes the type of the
79
89
  # serialized protocol buffer message.
80
90
  #
81
- # For URLs which use the schema +http+, +https+, or no schema, the
91
+ # For URLs which use the scheme +http+, +https+, or no scheme, the
82
92
  # following restrictions and interpretations apply:
83
93
  #
84
- # * If no schema is provided, +https+ is assumed.
94
+ # * If no scheme is provided, +https+ is assumed.
85
95
  # * The last segment of the URL's path must represent the fully
86
96
  # qualified name of the type (as in +path/google.protobuf.Duration+).
87
97
  # The name should be in a canonical form (e.g., leading "." is
@@ -94,7 +104,7 @@ module Google
94
104
  # on changes to types. (Use versioned type names to manage
95
105
  # breaking changes.)
96
106
  #
97
- # Schemas other than +http+, +https+ (or the empty schema) might be
107
+ # Schemes other than +http+, +https+ (or the empty scheme) might be
98
108
  # used with implementation specific semantics.
99
109
  # @!attribute [rw] value
100
110
  # @return [String]
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2017, Google Inc. All rights reserved.
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -6,7 +6,9 @@
6
6
  "DEADLINE_EXCEEDED",
7
7
  "UNAVAILABLE"
8
8
  ],
9
- "non_idempotent": []
9
+ "non_idempotent": [
10
+ "UNAVAILABLE"
11
+ ]
10
12
  },
11
13
  "retry_params": {
12
14
  "default": {
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Speech
19
- VERSION = "0.22.2"
19
+ VERSION = "0.23.0"
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: 0.22.2
4
+ version: 0.23.0
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-03-04 00:00:00.000000000 Z
12
+ date: 2017-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.21.0
20
+ version: '1.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 0.21.0
27
+ version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: google-gax
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  requirements: []
216
216
  rubyforge_project:
217
- rubygems_version: 2.6.10
217
+ rubygems_version: 2.6.11
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: API Client library for Google Cloud Speech API