target.apidocs.com.google.api.services.areainsights.v1.AreaInsights.V1.ComputeInsights.html Maven / Gradle / Ivy
The newest version!
AreaInsights.V1.ComputeInsights (Places Insights API v1-rev20241211-2.0.0)
com.google.api.services.areainsights.v1
Class AreaInsights.V1.ComputeInsights
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.areainsights.v1.AreaInsightsRequest<ComputeInsightsResponse>
-
- com.google.api.services.areainsights.v1.AreaInsights.V1.ComputeInsights
-
- Enclosing class:
- AreaInsights.V1
public class AreaInsights.V1.ComputeInsights
extends AreaInsightsRequest<ComputeInsightsResponse>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
ComputeInsights(ComputeInsightsRequest content)
Compute Insights RPC This method lets you retrieve insights about areas using a variaty of
filter such as: area, place type, operating status, price level and ratings.
-
Method Summary
-
Methods inherited from class com.google.api.services.areainsights.v1.AreaInsightsRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
ComputeInsights
protected ComputeInsights(ComputeInsightsRequest content)
Compute Insights RPC This method lets you retrieve insights about areas using a variaty of
filter such as: area, place type, operating status, price level and ratings. Currently "count"
and "places" insights are supported. With "count" insights you can answer questions such as
"How many restaurant are located in California that are operational, are inexpensive and have
an average rating of at least 4 stars" (see `insight` enum for more details). With "places"
insights, you can determine which places match the requested filter. Clients can then use those
place resource names to fetch more details about each individual place using the Places API.
Create a request for the method "v1.computeInsights".
This request holds the parameters needed by the the areainsights server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. ComputeInsights#initialize(com.google.api.client.googleapis.services.Abst
ractGoogleClientRequest)
must be called to initialize this instance immediately after invoking
the constructor.
- Parameters:
content
- the ComputeInsightsRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public AreaInsights.V1.ComputeInsights set$Xgafv(String $Xgafv)
Description copied from class: AreaInsightsRequest
V1 error format.
- Overrides:
set$Xgafv
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setAccessToken
public AreaInsights.V1.ComputeInsights setAccessToken(String accessToken)
Description copied from class: AreaInsightsRequest
OAuth access token.
- Overrides:
setAccessToken
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setAlt
public AreaInsights.V1.ComputeInsights setAlt(String alt)
Description copied from class: AreaInsightsRequest
Data format for response.
- Overrides:
setAlt
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setCallback
public AreaInsights.V1.ComputeInsights setCallback(String callback)
Description copied from class: AreaInsightsRequest
JSONP
- Overrides:
setCallback
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setFields
public AreaInsights.V1.ComputeInsights setFields(String fields)
Description copied from class: AreaInsightsRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setKey
public AreaInsights.V1.ComputeInsights setKey(String key)
Description copied from class: AreaInsightsRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setOauthToken
public AreaInsights.V1.ComputeInsights setOauthToken(String oauthToken)
Description copied from class: AreaInsightsRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setPrettyPrint
public AreaInsights.V1.ComputeInsights setPrettyPrint(Boolean prettyPrint)
Description copied from class: AreaInsightsRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setQuotaUser
public AreaInsights.V1.ComputeInsights setQuotaUser(String quotaUser)
Description copied from class: AreaInsightsRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setUploadType
public AreaInsights.V1.ComputeInsights setUploadType(String uploadType)
Description copied from class: AreaInsightsRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class AreaInsightsRequest<ComputeInsightsResponse>
-
setUploadProtocol
public AreaInsights.V1.ComputeInsights setUploadProtocol(String uploadProtocol)
Description copied from class: AreaInsightsRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class AreaInsightsRequest<ComputeInsightsResponse>
-
set
public AreaInsights.V1.ComputeInsights set(String parameterName,
Object value)
- Overrides:
set
in class AreaInsightsRequest<ComputeInsightsResponse>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy