Ta metoda ma jeden typowy przypadek użycia, który został opisany poniżej. Przyciski pod opisem mogą wpisać w interfejsie APIs Explorer przykładowe wartości lub otworzyć pełnoekranowe eksplorator interfejsów API w celu wyświetlenia przykładów kodu, które korzystają z tych wartości. Przykładowy kod jest też dynamicznie aktualizowany, jeśli zmienisz wartości.

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.