Google 课堂插件现已面向开发者正式推出!如需了解详情,请参阅
插件文档。
YouTubeVideo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"id": string,
"title": string,
"alternateLink": string,
"thumbnailUrl": string
} |
字段 |
id |
string
YouTube API 资源 ID。
|
title |
string
YouTube 视频的标题。 只读。
|
alternateLink |
string
可用于观看 YouTube 视频的网址。 只读。
|
thumbnailUrl |
string
YouTube 视频的缩略图图片的网址。 只读。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# YouTubeVideo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nYouTube video item.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"title\": string, \"alternateLink\": string, \"thumbnailUrl\": string } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------|\n| `id` | `string` YouTube API resource ID. |\n| `title` | `string` Title of the YouTube video. Read-only. |\n| `alternateLink` | `string` URL that can be used to view the YouTube video. Read-only. |\n| `thumbnailUrl` | `string` URL of a thumbnail image of the YouTube video. Read-only. |"]]