| 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,
com.google.api.client.http.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.IOExceptionpublic YouTube.Thumbnails.Set set(String videoId, com.google.api.client.http.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.IOException - if the initialization of the request failsCopyright © 2011–2024 Google. All rights reserved.