public class Slides.Presentations.Pages.GetThumbnail extends SlidesRequest<Thumbnail>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetThumbnail(String presentationId,
String pageObjectId)
Generates a thumbnail of the latest version of the specified page in the presentation and
returns a URL to the thumbnail image.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getPageObjectId()
The object ID of the page whose thumbnail to retrieve.
|
String |
getPresentationId()
The ID of the presentation to retrieve.
|
String |
getThumbnailPropertiesMimeType()
The optional mime type of the thumbnail image.
|
String |
getThumbnailPropertiesThumbnailSize()
The optional thumbnail image size.
|
Slides.Presentations.Pages.GetThumbnail |
set(String parameterName,
Object value) |
Slides.Presentations.Pages.GetThumbnail |
set$Xgafv(String $Xgafv)
V1 error format.
|
Slides.Presentations.Pages.GetThumbnail |
setAccessToken(String accessToken)
OAuth access token.
|
Slides.Presentations.Pages.GetThumbnail |
setAlt(String alt)
Data format for response.
|
Slides.Presentations.Pages.GetThumbnail |
setCallback(String callback)
JSONP
|
Slides.Presentations.Pages.GetThumbnail |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Slides.Presentations.Pages.GetThumbnail |
setKey(String key)
API key.
|
Slides.Presentations.Pages.GetThumbnail |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Slides.Presentations.Pages.GetThumbnail |
setPageObjectId(String pageObjectId)
The object ID of the page whose thumbnail to retrieve.
|
Slides.Presentations.Pages.GetThumbnail |
setPresentationId(String presentationId)
The ID of the presentation to retrieve.
|
Slides.Presentations.Pages.GetThumbnail |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Slides.Presentations.Pages.GetThumbnail |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Slides.Presentations.Pages.GetThumbnail |
setThumbnailPropertiesMimeType(String thumbnailPropertiesMimeType)
The optional mime type of the thumbnail image.
|
Slides.Presentations.Pages.GetThumbnail |
setThumbnailPropertiesThumbnailSize(String thumbnailPropertiesThumbnailSize)
The optional thumbnail image size.
|
Slides.Presentations.Pages.GetThumbnail |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Slides.Presentations.Pages.GetThumbnail |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected GetThumbnail(String presentationId, String pageObjectId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Slides.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
presentationId
- The ID of the presentation to retrieve.pageObjectId
- The object ID of the page whose thumbnail to retrieve.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Thumbnail>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Thumbnail>
IOException
public Slides.Presentations.Pages.GetThumbnail set$Xgafv(String $Xgafv)
SlidesRequest
set$Xgafv
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setAccessToken(String accessToken)
SlidesRequest
setAccessToken
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setAlt(String alt)
SlidesRequest
setAlt
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setCallback(String callback)
SlidesRequest
setCallback
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setFields(String fields)
SlidesRequest
setFields
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setKey(String key)
SlidesRequest
setKey
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setOauthToken(String oauthToken)
SlidesRequest
setOauthToken
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setPrettyPrint(Boolean prettyPrint)
SlidesRequest
setPrettyPrint
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setQuotaUser(String quotaUser)
SlidesRequest
setQuotaUser
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setUploadType(String uploadType)
SlidesRequest
setUploadType
in class SlidesRequest<Thumbnail>
public Slides.Presentations.Pages.GetThumbnail setUploadProtocol(String uploadProtocol)
SlidesRequest
setUploadProtocol
in class SlidesRequest<Thumbnail>
public String getPresentationId()
public Slides.Presentations.Pages.GetThumbnail setPresentationId(String presentationId)
public String getPageObjectId()
public Slides.Presentations.Pages.GetThumbnail setPageObjectId(String pageObjectId)
public String getThumbnailPropertiesMimeType()
public Slides.Presentations.Pages.GetThumbnail setThumbnailPropertiesMimeType(String thumbnailPropertiesMimeType)
public String getThumbnailPropertiesThumbnailSize()
public Slides.Presentations.Pages.GetThumbnail setThumbnailPropertiesThumbnailSize(String thumbnailPropertiesThumbnailSize)
public Slides.Presentations.Pages.GetThumbnail set(String parameterName, Object value)
set
in class SlidesRequest<Thumbnail>
Copyright © 2011–2024 Google. All rights reserved.