Service Directory v1beta1 API - Class LookupServiceSettings (2.0.0-beta02)

public sealed class LookupServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Service Directory v1beta1 API class LookupServiceSettings.

Settings for LookupServiceClient instances.

Inheritance

Object > ServiceSettingsBase > LookupServiceSettings

Namespace

Google.Cloud.ServiceDirectory.V1Beta1

Assembly

Google.Cloud.ServiceDirectory.V1Beta1.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.