Google.Cloud.Location - Class LocationsSettings (2.2.0)

public sealed class LocationsSettings : ServiceSettingsBase

Reference documentation and code samples for the Google.Cloud.Location class LocationsSettings.

Settings for LocationsClient instances.

Inheritance

object > ServiceSettingsBase > LocationsSettings

Namespace

Google.Cloud.Location

Assembly

Google.Cloud.Location.dll

Constructors

LocationsSettings()

public LocationsSettings()

Constructs a new LocationsSettings object with default settings.

Properties

GetLocationSettings

public CallSettings GetLocationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LocationsClient.GetLocation and LocationsClient.GetLocationAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListLocationsSettings

public CallSettings ListLocationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LocationsClient.ListLocations and LocationsClient.ListLocationsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public LocationsSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
LocationsSettings

A deep clone of this LocationsSettings object.

GetDefault()

public static LocationsSettings GetDefault()

Get a new instance of the default LocationsSettings.

Returns
Type Description
LocationsSettings

A new instance of the default LocationsSettings.