public class MapsEngine.Tables.Files.Insert extends MapsEngineRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
MapsEngine.Tables.Files.Insert(String id,
String filename)
Upload a file to a placeholder table asset.
|
protected |
MapsEngine.Tables.Files.Insert(String id,
String filename,
AbstractInputStreamContent mediaContent)
Upload a file to a placeholder table asset.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilename()
The file name of this uploaded file.
|
String |
getId()
The ID of the table asset.
|
MapsEngine.Tables.Files.Insert |
set(String parameterName,
Object value) |
MapsEngine.Tables.Files.Insert |
setAlt(String alt)
Data format for the response.
|
MapsEngine.Tables.Files.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
MapsEngine.Tables.Files.Insert |
setFilename(String filename)
The file name of this uploaded file.
|
MapsEngine.Tables.Files.Insert |
setId(String id)
The ID of the table asset.
|
MapsEngine.Tables.Files.Insert |
setKey(String key)
API key.
|
MapsEngine.Tables.Files.Insert |
setOauthToken(String oauthtoken)
OAuth 2.0 token for the current user.
|
MapsEngine.Tables.Files.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
MapsEngine.Tables.Files.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
MapsEngine.Tables.Files.Insert |
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.Tables.Files.Insert(String id, String filename)
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.
id - The ID of the table asset.filename - The file name of this uploaded file.protected MapsEngine.Tables.Files.Insert(String id, String filename, 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.
id - The ID of the table asset.@param filename The file name of this uploaded file.mediaContent - The media HTTP content or null if none.public MapsEngine.Tables.Files.Insert setAlt(String alt)
MapsEngineRequestsetAlt in class MapsEngineRequest<Void>public MapsEngine.Tables.Files.Insert setFields(String fields)
MapsEngineRequestsetFields in class MapsEngineRequest<Void>public MapsEngine.Tables.Files.Insert setKey(String key)
MapsEngineRequestsetKey in class MapsEngineRequest<Void>public MapsEngine.Tables.Files.Insert setOauthToken(String oauthtoken)
MapsEngineRequestsetOauthToken in class MapsEngineRequest<Void>public MapsEngine.Tables.Files.Insert setPrettyPrint(Boolean prettyPrint)
MapsEngineRequestsetPrettyPrint in class MapsEngineRequest<Void>public MapsEngine.Tables.Files.Insert setQuotaUser(String quotaUser)
MapsEngineRequestsetQuotaUser in class MapsEngineRequest<Void>public MapsEngine.Tables.Files.Insert setUserIp(String userIp)
MapsEngineRequestsetUserIp in class MapsEngineRequest<Void>public String getId()
public MapsEngine.Tables.Files.Insert setId(String id)
public String getFilename()
public MapsEngine.Tables.Files.Insert setFilename(String filename)
public MapsEngine.Tables.Files.Insert set(String parameterName, Object value)
set in class MapsEngineRequest<Void>