public class MapsEngine.Projects.Icons
extends java.lang.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(java.lang.String projectId,
Icon content)
Create an icon.
|
MapsEngine.Projects.Icons.Create |
create(java.lang.String projectId,
Icon content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Create an icon.
|
MapsEngine.Projects.Icons.Get |
get(java.lang.String projectId,
java.lang.String id)
Return metadata for a specific icon
Create a request for the method "icons.get".
|
MapsEngine.Projects.Icons.List |
list(java.lang.String projectId)
Return all icons in the current project
Create a request for the method "icons.list".
|
public MapsEngine.Projects.Icons.Create create(java.lang.String projectId, Icon content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The ID of the project.content - the Iconjava.io.IOExceptionpublic MapsEngine.Projects.Icons.Create create(java.lang.String projectId, Icon content, 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.
projectId - The ID of the project.content - the Icon media metadata or null if nonemediaContent - The media HTTP content or null if none.java.io.IOException - if the initialization of the request failspublic MapsEngine.Projects.Icons.Get get(java.lang.String projectId, java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The ID of the project.id - The ID of the icon.java.io.IOExceptionpublic MapsEngine.Projects.Icons.List list(java.lang.String projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - The ID of the project.java.io.IOException