Class AnalyzeCommentResponse
The comment analysis response message.
Inheritance
System.Object
AnalyzeCommentResponse
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CommentAnalyzer.v1alpha1.Data
Assembly: Google.Apis.CommentAnalyzer.v1alpha1.dll
Syntax
public class AnalyzeCommentResponse : IDirectResponseSchema
Properties
AttributeScores
Scores for the requested attributes. The map keys are attribute names (same as the requested_attribute field in AnalyzeCommentRequest, for example "ATTACK_ON_AUTHOR", "INFLAMMATORY", etc).
Declaration
[JsonProperty("attributeScores")]
public virtual IDictionary<string, AttributeScores> AttributeScores { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, AttributeScores> |
ClientToken
Same token from the original AnalyzeCommentRequest.
Declaration
[JsonProperty("clientToken")]
public virtual string ClientToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DetectedLanguages
Contains the languages detected from the text content, sorted in order of likelihood.
Declaration
[JsonProperty("detectedLanguages")]
public virtual IList<string> DetectedLanguages { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Languages
The language(s) used by CommentAnalyzer service to choose which Model to use when analyzing the comment. Might better be called "effective_languages". The logic used to make the choice is as follows: if !Request.languages.empty() effective_languages = Request.languages else effective_languages = detected_languages[0]
Declaration
[JsonProperty("languages")]
public virtual IList<string> Languages { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |