public class MapsPlaces.Places.Get extends MapsPlacesRequest<GoogleMapsPlacesV1Place>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String name)
Get the details of a place based on its resource name, which is a string in the
`places/{place_id}` format.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getLanguageCode()
Optional.
|
String |
getName()
Required.
|
String |
getRegionCode()
Optional.
|
String |
getSessionToken()
Optional.
|
MapsPlaces.Places.Get |
set(String parameterName,
Object value) |
MapsPlaces.Places.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
MapsPlaces.Places.Get |
setAccessToken(String accessToken)
OAuth access token.
|
MapsPlaces.Places.Get |
setAlt(String alt)
Data format for response.
|
MapsPlaces.Places.Get |
setCallback(String callback)
JSONP
|
MapsPlaces.Places.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
MapsPlaces.Places.Get |
setKey(String key)
API key.
|
MapsPlaces.Places.Get |
setLanguageCode(String languageCode)
Optional.
|
MapsPlaces.Places.Get |
setName(String name)
Required.
|
MapsPlaces.Places.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
MapsPlaces.Places.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
MapsPlaces.Places.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
MapsPlaces.Places.Get |
setRegionCode(String regionCode)
Optional.
|
MapsPlaces.Places.Get |
setSessionToken(String sessionToken)
Optional.
|
MapsPlaces.Places.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
MapsPlaces.Places.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String name)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. MapsPlaces.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
name - Required. The resource name of a place, in the `places/{place_id}` format.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GoogleMapsPlacesV1Place>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GoogleMapsPlacesV1Place>IOExceptionpublic MapsPlaces.Places.Get set$Xgafv(String $Xgafv)
MapsPlacesRequestset$Xgafv in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setAccessToken(String accessToken)
MapsPlacesRequestsetAccessToken in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setAlt(String alt)
MapsPlacesRequestsetAlt in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setCallback(String callback)
MapsPlacesRequestsetCallback in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setFields(String fields)
MapsPlacesRequestsetFields in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setKey(String key)
MapsPlacesRequestsetKey in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setOauthToken(String oauthToken)
MapsPlacesRequestsetOauthToken in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setPrettyPrint(Boolean prettyPrint)
MapsPlacesRequestsetPrettyPrint in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setQuotaUser(String quotaUser)
MapsPlacesRequestsetQuotaUser in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setUploadType(String uploadType)
MapsPlacesRequestsetUploadType in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public MapsPlaces.Places.Get setUploadProtocol(String uploadProtocol)
MapsPlacesRequestsetUploadProtocol in class MapsPlacesRequest<GoogleMapsPlacesV1Place>public String getName()
public MapsPlaces.Places.Get setName(String name)
public String getLanguageCode()
public MapsPlaces.Places.Get setLanguageCode(String languageCode)
public String getRegionCode()
public MapsPlaces.Places.Get setRegionCode(String regionCode)
public String getSessionToken()
public MapsPlaces.Places.Get setSessionToken(String sessionToken)
public MapsPlaces.Places.Get set(String parameterName, Object value)
set in class MapsPlacesRequest<GoogleMapsPlacesV1Place>Copyright © 2011–2026 Google. All rights reserved.