Metode ini memiliki satu kasus penggunaan umum, yang dijelaskan di bawah ini. Tombol di bawah deskripsi mengisi APIs Explorer dengan nilai contoh atau membuka APIs Explorer layar penuh untuk menampilkan contoh kode yang menggunakan nilai tersebut. Contoh kode juga diperbarui secara dinamis jika Anda mengubah nilainya.

This example updates a caption track. When updating a track, you must set the snippet.videoId, snippet.language, and snippet.name property values to the values set for an existing caption track.

You can change the snippet.isDraft property to make the track public or private.

You can also modify the track itself by uploading a new file.