public class MapsEngine.Projects.Icons.Get extends MapsEngineRequest<Icon>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
MapsEngine.Projects.Icons.Get(java.lang.String projectId,
java.lang.String id)
Return an icon or its associated metadata
Create a request for the method "icons.get".
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeMedia() |
void |
executeMediaAndDownloadTo(java.io.OutputStream outputStream) |
java.io.InputStream |
executeMediaAsInputStream() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getId()
The ID of the icon.
|
java.lang.String |
getProjectId()
The ID of the project.
|
MapsEngine.Projects.Icons.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
MapsEngine.Projects.Icons.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
MapsEngine.Projects.Icons.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
MapsEngine.Projects.Icons.Get |
setId(java.lang.String id)
The ID of the icon.
|
MapsEngine.Projects.Icons.Get |
setKey(java.lang.String key)
API key.
|
MapsEngine.Projects.Icons.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
MapsEngine.Projects.Icons.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
MapsEngine.Projects.Icons.Get |
setProjectId(java.lang.String projectId)
The ID of the project.
|
MapsEngine.Projects.Icons.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
MapsEngine.Projects.Icons.Get |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected MapsEngine.Projects.Icons.Get(java.lang.String projectId,
java.lang.String id)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
MapsEngine.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
projectId - The ID of the project.id - The ID of the icon.public void executeMediaAndDownloadTo(java.io.OutputStream outputStream)
throws java.io.IOException
executeMediaAndDownloadTo in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Icon>java.io.IOExceptionpublic java.io.InputStream executeMediaAsInputStream()
throws java.io.IOException
executeMediaAsInputStream in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Icon>java.io.IOExceptionpublic com.google.api.client.http.HttpResponse executeMedia()
throws java.io.IOException
executeMedia in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Icon>java.io.IOExceptionpublic com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Icon>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Icon>java.io.IOExceptionpublic MapsEngine.Projects.Icons.Get setAlt(java.lang.String alt)
MapsEngineRequestsetAlt in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Get setFields(java.lang.String fields)
MapsEngineRequestsetFields in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Get setKey(java.lang.String key)
MapsEngineRequestsetKey in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Get setOauthToken(java.lang.String oauthToken)
MapsEngineRequestsetOauthToken in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Get setPrettyPrint(java.lang.Boolean prettyPrint)
MapsEngineRequestsetPrettyPrint in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Get setQuotaUser(java.lang.String quotaUser)
MapsEngineRequestsetQuotaUser in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Get setUserIp(java.lang.String userIp)
MapsEngineRequestsetUserIp in class MapsEngineRequest<Icon>public java.lang.String getProjectId()
public MapsEngine.Projects.Icons.Get setProjectId(java.lang.String projectId)
public java.lang.String getId()
public MapsEngine.Projects.Icons.Get setId(java.lang.String id)
public MapsEngine.Projects.Icons.Get set(java.lang.String parameterName, java.lang.Object value)
set in class MapsEngineRequest<Icon>