YouTube Data API v3 . abuseReports

Instance Methods

close()

Close httplib2 connections.

insert(part, body=None, x__xgafv=None)

Inserts a new resource into this collection.

Method Details

close()
Close httplib2 connections.
insert(part, body=None, x__xgafv=None)
Inserts a new resource into this collection.

Args:
  part: string, 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. (required) (repeated)
  body: object, The request body.
    The object takes the form of:

{
  "abuseTypes": [
    {
      "id": "A String",
    },
  ],
  "description": "A String",
  "relatedEntities": [
    {
      "entity": {
        "id": "A String",
        "typeId": "A String",
        "url": "A String",
      },
    },
  ],
  "subject": {
    "id": "A String",
    "typeId": "A String",
    "url": "A String",
  },
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "abuseTypes": [
    {
      "id": "A String",
    },
  ],
  "description": "A String",
  "relatedEntities": [
    {
      "entity": {
        "id": "A String",
        "typeId": "A String",
        "url": "A String",
      },
    },
  ],
  "subject": {
    "id": "A String",
    "typeId": "A String",
    "url": "A String",
  },
}