Service Directory v1 API - Class LookupServiceSettings (2.2.0)

public sealed class LookupServiceSettings : ServiceSettingsBase

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

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

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.