Show / Hide Table of Contents

Class AreaInsights.AreaInsightsBase

Base class for server-side implementations of AreaInsights

Inheritance
object
AreaInsights.AreaInsightsBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Maps.AreaInsights.V1
Assembly: Google.Maps.AreaInsights.V1.dll
Syntax
[BindServiceMethod(typeof(AreaInsights), "BindService")]
public abstract class AreaInsights.AreaInsightsBase

Methods

ComputeInsights(ComputeInsightsRequest, ServerCallContext)

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.

Declaration
public virtual Task<ComputeInsightsResponse> ComputeInsights(ComputeInsightsRequest request, ServerCallContext context)
Parameters
Type Name Description
ComputeInsightsRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ComputeInsightsResponse>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX