mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-08 04:21:00 +01:00
update all json files
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
},
|
||||
"id": "commentanalyzer:v1alpha1",
|
||||
"kind": "discovery#restDescription",
|
||||
"mtlsRootUrl": "https://commentanalyzer.mtls.googleapis.com/",
|
||||
"name": "commentanalyzer",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
@@ -144,11 +145,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190616",
|
||||
"revision": "20200405",
|
||||
"rootUrl": "https://commentanalyzer.googleapis.com/",
|
||||
"schemas": {
|
||||
"AnalyzeCommentRequest": {
|
||||
"description": "The comment analysis request message.",
|
||||
"description": "The comment analysis request message.\nLINT.IfChange",
|
||||
"id": "AnalyzeCommentRequest",
|
||||
"properties": {
|
||||
"clientToken": {
|
||||
@@ -172,7 +173,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"languages": {
|
||||
"description": "The language(s) of the comment and context (if none are specified, the\nlanguage is automatically detected). If multiple languages are specified,\nthe text is checked in all of them that are supported. Both ISO and BCP-47\nlanguage codes are accepted.\nCurrent Language Restrictions:\n * Only English text (\"en\") is supported.\nIf none of the languages specified by the caller are supported, an\n`UNIMPLEMENTED` error is returned.",
|
||||
"description": "The language(s) of the comment and context. If none are specified, we\nattempt to automatically detect the language. Specifying multiple languages\nmeans the text contains multiple lanugages. Both ISO and BCP-47 language\ncodes are accepted.\n\nThe server returns an error if no language was specified and language\ndetection fails. The server also returns an error if the languages (either\nspecified by the caller, or auto-detected) are not *all* supported by the\nservice.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -182,7 +183,7 @@
|
||||
"additionalProperties": {
|
||||
"$ref": "AttributeParameters"
|
||||
},
|
||||
"description": "Specification of requested attributes. The AttributeParameters serve as\nconfiguration for each associated attribute. The map keys are attribute\nnames. The following attributes are available:\n\"ATTACK_ON_AUTHOR\" - Attack on author of original article or post.\n\"ATTACK_ON_COMMENTER\" - Attack on fellow commenter.\n\"ATTACK_ON_PUBLISHER\" - Attack on publisher of article/post.\n\"INCOHERENT\" - Difficult to understand, nonsensical.\n\"INFLAMMATORY\" - Intending to provoke or inflame.\n\"OBSCENE\" - Obscene, such as cursing.\n\"OFF_TOPIC\" - Not related to the original topic.\n\"SPAM\" - Commercial/advertising spam content.\n\"UNSUBSTANTIAL\" - Trivial.",
|
||||
"description": "Specification of requested attributes. The AttributeParameters serve as\nconfiguration for each associated attribute. The map keys are attribute\nnames. The available attributes may be different on each RFE installation,\nand can be seen by calling ListAttributes (see above).\nFor the prod installation, known as Perspective API, at\nblade:commentanalyzer-esf and commentanalyzer.googleapis.com, see\ngo/checker-models (internal) and\nhttps://github.com/conversationai/perspectiveapi/blob/master/2-api/models.md#all-attribute-types.",
|
||||
"type": "object"
|
||||
},
|
||||
"sessionId": {
|
||||
@@ -219,7 +220,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"languages": {
|
||||
"description": "The language(s) used by CommentAnalyzer service to choose which Model to\nuse when analyzing the comment. Might better be called\n\"effective_languages\". The logic used to make the choice is as follows:\n if Request.languages.empty()\n effective_languages = detected_languages\n else\n effective_languages = Request.languages",
|
||||
"description": "The language(s) used by CommentAnalyzer service to choose which Model to\nuse when analyzing the comment. Might better be called\n\"effective_languages\". The logic used to make the choice is as follows:\n if !Request.languages.empty()\n effective_languages = Request.languages\n else\n effective_languages = detected_languages[0]",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -387,7 +388,7 @@
|
||||
"description": "The context of the comment."
|
||||
},
|
||||
"languages": {
|
||||
"description": "The language(s) of the comment and context (if none are specified, the\nlanguage is automatically detected). If multiple languages are specified,\nthe text is checked in all of them that are supported. Both ISO and BCP-47\nlanguage codes are accepted.\nCurrent Language Restrictions:\n * Only English text (\"en\") is supported.\nIf none of the languages specified by the caller are supported, an\n`UNIMPLEMENTED` error is returned.",
|
||||
"description": "The language(s) of the comment and context. If none are specified, we\nattempt to automatically detect the language. Both ISO and BCP-47 language\ncodes are accepted.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user