Class LookupServiceSettings (1.3.0)

public sealed class LookupServiceSettings : ServiceSettingsBase

Settings for LookupServiceClient instances.

Inheritance

Object > ServiceSettingsBase > LookupServiceSettings

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Constructors

LookupServiceSettings()

public LookupServiceSettings()

Constructs a new LookupServiceSettings object with default settings.

Properties

ResolveServiceSettings

public CallSettings ResolveServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LookupServiceClient.ResolveService and LookupServiceClient.ResolveServiceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, Unknown.
  • Timeout: 15 seconds.

Methods

Clone()

public LookupServiceSettings Clone()

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

Returns
TypeDescription
LookupServiceSettings

A deep clone of this LookupServiceSettings object.

GetDefault()

public static LookupServiceSettings GetDefault()

Get a new instance of the default LookupServiceSettings.

Returns
TypeDescription
LookupServiceSettings

A new instance of the default LookupServiceSettings.