2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class LookupServiceSettings : ServiceSettingsBase

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

Settings for [LookupServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.LookupServiceClient.md.txt) instances.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ServiceSettingsBase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt) \> LookupServiceSettings

## Inherited Members

[ServiceSettingsBase.VersionHeaderBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) [ServiceSettingsBase.CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) [ServiceSettingsBase.Clock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) [ServiceSettingsBase.Scheduler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) [ServiceSettingsBase.Interceptor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ServiceDirectory.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.md.txt)

## Assembly

Google.Cloud.ServiceDirectory.V1.dll

## Constructors

### LookupServiceSettings()

    public LookupServiceSettings()

Constructs a new [LookupServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.LookupServiceSettings.md.txt) object with default settings.

## Properties

### LocationsSettings

    public LocationsSettings LocationsSettings { get; set; }

The settings to use for the [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) associated with the client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationsSettings` |   |

### ResolveServiceSettings

    public CallSettings ResolveServiceSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`LookupServiceClient.ResolveService` and `LookupServiceClient.ResolveServiceAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable), [Unknown](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.LookupServiceSettings.md.txt) object. |

### GetDefault()

    public static LookupServiceSettings GetDefault()

Get a new instance of the default [LookupServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.LookupServiceSettings.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LookupServiceSettings` | A new instance of the default [LookupServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.LookupServiceSettings.md.txt). |