Modifier and Type | Class and Description |
---|---|
class |
YouTube.Thumbnails.Set |
Constructor and Description |
---|
Thumbnails() |
Modifier and Type | Method and Description |
---|---|
YouTube.Thumbnails.Set |
set(String videoId)
As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for
multiple videos, which doesn't result in creation of a single resource), I use a custom verb
here.
|
YouTube.Thumbnails.Set |
set(String videoId,
AbstractInputStreamContent mediaContent)
As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for
multiple videos, which doesn't result in creation of a single resource), I use a custom verb
here.
|
public YouTube.Thumbnails.Set set(String videoId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.videoId
- Returns the Thumbnail with the given video IDs for Stubby or Apiary.IOException
public YouTube.Thumbnails.Set set(String videoId, AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
videoId
- Returns the Thumbnail with the given video IDs for Stubby or Apiary.mediaContent
- The media HTTP content or null
if none.IOException
- if the initialization of the request failsCopyright © 2011–2020 Google. All rights reserved.