Documentation

Google_Service_CommentAnalyzer extends Google_Service
in package

Service definition for CommentAnalyzer (v1alpha1).

The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.

For more information about this service, see the API Documentation

Tags
author

Google, Inc.

Table of Contents

USERINFO_EMAIL  = "https://www.googleapis.com/auth/userinfo.email"
View your email address.
$availableScopes  : mixed
$batchPath  : mixed
$comments  : mixed
$resource  : mixed
$rootUrl  : mixed
$servicePath  : mixed
$version  : mixed
$client  : mixed
__construct()  : mixed
Constructs the internal representation of the CommentAnalyzer service.
createBatch()  : Google_Http_Batch
Create a new HTTP Batch handler for this service
getClient()  : Google_Client
Return the associated Google_Client class.

Constants

USERINFO_EMAIL

View your email address.

public mixed USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email"

Properties

$availableScopes

public mixed $availableScopes

$servicePath

public mixed $servicePath

Methods

__construct()

Constructs the internal representation of the CommentAnalyzer service.

public __construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
$client : Google_Client

The client used to deliver requests.

$rootUrl : string = null

The root URL used for requests to the service.

Return values
mixed

Search results