Skip to main content

Documentation

Library Exports.VideoAbuseReportReason

A YouTube Video abuse report reason.

Constructors

constructor

new VideoAbuseReportReason(youtube, data, full?)

Parameters

NameTypeDefault value
youtubeYouTubeundefined
dataSchema$VideoAbuseReportReasonundefined
fullbooleantrue

Defined in

entities/video-abuse-report-reason.ts:53

Properties

data

data: any

The raw data of this reason.

Defined in

entities/video-abuse-report-reason.ts:36


full

full: boolean = true

Whether or not this is a full reason object.

Defined in

entities/video-abuse-report-reason.ts:31


id

id: string

The ID of this reason.

Defined in

entities/video-abuse-report-reason.ts:41


label

label: string

The label text of this reason.

Defined in

entities/video-abuse-report-reason.ts:46


secondaryReasons

secondaryReasons: { id?: string ; label?: string }[]

A list of secondary reasons associated with the reason, if any are available.

Defined in

entities/video-abuse-report-reason.ts:51


youtube

youtube: YouTube

The YouTube object that created this reason object.

Defined in

entities/video-abuse-report-reason.ts:26


endpoint

Static endpoint: string = 'videoAbuseReportReasons'

The name of the endpoint used for this entity.

Defined in

entities/video-abuse-report-reason.ts:11


fields

Static fields: string = 'items(kind,id,snippet(label,secondaryReasons))'

The fields to request for this entity.

Defined in

entities/video-abuse-report-reason.ts:21


part

Static part: string = 'snippet'

The parts to request for this entity.

Defined in

entities/video-abuse-report-reason.ts:16