Class PlacesSettings
Settings for PlacesClient instances.
Inherited Members
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class PlacesSettings : ServiceSettingsBase
Constructors
PlacesSettings()
Constructs a new PlacesSettings object with default settings.
Declaration
public PlacesSettings()
Properties
AutocompletePlacesSettings
CallSettings for synchronous and asynchronous calls to
PlacesClient.AutocompletePlaces and PlacesClient.AutocompletePlacesAsync.
Declaration
public CallSettings AutocompletePlacesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
GetPhotoMediaSettings
CallSettings for synchronous and asynchronous calls to PlacesClient.GetPhotoMedia
and PlacesClient.GetPhotoMediaAsync.
Declaration
public CallSettings GetPhotoMediaSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
GetPlaceSettings
CallSettings for synchronous and asynchronous calls to PlacesClient.GetPlace
and PlacesClient.GetPlaceAsync.
Declaration
public CallSettings GetPlaceSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
SearchNearbySettings
CallSettings for synchronous and asynchronous calls to PlacesClient.SearchNearby
and PlacesClient.SearchNearbyAsync.
Declaration
public CallSettings SearchNearbySettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
SearchTextSettings
CallSettings for synchronous and asynchronous calls to PlacesClient.SearchText
and PlacesClient.SearchTextAsync.
Declaration
public CallSettings SearchTextSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public PlacesSettings Clone()
Returns
| Type | Description |
|---|---|
| PlacesSettings | A deep clone of this PlacesSettings object. |
GetDefault()
Get a new instance of the default PlacesSettings.
Declaration
public static PlacesSettings GetDefault()
Returns
| Type | Description |
|---|---|
| PlacesSettings | A new instance of the default PlacesSettings. |