public class MapsEngine.Layers
extends java.lang.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.Permissions
The "permissions" collection of methods.
|
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(java.lang.String id)
Cancel processing on a layer asset.
|
MapsEngine.Layers.Create |
create(Layer content)
Create a layer asset.
|
MapsEngine.Layers.Delete |
delete(java.lang.String id)
Delete a layer.
|
MapsEngine.Layers.Get |
get(java.lang.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(java.lang.String id,
Layer content)
Mutate a layer asset.
|
MapsEngine.Layers.Permissions |
permissions()
An accessor for creating requests from the Permissions collection.
|
MapsEngine.Layers.Process |
process(java.lang.String id)
Process a layer asset.
|
MapsEngine.Layers.Publish |
publish(java.lang.String id)
Publish a layer asset.
|
MapsEngine.Layers.Unpublish |
unpublish(java.lang.String id)
Unpublish a layer asset.
|
public MapsEngine.Layers.CancelProcessing cancelProcessing(java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.java.io.IOExceptionpublic MapsEngine.Layers.Create create(Layer content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the Layerjava.io.IOExceptionpublic MapsEngine.Layers.Delete delete(java.lang.String id) throws java.io.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.java.io.IOExceptionpublic MapsEngine.Layers.Get get(java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.java.io.IOExceptionpublic MapsEngine.Layers.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic MapsEngine.Layers.Patch patch(java.lang.String id, Layer content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.content - the Layerjava.io.IOExceptionpublic MapsEngine.Layers.Process process(java.lang.String id) throws java.io.IOException
Process#execute() method to invoke the remote operation.id - The ID of the layer.java.io.IOExceptionpublic MapsEngine.Layers.Publish publish(java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.java.io.IOExceptionpublic MapsEngine.Layers.Unpublish unpublish(java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the layer.java.io.IOExceptionpublic MapsEngine.Layers.Parents parents()
The typical use is:
MapsEngine mapsengine = new MapsEngine(...);MapsEngine.Parents.List request = mapsengine.parents().list(parameters ...)
public MapsEngine.Layers.Permissions permissions()
The typical use is:
MapsEngine mapsengine = new MapsEngine(...);MapsEngine.Permissions.List request = mapsengine.permissions().list(parameters ...)