Class V1Resource.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.
Inheritance
Inherited Members
Namespace: Google.Apis.AreaInsights.v1
Assembly: Google.Apis.AreaInsights.v1.dll
Syntax
public class V1Resource.ComputeInsightsRequest : AreaInsightsBaseServiceRequest<ComputeInsightsResponse>, IClientServiceRequest<ComputeInsightsResponse>, IClientServiceRequest
Constructors
ComputeInsightsRequest(IClientService, ComputeInsightsRequest)
Constructs a new ComputeInsights request.
Declaration
public ComputeInsightsRequest(IClientService service, ComputeInsightsRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ComputeInsightsRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ComputeInsights parameter list.
Declaration
protected override void InitParameters()