Method: media.download
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-25。
[null,null,["最后更新时间 (UTC):2025-02-25。"],[[["Download media via the `/download/{resourceName=**}?alt=media` URI, ensuring to include `alt=media`."],["The request uses the `GET` method and requires an empty request body."],["A successful response returns a `Media` object containing the downloaded content."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."],["The `resourceName` path parameter specifies the name of the media to be downloaded."]]],["The core function is media downloading via the URI `/download/{resourceName=**}?alt=media`. A `GET` request is sent to `https://displayvideo.googleapis.com/download/{resourceName=**}`, requiring the `alt=media` query string. The `resourceName` path parameter specifies the media to download, with an empty request body. A successful response returns a `Media` instance. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The process uses gRPC Transcoding.\n"]]