public class MapsEngine.Layers.Get extends MapsEngineRequest<Layer>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
MapsEngine.Layers.Get(String id)
Return metadata for a particular layer.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getId()
The ID of the layer.
|
String |
getVersion() |
MapsEngine.Layers.Get |
set(String parameterName,
Object value) |
MapsEngine.Layers.Get |
setAlt(String alt)
Data format for the response.
|
MapsEngine.Layers.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
MapsEngine.Layers.Get |
setId(String id)
The ID of the layer.
|
MapsEngine.Layers.Get |
setKey(String key)
API key.
|
MapsEngine.Layers.Get |
setOauthToken(String oauthtoken)
OAuth 2.0 token for the current user.
|
MapsEngine.Layers.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
MapsEngine.Layers.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
MapsEngine.Layers.Get |
setUserIp(String userIp)
IP address of the site where the request originates.
|
MapsEngine.Layers.Get |
setVersion(String version) |
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected MapsEngine.Layers.Get(String id)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
MapsEngine.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
id - The ID of the layer.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Layer>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Layer>IOExceptionpublic MapsEngine.Layers.Get setAlt(String alt)
MapsEngineRequestsetAlt in class MapsEngineRequest<Layer>public MapsEngine.Layers.Get setFields(String fields)
MapsEngineRequestsetFields in class MapsEngineRequest<Layer>public MapsEngine.Layers.Get setKey(String key)
MapsEngineRequestsetKey in class MapsEngineRequest<Layer>public MapsEngine.Layers.Get setOauthToken(String oauthtoken)
MapsEngineRequestsetOauthToken in class MapsEngineRequest<Layer>public MapsEngine.Layers.Get setPrettyPrint(Boolean prettyPrint)
MapsEngineRequestsetPrettyPrint in class MapsEngineRequest<Layer>public MapsEngine.Layers.Get setQuotaUser(String quotaUser)
MapsEngineRequestsetQuotaUser in class MapsEngineRequest<Layer>public MapsEngine.Layers.Get setUserIp(String userIp)
MapsEngineRequestsetUserIp in class MapsEngineRequest<Layer>public String getId()
public MapsEngine.Layers.Get setId(String id)
public String getVersion()
public MapsEngine.Layers.Get setVersion(String version)
public MapsEngine.Layers.Get set(String parameterName, Object value)
set in class MapsEngineRequest<Layer>