* Set the video to public, so it is available to everyone (what
* most people want). This is actually the default, but I wanted you
* to see what it looked like in case you need to set it to
* "unlisted" or "private" via API.
*/
VideoStatus status = new VideoStatus();
status.setPrivacyStatus("public");
videoObjectDefiningMetadata.setStatus(status);
// We set a majority of the metadata with the VideoSnippet object.
VideoSnippet snippet = new VideoSnippet();