public class MapsEngine.Layers extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MapsEngine.Layers.CancelProcessing |
class |
MapsEngine.Layers.Create |
class |
MapsEngine.Layers.Delete |
class |
MapsEngine.Layers.Get |
class |
MapsEngine.Layers.List |
class |
MapsEngine.Layers.Parents
The "parents" collection of methods.
|
class |
MapsEngine.Layers.Patch |
class |
MapsEngine.Layers.Process |
class |
MapsEngine.Layers.Publish |
class |
MapsEngine.Layers.Unpublish |
| Constructor and Description |
|---|
MapsEngine.Layers() |
| Modifier and Type | Method and Description |
|---|---|
MapsEngine.Layers.CancelProcessing |
cancelProcessing(String id)
Cancel processing on a layer asset.
|
MapsEngine.Layers.Create |
create(Layer content)
Create a layer asset.
|
MapsEngine.Layers.Delete |
delete(String id)
Delete a layer.
|
MapsEngine.Layers.Get |
get(String id)
Return metadata for a particular layer.
|
MapsEngine.Layers.List |
list()
Return all layers readable by the current user.
|
MapsEngine.Layers.Parents |
parents()
An accessor for creating requests from the Parents collection.
|
MapsEngine.Layers.Patch |
patch(String id,
Layer content)
Mutate a layer asset.
|
MapsEngine.Layers.Process |
process(String id)
Process a layer asset.
|
MapsEngine.Layers.Publish |
publish(String id)
Publish a layer asset.
|
MapsEngine.Layers.Unpublish |
unpublish(String id)
Unpublish a layer asset.
|
public MapsEngine.Layers.CancelProcessing cancelProcessing(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.IOExceptionpublic MapsEngine.Layers.Create create(Layer content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the LayerIOExceptionpublic MapsEngine.Layers.Delete delete(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer. Only the layer creator or project owner are permitted to delete. If the layer
is published, or included in a map, the request will fail. Unpublish the layer, and remove
it from all maps prior to deleting.IOExceptionpublic MapsEngine.Layers.Get get(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.IOExceptionpublic MapsEngine.Layers.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic MapsEngine.Layers.Patch patch(String id, Layer content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.content - the LayerIOExceptionpublic MapsEngine.Layers.Process process(String id) throws IOException
Process#execute() method to invoke the remote operation.id - The ID of the layer.IOExceptionpublic MapsEngine.Layers.Publish publish(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.IOExceptionpublic MapsEngine.Layers.Unpublish unpublish(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.IOExceptionpublic MapsEngine.Layers.Parents parents()
The typical use is:
MapsEngine mapsengine = new MapsEngine(...);MapsEngine.Parents.List request = mapsengine.parents().list(parameters ...)