class AbuseReports extends Resource (View source)

The "abuseReports" collection of methods.

Typical usage is:

 $youtubeService = new Google\Service\YouTube(...);
 $abuseReports = $youtubeService->abuseReports;

Methods

insert(string|array $part, AbuseReport $postBody, array $optParams = [])

Inserts a new resource into this collection. (abuseReports.insert)

Details

AbuseReport insert(string|array $part, AbuseReport $postBody, array $optParams = [])

Inserts a new resource into this collection. (abuseReports.insert)

Parameters

string|array $part

The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.

AbuseReport $postBody
array $optParams

Optional parameters.

Return Value

AbuseReport

Exceptions

Exception