Method: media.download
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-25 (世界標準時間)。
[null,null,["上次更新時間: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"]]