YouTube Data API v3 . videoAbuseReportReasons

Instance Methods

close()

Close httplib2 connections.

list(part, hl=None, x__xgafv=None)

Retrieves a list of resources, possibly filtered.

Method Details

close()
Close httplib2 connections.
list(part, hl=None, x__xgafv=None)
Retrieves a list of resources, possibly filtered.

Args:
  part: string, The *part* parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet. (required) (repeated)
  hl: string, A parameter
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "etag": "A String", # Etag of this resource.
  "eventId": "A String", # Serialized EventId of the request which produced this response.
  "items": [ # A list of valid abuse reasons that are used with `video.ReportAbuse`.
    { # A `__videoAbuseReportReason__` resource identifies a reason that a video could be reported as abusive. Video abuse report reasons are used with `video.ReportAbuse`.
      "etag": "A String", # Etag of this resource.
      "id": "A String", # The ID of this abuse report reason.
      "kind": "youtube#videoAbuseReportReason", # Identifies what kind of resource this is. Value: the fixed string `"youtube#videoAbuseReportReason"`.
      "snippet": { # Basic details about a video category, such as its localized title. # The `snippet` object contains basic details about the abuse report reason.
        "label": "A String", # The localized label belonging to this abuse report reason.
        "secondaryReasons": [ # The secondary reasons associated with this reason, if any are available. (There might be 0 or more.)
          {
            "id": "A String", # The ID of this abuse report secondary reason.
            "label": "A String", # The localized label for this abuse report secondary reason.
          },
        ],
      },
    },
  ],
  "kind": "youtube#videoAbuseReportReasonListResponse", # Identifies what kind of resource this is. Value: the fixed string `"youtube#videoAbuseReportReasonListResponse"`.
  "visitorId": "A String", # The `visitorId` identifies the visitor.
}