1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ApiKeysSettings : ServiceSettingsBase

Reference documentation and code samples for the API Keys v2 API class ApiKeysSettings.

Settings for [ApiKeysClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.ApiKeysClient.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) \> ApiKeysSettings

## 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.ApiKeys.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.md.txt)

## Assembly

Google.Cloud.ApiKeys.V2.dll

## Constructors

### ApiKeysSettings()

    public ApiKeysSettings()

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

## Properties

### CreateKeyOperationsSettings

    public OperationsSettings CreateKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to `ApiKeysClient.CreateKey` and
`ApiKeysClient.CreateKeyAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### CreateKeySettings

    public CallSettings CreateKeySettings { 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 `ApiKeysClient.CreateKey`
and `ApiKeysClient.CreateKeyAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### DeleteKeyOperationsSettings

    public OperationsSettings DeleteKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to `ApiKeysClient.DeleteKey` and
`ApiKeysClient.DeleteKeyAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### DeleteKeySettings

    public CallSettings DeleteKeySettings { 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 `ApiKeysClient.DeleteKey`
and `ApiKeysClient.DeleteKeyAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### GetKeySettings

    public CallSettings GetKeySettings { 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 `ApiKeysClient.GetKey`
and `ApiKeysClient.GetKeyAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### GetKeyStringSettings

    public CallSettings GetKeyStringSettings { 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 `ApiKeysClient.GetKeyString`
and `ApiKeysClient.GetKeyStringAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### ListKeysSettings

    public CallSettings ListKeysSettings { 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 `ApiKeysClient.ListKeys`
and `ApiKeysClient.ListKeysAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### LookupKeySettings

    public CallSettings LookupKeySettings { 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 `ApiKeysClient.LookupKey`
and `ApiKeysClient.LookupKeyAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### UndeleteKeyOperationsSettings

    public OperationsSettings UndeleteKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to `ApiKeysClient.UndeleteKey` and
`ApiKeysClient.UndeleteKeyAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### UndeleteKeySettings

    public CallSettings UndeleteKeySettings { 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 `ApiKeysClient.UndeleteKey`
and `ApiKeysClient.UndeleteKeyAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

### UpdateKeyOperationsSettings

    public OperationsSettings UpdateKeyOperationsSettings { get; set; }

Long Running Operation settings for calls to `ApiKeysClient.UpdateKey` and
`ApiKeysClient.UpdateKeyAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### UpdateKeySettings

    public CallSettings UpdateKeySettings { 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 `ApiKeysClient.UpdateKey`
and `ApiKeysClient.UpdateKeyAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 10 seconds.

## Methods

### Clone()

    public ApiKeysSettings Clone()

Creates a deep clone of this object, with all the same property values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ApiKeysSettings` | A deep clone of this [ApiKeysSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.ApiKeysSettings.md.txt) object. |

### GetDefault()

    public static ApiKeysSettings GetDefault()

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

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