target.apidocs.com.google.api.services.areainsights.v1.AreaInsights.V1.html Maven / Gradle / Ivy
The newest version!
AreaInsights.V1 (Places Insights API v1-rev20241211-2.0.0)
com.google.api.services.areainsights.v1
Class AreaInsights.V1
- java.lang.Object
-
- com.google.api.services.areainsights.v1.AreaInsights.V1
-
- Enclosing class:
- AreaInsights
public class AreaInsights.V1
extends Object
The "v1" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AreaInsights.V1.ComputeInsights
-
Constructor Summary
Constructors
Constructor and Description
V1()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AreaInsights.V1.ComputeInsights
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 Detail
-
computeInsights
public AreaInsights.V1.ComputeInsights computeInsights(ComputeInsightsRequest content)
throws IOException
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 areainsights server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
content
- the ComputeInsightsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy