public class MapsEngine.Projects.Icons extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MapsEngine.Projects.Icons.Create |
class |
MapsEngine.Projects.Icons.Get |
class |
MapsEngine.Projects.Icons.List |
| Constructor and Description |
|---|
MapsEngine.Projects.Icons() |
| Modifier and Type | Method and Description |
|---|---|
MapsEngine.Projects.Icons.Create |
create(String projectId,
Icon content)
Create an icon.
|
MapsEngine.Projects.Icons.Create |
create(String projectId,
Icon content,
AbstractInputStreamContent mediaContent)
Create an icon.
|
MapsEngine.Projects.Icons.Get |
get(String projectId,
String id)
Return metadata for a specific icon
Create a request for the method "icons.get".
|
MapsEngine.Projects.Icons.List |
list(String projectId)
Return all icons in the current project
Create a request for the method "icons.list".
|
public MapsEngine.Projects.Icons.Create create(String projectId, Icon content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The ID of the project.content - the IconIOExceptionpublic MapsEngine.Projects.Icons.Create create(String projectId, Icon content, AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method 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.IOException - if the initialization of the request failspublic MapsEngine.Projects.Icons.Get get(String projectId, String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The ID of the project.id - The ID of the icon.IOExceptionpublic MapsEngine.Projects.Icons.List list(String projectId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The ID of the project.IOException