# YouTube Data API v3 . abuseReports

## Instance Methods

Inserts a new resource into this collection.

### Method Details

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

    Inserts a new resource into this collection.

    Args:
      part: string, The <code><strong>part</strong></code> 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": {
          "url": "A String",
          "id": "A String",
          "typeId": "A String",
        },
        "relatedEntities": [
          {
            "entity": {
              "url": "A String",
              "id": "A String",
              "typeId": "A String",
            },
          },
        ],
        "description": "A String",
        "abuseTypes": [
          {
            "id": "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": {
            "url": "A String",
            "id": "A String",
            "typeId": "A String",
          },
          "relatedEntities": [
            {
              "entity": {
                "url": "A String",
                "id": "A String",
                "typeId": "A String",
              },
            },
          ],
          "description": "A String",
          "abuseTypes": [
            {
              "id": "A String",
            },
          ],
        }