VideoAbuseReportReasons
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
videoAbuseReportReason
资源包含有关视频被标记为包含侮辱性内容的原因的信息。当您的应用调用 videos.reportAbuse
方法举报滥用视频时,该请求会使用 videoAbuseReportReason
资源中的信息来确定举报视频的原因。
方法
该 API 支持对 videoAbuseReportReasons
资源使用以下方法:
- list
- 检索可用于举报滥用视频的原因列表。
立即试用。
属性
下表定义了此资源中显示的属性:
属性 |
kind |
string
用于标识 API 资源的类型。该值将为 youtube#videoAbuseReportReason 。 |
etag |
etag
此资源的 ETag。 |
id |
string
这是 YouTube 用于标识原因的 ID。调用 videos.reportAbuse 方法时,应用应使用此值来设置 reasonId 属性。 |
snippet |
object
snippet 对象包含有关原因的基本详细信息。 |
snippet.label |
string
滥用行为举报原因的本地化标签文本。 |
snippet.secondaryReasons[] |
list
与该原因相关的次要原因列表(如果有)。(可能为 0 或更多)。 |
snippet.secondaryReasons[].id |
string
这是 YouTube 用于标识次要原因的 ID。调用 videos.reportAbuse 方法时,应用应使用此值来设置 secondaryReasonId 属性。 |
snippet.secondaryReasons[].label |
string
次要原因的本地化标签文本。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eA \u003ccode\u003evideoAbuseReportReason\u003c/code\u003e resource provides the reasons for flagging a video as abusive.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evideos.reportAbuse\u003c/code\u003e method utilizes \u003ccode\u003evideoAbuseReportReason\u003c/code\u003e data to specify why a video is being reported.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003evideoAbuseReportReasons.list\u003c/code\u003e method lets users get a list of reasons for reporting abusive videos.\u003c/p\u003e\n"],["\u003cp\u003eThe resource is represented in JSON format, containing an id, kind, etag and snippet, along with additional nested information, such as secondary reasons.\u003c/p\u003e\n"],["\u003cp\u003eEach of the labels and secondary reasons available to report a video with also have an ID that is used when using the \u003ccode\u003evideos.reportAbuse\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `videoAbuseReportReason` resource provides data for flagging abusive video content. It contains an ID, localized label, and optional secondary reasons, each with their ID and label. The `videos.reportAbuse` method uses the `videoAbuseReportReason` data, which you can list by calling the `videoAbuseReportReasons/list` method. The resource's `id` property is used in the `videos.reportAbuse` method to define the reason for the report. Secondary reasons are listed in the `snippet` property.\n"],null,[]]