Represents an AreaInsights
Inheritance
$protobuf.rpc.Service > protos.google.maps.areainsights.v1.AreaInsightsPackage
@googlemaps/areainsightsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new AreaInsights service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
computeInsights(request, callback)
public computeInsights(request: google.maps.areainsights.v1.IComputeInsightsRequest, callback: google.maps.areainsights.v1.AreaInsights.ComputeInsightsCallback): void;Calls ComputeInsights.
| Parameters | |
|---|---|
| Name | Description |
request |
IComputeInsightsRequest
ComputeInsightsRequest message or plain object |
callback |
ComputeInsightsCallback
Node-style callback called with the error, if any, and ComputeInsightsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
computeInsights(request)
public computeInsights(request: google.maps.areainsights.v1.IComputeInsightsRequest): Promise<google.maps.areainsights.v1.ComputeInsightsResponse>;Calls ComputeInsights.
| Parameter | |
|---|---|
| Name | Description |
request |
IComputeInsightsRequest
ComputeInsightsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.maps.areainsights.v1.ComputeInsightsResponse> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AreaInsights;Creates new AreaInsights service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
AreaInsights |
RPC service. Useful where requests and/or responses are streamed. |