Module: Google::Cloud::Language::V1
- Defined in:
- lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb,
lib/google/cloud/language/v1.rb,
lib/google/cloud/language/v1/doc/overview.rb,
lib/google/cloud/language/v1/language_service_client.rb
Overview
Google Cloud Natural Language API Contents
Class | Description |
---|---|
LanguageServiceClient | Provides text analysis operations such as sentiment analysis and entity recognition. |
Data Types | Data types for Google::Cloud::Language::V1 |
Defined Under Namespace
Modules: EncodingType Classes: AnalyzeEntitiesRequest, AnalyzeEntitiesResponse, AnalyzeEntitySentimentRequest, AnalyzeEntitySentimentResponse, AnalyzeSentimentRequest, AnalyzeSentimentResponse, AnalyzeSyntaxRequest, AnalyzeSyntaxResponse, AnnotateTextRequest, AnnotateTextResponse, ClassificationCategory, ClassifyTextRequest, ClassifyTextResponse, DependencyEdge, Document, Entity, EntityMention, LanguageServiceClient, PartOfSpeech, Sentence, Sentiment, TextSpan, Token
Class Method Summary collapse
-
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Provides text analysis operations such as sentiment analysis and entity recognition.
Class Method Details
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Provides text analysis operations such as sentiment analysis and entity recognition.
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/google/cloud/language/v1.rb', line 92 def self.new \ credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil kwargs = { credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, lib_version: lib_version }.select { |_, v| v != nil } Google::Cloud::Language::V1::LanguageServiceClient.new(**kwargs) end |