Method: media.download
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-25 UTC
[null,null,["อัปเดตล่าสุด 2025-02-25 UTC"],[[["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"]]