google-cloud-language 0.26.0 → 0.26.1

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.
@@ -0,0 +1,60 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/language/v1beta2/language_service.proto for package 'google.cloud.language.v1beta2'
3
+ # Original file comments:
4
+ # Copyright 2017 Google Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/language/v1beta2/language_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Language
25
+ module V1beta2
26
+ module LanguageService
27
+ # Provides text analysis operations such as sentiment analysis and entity
28
+ # recognition.
29
+ class Service
30
+
31
+ include GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.language.v1beta2.LanguageService'
36
+
37
+ # Analyzes the sentiment of the provided text.
38
+ rpc :AnalyzeSentiment, AnalyzeSentimentRequest, AnalyzeSentimentResponse
39
+ # Finds named entities (currently proper names and common nouns) in the text
40
+ # along with entity types, salience, mentions for each entity, and
41
+ # other properties.
42
+ rpc :AnalyzeEntities, AnalyzeEntitiesRequest, AnalyzeEntitiesResponse
43
+ # Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] in the text and analyzes
44
+ # sentiment associated with each entity and its mentions.
45
+ rpc :AnalyzeEntitySentiment, AnalyzeEntitySentimentRequest, AnalyzeEntitySentimentResponse
46
+ # Analyzes the syntax of the text and provides sentence boundaries and
47
+ # tokenization along with part of speech tags, dependency trees, and other
48
+ # properties.
49
+ rpc :AnalyzeSyntax, AnalyzeSyntaxRequest, AnalyzeSyntaxResponse
50
+ # A convenience method that provides all syntax, sentiment, and entity
51
+ # features in one call.
52
+ rpc :AnnotateText, AnnotateTextRequest, AnnotateTextResponse
53
+ end
54
+
55
+ Stub = Service.rpc_stub_class
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Language
19
- VERSION = "0.26.0"
19
+ VERSION = "0.26.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.26.0
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-04-01 00:00:00.000000000 Z
12
+ date: 2017-04-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.8.0
34
+ version: 0.8.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.8.0
41
+ version: 0.8.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: minitest
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -191,6 +191,12 @@ files:
191
191
  - lib/google/cloud/language/v1/language_service_client_config.json
192
192
  - lib/google/cloud/language/v1/language_service_pb.rb
193
193
  - lib/google/cloud/language/v1/language_service_services_pb.rb
194
+ - lib/google/cloud/language/v1beta2.rb
195
+ - lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
196
+ - lib/google/cloud/language/v1beta2/language_service_client.rb
197
+ - lib/google/cloud/language/v1beta2/language_service_client_config.json
198
+ - lib/google/cloud/language/v1beta2/language_service_pb.rb
199
+ - lib/google/cloud/language/v1beta2/language_service_services_pb.rb
194
200
  - lib/google/cloud/language/version.rb
195
201
  homepage: http://googlecloudplatform.github.io/google-cloud-ruby/
196
202
  licenses: