# YouTube Data API v3 . abuseReports

## Instance Methods

Close httplib2 connections.

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:

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

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

    Returns:
      An object of the form:

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