public sealed class LookupServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Service Directory v1beta1 API class LookupServiceSettings.
Settings for LookupServiceClient instances.
Namespace
Google.Cloud.ServiceDirectory.V1Beta1Assembly
Google.Cloud.ServiceDirectory.V1Beta1.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 | |
|---|---|
| Type | Description |
LocationsSettings |
|
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. |