Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: discovery/googleapis_beta/language__v1beta1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://language.googleapis.com/", 12 "baseUrl": "https://language.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Cloud Natural Language API", 14 "canonicalName": "Cloud Natural Language",
15 "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, e ntity recognition, and text annotations.", 15 "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, e ntity recognition, and text annotations.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/natural-language/", 17 "documentationLink": "https://cloud.google.com/natural-language/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "language:v1beta1", 22 "id": "language:v1beta1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "language", 24 "name": "language",
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "$ref": "AnalyzeSentimentRequest" 127 "$ref": "AnalyzeSentimentRequest"
128 }, 128 },
129 "response": { 129 "response": {
130 "$ref": "AnalyzeSentimentResponse" 130 "$ref": "AnalyzeSentimentResponse"
131 }, 131 },
132 "scopes": [ 132 "scopes": [
133 "https://www.googleapis.com/auth/cloud-platform" 133 "https://www.googleapis.com/auth/cloud-platform"
134 ] 134 ]
135 }, 135 },
136 "annotateText": { 136 "annotateText": {
137 "description": "Advanced API that analyzes the document and provides a full set of text\nannotations, including semantic, syntactic, and sen timent information. This\nAPI is intended for users who are familiar with machin e learning and need\nin-depth text features to build upon.", 137 "description": "A convenience method that provides all the f eatures that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in on e call.",
138 "httpMethod": "POST", 138 "httpMethod": "POST",
139 "id": "language.documents.annotateText", 139 "id": "language.documents.annotateText",
140 "parameterOrder": [], 140 "parameterOrder": [],
141 "parameters": {}, 141 "parameters": {},
142 "path": "v1beta1/documents:annotateText", 142 "path": "v1beta1/documents:annotateText",
143 "request": { 143 "request": {
144 "$ref": "AnnotateTextRequest" 144 "$ref": "AnnotateTextRequest"
145 }, 145 },
146 "response": { 146 "response": {
147 "$ref": "AnnotateTextResponse" 147 "$ref": "AnnotateTextResponse"
(...skipping 15 matching lines...) Expand all
163 "response": { 163 "response": {
164 "$ref": "AnalyzeEntitiesResponse" 164 "$ref": "AnalyzeEntitiesResponse"
165 }, 165 },
166 "scopes": [ 166 "scopes": [
167 "https://www.googleapis.com/auth/cloud-platform" 167 "https://www.googleapis.com/auth/cloud-platform"
168 ] 168 ]
169 } 169 }
170 } 170 }
171 } 171 }
172 }, 172 },
173 "revision": "20160816", 173 "revision": "20161103",
174 "rootUrl": "https://language.googleapis.com/", 174 "rootUrl": "https://language.googleapis.com/",
175 "schemas": { 175 "schemas": {
176 "Document": { 176 "Document": {
177 "description": "#################################################### ############ #\n\nRepresents the input to API methods.", 177 "description": "#################################################### ############ #\n\nRepresents the input to API methods.",
178 "id": "Document", 178 "id": "Document",
179 "properties": { 179 "properties": {
180 "language": { 180 "language": {
181 "description": "The language of the document (if not specifi ed, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Span ish, and Japanese textual content\n are supported, with the following addition al restriction:\n * `analyzeSentiment` only supports English text.\nIf the lan guage (either specified by the caller or automatically detected)\nis not support ed by the called API method, an `INVALID_ARGUMENT` error\nis returned.", 181 "description": "The language of the document (if not specifi ed, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Span ish, and Japanese textual content\n are supported, with the following addition al restriction:\n * `analyzeSentiment` only supports English text.\nIf the lan guage (either specified by the caller or automatically detected)\nis not support ed by the called API method, an `INVALID_ARGUMENT` error\nis returned.",
182 "type": "string" 182 "type": "string"
183 }, 183 },
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 "Compound of numeric modifier", 481 "Compound of numeric modifier",
482 "Copula", 482 "Copula",
483 "Dislocated relation (for fronted/topicalized elements)" 483 "Dislocated relation (for fronted/topicalized elements)"
484 ], 484 ],
485 "type": "string" 485 "type": "string"
486 } 486 }
487 }, 487 },
488 "type": "object" 488 "type": "object"
489 }, 489 },
490 "AnnotateTextRequest": { 490 "AnnotateTextRequest": {
491 "description": "The request message for the advanced text annotation API, which performs all\nthe above plus syntactic analysis.", 491 "description": "The request message for the text annotation API, whi ch can perform multiple\nanalysis types (sentiment, entities, and syntax) in one call.",
492 "id": "AnnotateTextRequest", 492 "id": "AnnotateTextRequest",
493 "properties": { 493 "properties": {
494 "document": { 494 "document": {
495 "$ref": "Document", 495 "$ref": "Document",
496 "description": "Input document." 496 "description": "Input document."
497 }, 497 },
498 "encodingType": { 498 "encodingType": {
499 "description": "The encoding type used by the API to calcula te offsets.", 499 "description": "The encoding type used by the API to calcula te offsets.",
500 "enum": [ 500 "enum": [
501 "NONE", 501 "NONE",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 "items": { 600 "items": {
601 "$ref": "Entity" 601 "$ref": "Entity"
602 }, 602 },
603 "type": "array" 603 "type": "array"
604 }, 604 },
605 "documentSentiment": { 605 "documentSentiment": {
606 "$ref": "Sentiment", 606 "$ref": "Sentiment",
607 "description": "The overall sentiment for the document. Popu lated if the user enables\nAnnotateTextRequest.Features.extract_document_sentime nt." 607 "description": "The overall sentiment for the document. Popu lated if the user enables\nAnnotateTextRequest.Features.extract_document_sentime nt."
608 }, 608 },
609 "language": { 609 "language": {
610 "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automat ically-detected language.", 610 "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automat ically-detected language.\nSee Document.language field for more details.",
611 "type": "string" 611 "type": "string"
612 }, 612 },
613 "tokens": { 613 "tokens": {
614 "description": "Tokens, along with their syntactic informati on, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.F eatures.extract_syntax.", 614 "description": "Tokens, along with their syntactic informati on, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.F eatures.extract_syntax.",
615 "items": { 615 "items": {
616 "$ref": "Token" 616 "$ref": "Token"
617 }, 617 },
618 "type": "array" 618 "type": "array"
619 }, 619 },
620 "sentences": { 620 "sentences": {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 "type": "string" 679 "type": "string"
680 } 680 }
681 }, 681 },
682 "type": "object" 682 "type": "object"
683 }, 683 },
684 "Sentiment": { 684 "Sentiment": {
685 "description": "Represents the feeling associated with the entire te xt or entities in\nthe text.", 685 "description": "Represents the feeling associated with the entire te xt or entities in\nthe text.",
686 "id": "Sentiment", 686 "id": "Sentiment",
687 "properties": { 687 "properties": {
688 "polarity": { 688 "polarity": {
689 "description": "Polarity of the sentiment in the [-1.0, 1.0] range. Larger numbers\nrepresent more positive sentiments.", 689 "description": "DEPRECATED FIELD - This field is being depre cated in\nfavor of score. Please refer to our documentation at\nhttps://cloud.go ogle.com/natural-language/docs for more information.",
690 "format": "float", 690 "format": "float",
691 "type": "number" 691 "type": "number"
692 }, 692 },
693 "magnitude": { 693 "magnitude": {
694 "description": "A non-negative number in the [0, +inf) range , which represents\nthe absolute magnitude of sentiment regardless of polarity ( positive or\nnegative).", 694 "description": "A non-negative number in the [0, +inf) range , which represents\nthe absolute magnitude of sentiment regardless of polarity ( positive or\nnegative).",
695 "format": "float", 695 "format": "float",
696 "type": "number" 696 "type": "number"
697 } 697 }
698 }, 698 },
699 "type": "object" 699 "type": "object"
(...skipping 26 matching lines...) Expand all
726 "id": "AnalyzeEntitiesResponse", 726 "id": "AnalyzeEntitiesResponse",
727 "properties": { 727 "properties": {
728 "entities": { 728 "entities": {
729 "description": "The recognized entities in the input documen t.", 729 "description": "The recognized entities in the input documen t.",
730 "items": { 730 "items": {
731 "$ref": "Entity" 731 "$ref": "Entity"
732 }, 732 },
733 "type": "array" 733 "type": "array"
734 }, 734 },
735 "language": { 735 "language": {
736 "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automat ically-detected language.", 736 "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automat ically-detected language.\nSee Document.language field for more details.",
737 "type": "string" 737 "type": "string"
738 } 738 }
739 }, 739 },
740 "type": "object" 740 "type": "object"
741 } 741 }
742 }, 742 },
743 "servicePath": "", 743 "servicePath": "",
744 "title": "Google Cloud Natural Language API", 744 "title": "Google Cloud Natural Language API",
745 "version": "v1beta1" 745 "version": "v1beta1"
746 } 746 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/genomics__v1beta2.json ('k') | discovery/googleapis_beta/logging__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698