Class IsochroneServiceClientImpl
IsochroneService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Maps.Isochrones.V1
Assembly: Google.Maps.Isochrones.V1.dll
Syntax
public sealed class IsochroneServiceClientImpl : IsochroneServiceClient
Remarks
Service for calculating isochrones. An isochrone is an area of reachability from a given origin point within a specified travel time.
Constructors
IsochroneServiceClientImpl(IsochroneServiceClient, IsochroneServiceSettings, ILogger)
Constructs a client wrapper for the IsochroneService service, with the specified gRPC client and settings.
Declaration
public IsochroneServiceClientImpl(IsochroneService.IsochroneServiceClient grpcClient, IsochroneServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IsochroneService.IsochroneServiceClient | grpcClient | The underlying gRPC client. |
| IsochroneServiceSettings | settings | The base IsochroneServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC IsochroneService client
Declaration
public override IsochroneService.IsochroneServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| IsochroneService.IsochroneServiceClient |
Overrides
Methods
GenerateIsochrone(GenerateIsochroneRequest, CallSettings)
Calculates and returns a single isochrone for a given set of parameters.
Declaration
public override GenerateIsochroneResponse GenerateIsochrone(GenerateIsochroneRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GenerateIsochroneRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| GenerateIsochroneResponse | The RPC response. |
Overrides
GenerateIsochroneAsync(GenerateIsochroneRequest, CallSettings)
Calculates and returns a single isochrone for a given set of parameters.
Declaration
public override Task<GenerateIsochroneResponse> GenerateIsochroneAsync(GenerateIsochroneRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GenerateIsochroneRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<GenerateIsochroneResponse> | A Task containing the RPC response. |