public class MapsEngine.Projects.Icons.Create extends MapsEngineRequest<Icon>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
MapsEngine.Projects.Icons.Create(String projectId,
Icon content)
Create an icon.
|
protected |
MapsEngine.Projects.Icons.Create(String projectId,
Icon content,
AbstractInputStreamContent mediaContent)
Create an icon.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProjectId()
The ID of the project.
|
MapsEngine.Projects.Icons.Create |
set(String parameterName,
Object value) |
MapsEngine.Projects.Icons.Create |
setAlt(String alt)
Data format for the response.
|
MapsEngine.Projects.Icons.Create |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
MapsEngine.Projects.Icons.Create |
setKey(String key)
API key.
|
MapsEngine.Projects.Icons.Create |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
MapsEngine.Projects.Icons.Create |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
MapsEngine.Projects.Icons.Create |
setProjectId(String projectId)
The ID of the project.
|
MapsEngine.Projects.Icons.Create |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
MapsEngine.Projects.Icons.Create |
setUserIp(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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected MapsEngine.Projects.Icons.Create(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(String projectId, Icon content, 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(String alt)
MapsEngineRequestsetAlt in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setFields(String fields)
MapsEngineRequestsetFields in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setKey(String key)
MapsEngineRequestsetKey in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setOauthToken(String oauthToken)
MapsEngineRequestsetOauthToken in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setPrettyPrint(Boolean prettyPrint)
MapsEngineRequestsetPrettyPrint in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setQuotaUser(String quotaUser)
MapsEngineRequestsetQuotaUser in class MapsEngineRequest<Icon>public MapsEngine.Projects.Icons.Create setUserIp(String userIp)
MapsEngineRequestsetUserIp in class MapsEngineRequest<Icon>public String getProjectId()
public MapsEngine.Projects.Icons.Create setProjectId(String projectId)
public MapsEngine.Projects.Icons.Create set(String parameterName, Object value)
set in class MapsEngineRequest<Icon>