Class V1Resource
The "v1" collection of methods.
Inherited Members
Namespace: Google.Apis.AreaInsights.v1
Assembly: Google.Apis.AreaInsights.v1.dll
Syntax
public class V1Resource
Constructors
V1Resource(IClientService)
Constructs a new resource.
Declaration
public V1Resource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
ComputeInsights(ComputeInsightsRequest)
This method lets you retrieve insights about areas using a variety 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.
Declaration
public virtual V1Resource.ComputeInsightsRequest ComputeInsights(ComputeInsightsRequest body)
Parameters
Type | Name | Description |
---|---|---|
ComputeInsightsRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
V1Resource.ComputeInsightsRequest |