Documentation
Library Exports.VideoAbuseReportReason
A YouTube Video abuse report reason.
Constructors
constructor
• new VideoAbuseReportReason(youtube, data, full?)
Parameters
| Name | Type | Default value |
|---|---|---|
youtube | YouTube | undefined |
data | any | undefined |
full | boolean | true |
Defined in
entities/video-abuse-report-reason.ts:52
Properties
data
• data: any
The raw data of this reason.
Defined in
entities/video-abuse-report-reason.ts:35
full
• full: boolean = true
Whether or not this is a full reason object.
Defined in
entities/video-abuse-report-reason.ts:30
id
• id: string
The ID of this reason.
Defined in
entities/video-abuse-report-reason.ts:40
label
• label: string
The label text of this reason.
Defined in
entities/video-abuse-report-reason.ts:45
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:50
youtube
• youtube: YouTube
The YouTube object that created this reason object.
Defined in
entities/video-abuse-report-reason.ts:25
endpoint
▪ Static endpoint: string = 'videoAbuseReportReasons'
The name of the endpoint used for this entity.
Defined in
entities/video-abuse-report-reason.ts:10
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:20
part
▪ Static part: string = 'snippet'
The parts to request for this entity.