| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  | # Copyright 2015 Google Inc. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  | # you may not use this file except in compliance with the License. | 
					
						
							|  |  |  | # You may obtain a copy of the License at | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #      http://www.apache.org/licenses/LICENSE-2.0 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  | # distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  | # See the License for the specific language governing permissions and | 
					
						
							|  |  |  | # limitations under the License. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require 'date' | 
					
						
							|  |  |  | require 'google/apis/core/base_service' | 
					
						
							|  |  |  | require 'google/apis/core/json_representation' | 
					
						
							|  |  |  | require 'google/apis/core/hashable' | 
					
						
							|  |  |  | require 'google/apis/errors' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Google | 
					
						
							|  |  |  |   module Apis | 
					
						
							|  |  |  |     module LanguageV1beta1 | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeEntitiesRequest | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeEntitiesResponse | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSentimentRequest | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSentimentResponse | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSyntaxRequest | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSyntaxResponse | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnnotateTextRequest | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnnotateTextResponse | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class DependencyEdge | 
					
						
							| 
									
										
										
										
											2017-01-13 23:04:35 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Document | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Entity | 
					
						
							| 
									
										
										
										
											2017-01-13 23:04:35 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class EntityMention | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Features | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class PartOfSpeech | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Sentence | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Sentiment | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Status | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class TextSpan | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Token | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         class Representation < Google::Apis::Core::JsonRepresentation; end | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |         include Google::Apis::Core::JsonObjectSupport | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeEntitiesRequest | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :encoding_type, as: 'encodingType' | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeEntitiesResponse | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation | 
					
						
							| 
									
										
										
										
											2017-06-02 06:11:31 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :language, as: 'language' | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSentimentRequest | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :encoding_type, as: 'encodingType' | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSentimentResponse | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :language, as: 'language' | 
					
						
							|  |  |  |           collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation | 
					
						
							| 
									
										
										
										
											2017-03-31 19:53:27 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSyntaxRequest | 
					
						
							| 
									
										
										
										
											2017-02-13 23:28:52 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :encoding_type, as: 'encodingType' | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnalyzeSyntaxResponse | 
					
						
							| 
									
										
										
										
											2017-05-26 16:44:32 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |           property :language, as: 'language' | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-26 16:44:32 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnnotateTextRequest | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :encoding_type, as: 'encodingType' | 
					
						
							|  |  |  |           property :features, as: 'features', class: Google::Apis::LanguageV1beta1::Features, decorator: Google::Apis::LanguageV1beta1::Features::Representation | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-01-13 23:04:35 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class AnnotateTextResponse | 
					
						
							| 
									
										
										
										
											2017-01-13 23:04:35 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :language, as: 'language' | 
					
						
							|  |  |  |           collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation | 
					
						
							| 
									
										
										
										
											2017-06-14 17:02:03 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class DependencyEdge | 
					
						
							| 
									
										
										
										
											2017-03-30 22:30:51 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :head_token_index, as: 'headTokenIndex' | 
					
						
							|  |  |  |           property :label, as: 'label' | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Document | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :content, as: 'content' | 
					
						
							|  |  |  |           property :gcs_content_uri, as: 'gcsContentUri' | 
					
						
							|  |  |  |           property :language, as: 'language' | 
					
						
							|  |  |  |           property :type, as: 'type' | 
					
						
							| 
									
										
										
										
											2017-02-03 19:29:28 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Entity | 
					
						
							| 
									
										
										
										
											2017-02-03 19:29:28 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1beta1::EntityMention, decorator: Google::Apis::LanguageV1beta1::EntityMention::Representation | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           hash :metadata, as: 'metadata' | 
					
						
							|  |  |  |           property :name, as: 'name' | 
					
						
							|  |  |  |           property :salience, as: 'salience' | 
					
						
							|  |  |  |           property :type, as: 'type' | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class EntityMention | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation | 
					
						
							| 
									
										
										
										
											2017-05-26 16:44:32 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :type, as: 'type' | 
					
						
							| 
									
										
										
										
											2017-03-27 22:14:47 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Features | 
					
						
							| 
									
										
										
										
											2017-03-27 22:14:47 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :extract_document_sentiment, as: 'extractDocumentSentiment' | 
					
						
							|  |  |  |           property :extract_entities, as: 'extractEntities' | 
					
						
							|  |  |  |           property :extract_syntax, as: 'extractSyntax' | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class PartOfSpeech | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :aspect, as: 'aspect' | 
					
						
							|  |  |  |           property :case, as: 'case' | 
					
						
							|  |  |  |           property :form, as: 'form' | 
					
						
							|  |  |  |           property :gender, as: 'gender' | 
					
						
							|  |  |  |           property :mood, as: 'mood' | 
					
						
							|  |  |  |           property :number, as: 'number' | 
					
						
							|  |  |  |           property :person, as: 'person' | 
					
						
							|  |  |  |           property :proper, as: 'proper' | 
					
						
							|  |  |  |           property :reciprocity, as: 'reciprocity' | 
					
						
							|  |  |  |           property :tag, as: 'tag' | 
					
						
							|  |  |  |           property :tense, as: 'tense' | 
					
						
							|  |  |  |           property :voice, as: 'voice' | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Sentence | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation | 
					
						
							| 
									
										
										
										
											2017-07-12 20:10:42 +00:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Sentiment | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :magnitude, as: 'magnitude' | 
					
						
							|  |  |  |           property :polarity, as: 'polarity' | 
					
						
							|  |  |  |           property :score, as: 'score' | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Status | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :code, as: 'code' | 
					
						
							|  |  |  |           collection :details, as: 'details' | 
					
						
							|  |  |  |           property :message, as: 'message' | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class TextSpan | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :begin_offset, as: 'beginOffset' | 
					
						
							|  |  |  |           property :content, as: 'content' | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |       class Token | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         # @private | 
					
						
							|  |  |  |         class Representation < Google::Apis::Core::JsonRepresentation | 
					
						
							| 
									
										
										
										
											2017-08-26 01:31:01 +00:00
										 |  |  |           property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :lemma, as: 'lemma' | 
					
						
							|  |  |  |           property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  |           property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation | 
					
						
							|  |  |  |        | 
					
						
							| 
									
										
										
										
											2017-05-04 19:35:56 +00:00
										 |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2016-08-31 20:33:12 +00:00
										 |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |