public class MapsEngine.Tables.Files
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
MapsEngine.Tables.Files.Insert |
| Constructor and Description |
|---|
MapsEngine.Tables.Files() |
| Modifier and Type | Method and Description |
|---|---|
MapsEngine.Tables.Files.Insert |
insert(java.lang.String id,
java.lang.String filename)
Upload a file to a placeholder table asset.
|
MapsEngine.Tables.Files.Insert |
insert(java.lang.String id,
java.lang.String filename,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Upload a file to a placeholder table asset.
|
public MapsEngine.Tables.Files.Insert insert(java.lang.String id, java.lang.String filename) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the table asset.filename - The file name of this uploaded file.java.io.IOExceptionpublic MapsEngine.Tables.Files.Insert insert(java.lang.String id, java.lang.String filename, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method 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.java.io.IOException - if the initialization of the request fails