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