public class MapsEngine.Projects.Icons.Create extends MapsEngineRequest<Icon>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
MapsEngine.Projects.Icons.Create(java.lang.String projectId,
Icon content)
Create an icon.
|
protected |
MapsEngine.Projects.Icons.Create(java.lang.String projectId,
Icon content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Create an icon.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProjectId()
The ID of the project.
|
MapsEngine.Projects.Icons.Create |
set(java.lang.String parameterName,
java.lang.Object value) |
MapsEngine.Projects.Icons.Create |
setAlt(java.lang.String alt)
Data format for the response.
|
MapsEngine.Projects.Icons.Create |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
MapsEngine.Projects.Icons.Create |
setKey(java.lang.String key)
API key.
|
MapsEngine.Projects.Icons.Create |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
MapsEngine.Projects.Icons.Create |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
MapsEngine.Projects.Icons.Create |
setProjectId(java.lang.String projectId)
The ID of the project.
|
MapsEngine.Projects.Icons.Create |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
MapsEngine.Projects.Icons.Create |
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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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.Create(java.lang.String projectId,
Icon content)
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.content - the Iconprotected MapsEngine.Projects.Icons.Create(java.lang.String projectId,
Icon content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
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.
This constructor should be used for uploading media content.
projectId - The ID of the project.content - the Icon media metadata or null if nonemediaContent - The media HTTP content or null if none.public MapsEngine.Projects.Icons.Create setAlt(java.lang.String alt)
MapsEngineRequestsetAlt in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setFields(java.lang.String fields)
MapsEngineRequestsetFields in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setKey(java.lang.String key)
MapsEngineRequestsetKey in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setOauthToken(java.lang.String oauthToken)
MapsEngineRequestsetOauthToken in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setPrettyPrint(java.lang.Boolean prettyPrint)
MapsEngineRequestsetPrettyPrint in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setQuotaUser(java.lang.String quotaUser)
MapsEngineRequestsetQuotaUser in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setUserIp(java.lang.String userIp)
MapsEngineRequestsetUserIp in class MapsEngineRequest<Icon>public java.lang.String getProjectId()
public MapsEngine.Projects.Icons.Create setProjectId(java.lang.String projectId)
public MapsEngine.Projects.Icons.Create set(java.lang.String parameterName, java.lang.Object value)
set in class MapsEngineRequest<Icon>