google-cloud-language 0.20.0 → 0.20.1

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: da9908ff47a91433d085aaf757cd9dcec332d728
4
- data.tar.gz: b92bfd0427360fed57ff4093ad5415c8b0c618fc
3
+ metadata.gz: e662ca0f0f3c90341046cc7bdb25a941d95bc86b
4
+ data.tar.gz: 01dd5504af762c11b8fe71e4eed451d0b68b55c4
5
5
  SHA512:
6
- metadata.gz: 7a55abb2096a8c0b82f32554570eb5ec284f7548d182ec3eaaf53e28fe14d0a926506c480f7d8362e94739c1851b786b154e0a9d29017de31cf408adeb5c7d88
7
- data.tar.gz: df1e73e98864c3212d72c7e308dab64d2a350f8468627a3a507c701486e40ea12aa065ebbbd2026c496e6abc4df9d39aa36eb00e03ce738509b82eab45d2b6ca
6
+ metadata.gz: 347bcc57d78145d99008bcfbae3fb6e8c29bf7c68133f7058fdbce3ff3fc650e47b21dddd2e854fcb10f78d1e755a44d42ca68a661823474b987ebf492eead54
7
+ data.tar.gz: 1c9ddff398f52205de5091068c037652490d0254aad3cd6c75b8c225ae7913596643ceed1f8bc6ce4b34b797a9acafd5fa6ec55e4711a547f0389f2db4e5503e
@@ -38,8 +38,7 @@ module Google
38
38
  # The default scope is:
39
39
  #
40
40
  # * `"https://www.googleapis.com/auth/cloud-platform"`
41
- # @param [Integer] retries Number of times to retry requests on server
42
- # error. The default value is `3`. Optional.
41
+ # @param [Integer] retries This option is not currently supported.
43
42
  # @param [Integer] timeout Default timeout to use in requests. Optional.
44
43
  #
45
44
  # @return [Google::Cloud::Language::Project]
@@ -49,8 +48,10 @@ module Google
49
48
  #
50
49
  # gcloud = Google::Cloud.new
51
50
  # language = gcloud.language
52
- # topic = language.topic "my-topic"
53
- # topic.publish "task completed"
51
+ #
52
+ # content = "Darth Vader is the best villain in Star Wars."
53
+ # document = language.document content
54
+ # annotation = document.annotate
54
55
  #
55
56
  # @example The default scope can be overridden with the `scope` option:
56
57
  # require "google/cloud"
@@ -84,8 +85,7 @@ module Google
84
85
  # The default scope is:
85
86
  #
86
87
  # * `"https://www.googleapis.com/auth/cloud-platform"`
87
- # @param [Integer] retries Number of times to retry requests on server
88
- # error. The default value is `3`. Optional.
88
+ # @param [Integer] retries This option is not currently supported.
89
89
  # @param [Integer] timeout Default timeout to use in requests. Optional.
90
90
  #
91
91
  # @return [Google::Cloud::Language::Project]
@@ -95,8 +95,9 @@ module Google
95
95
  #
96
96
  # language = Google::Cloud.language
97
97
  #
98
- # topic = language.topic "my-topic"
99
- # topic.publish "task completed"
98
+ # content = "Darth Vader is the best villain in Star Wars."
99
+ # document = language.document content
100
+ # annotation = document.annotate
100
101
  #
101
102
  def self.language project = nil, keyfile = nil, scope: nil, retries: nil,
102
103
  timeout: nil
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Language
19
- VERSION = "0.20.0"
19
+ VERSION = "0.20.1"
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-language
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.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: 2016-08-27 00:00:00.000000000 Z
12
+ date: 2016-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core