public class MapsEngine.Maps extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MapsEngine.Maps.Create |
class |
MapsEngine.Maps.Delete |
class |
MapsEngine.Maps.Get |
class |
MapsEngine.Maps.GetPublished |
class |
MapsEngine.Maps.List |
class |
MapsEngine.Maps.ListPublished |
class |
MapsEngine.Maps.Patch |
class |
MapsEngine.Maps.Publish |
class |
MapsEngine.Maps.Unpublish |
| Constructor and Description |
|---|
MapsEngine.Maps() |
| Modifier and Type | Method and Description |
|---|---|
MapsEngine.Maps.Create |
create(Map content)
Create a map asset.
|
MapsEngine.Maps.Delete |
delete(String id)
Delete a map.
|
MapsEngine.Maps.Get |
get(String id)
Return metadata for a particular map.
|
MapsEngine.Maps.GetPublished |
getPublished(String id)
Return the published metadata for a particular map.
|
MapsEngine.Maps.List |
list()
Return all maps readable by the current user.
|
MapsEngine.Maps.ListPublished |
listPublished()
Return all published maps readable by the current user.
|
MapsEngine.Maps.Patch |
patch(String id,
Map content)
Mutate a map asset.
|
MapsEngine.Maps.Publish |
publish(String id)
Publish a map asset.
|
MapsEngine.Maps.Unpublish |
unpublish(String id)
Unpublish a map asset.
|
public MapsEngine.Maps.Create create(Map content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the MapIOExceptionpublic MapsEngine.Maps.Delete delete(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the map. Only the map creator or project owner are permitted to delete. If the map is
published the request will fail. Unpublish the map prior to deleting.IOExceptionpublic MapsEngine.Maps.Get get(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the map.IOExceptionpublic MapsEngine.Maps.GetPublished getPublished(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.id - The ID of the map.IOExceptionpublic MapsEngine.Maps.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic MapsEngine.Maps.ListPublished listPublished() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.IOExceptionpublic MapsEngine.Maps.Patch patch(String id, Map content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the map.content - the MapIOExceptionpublic MapsEngine.Maps.Publish publish(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the map.IOExceptionpublic MapsEngine.Maps.Unpublish unpublish(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the map.IOException