# YouTube Data API v3 . videoTrainability

## Instance Methods

Close httplib2 connections.

Returns the trainability status of a video.

### Method Details

`close()`

    Close httplib2 connections.

`get(id=None, x__xgafv=None)`

    Returns the trainability status of a video.

    Args:
      id: string, The ID of the video to retrieve.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Specifies who is allowed to train on the video.
      "etag": "A String", # Etag of this resource.
      "kind": "youtube#videoTrainability", # Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability".
      "permitted": [ # Specifies who is allowed to train on the video. Valid values are: - a single string "all" - a single string "none" - a list of allowed parties
        "A String",
      ],
      "videoId": "A String", # The ID of the video.
    }