public sealed class LookupServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Service Directory v1 API class LookupServiceSettings.
Settings for LookupServiceClient instances.
Namespace
Google.Cloud.ServiceDirectory.V1Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
LookupServiceSettings | A deep clone of this LookupServiceSettings object. |
GetDefault()
public static LookupServiceSettings GetDefault()
Get a new instance of the default LookupServiceSettings.
Returns | |
---|---|
Type | Description |
LookupServiceSettings | A new instance of the default LookupServiceSettings. |