Class LocationsSettings (1.0.0)

public sealed class LocationsSettings : Api.Gax.Grpc.ServiceSettingsBase

Settings for LocationsClient instances.

Inheritance

Object > 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 Api.Gax.Grpc.CallSettings GetLocationSettings { get; set; }

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

Property Value
TypeDescription
Api.Gax.Grpc.CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListLocationsSettings

public Api.Gax.Grpc.CallSettings ListLocationsSettings { get; set; }

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

Property Value
TypeDescription
Api.Gax.Grpc.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
TypeDescription
LocationsSettings

A deep clone of this LocationsSettings object.

GetDefault()

public static LocationsSettings GetDefault()

Get a new instance of the default LocationsSettings.

Returns
TypeDescription
LocationsSettings

A new instance of the default LocationsSettings.