# Recommendations AI v1beta1 API - Class PredictionApiKeyRegistryClientImpl (2.0.0-beta07)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClientImpl)
- [2.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/2.0.0-beta06/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClientImpl)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/1.0.0-beta03/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClientImpl)

    public sealed class PredictionApiKeyRegistryClientImpl : PredictionApiKeyRegistryClient

Reference documentation and code samples for the Recommendations AI v1beta1 API class PredictionApiKeyRegistryClientImpl.

PredictionApiKeyRegistry client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [PredictionApiKeyRegistryClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient) \> PredictionApiKeyRegistryClientImpl

## Inherited Members

[PredictionApiKeyRegistryClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DefaultEndpoint) [PredictionApiKeyRegistryClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DefaultScopes) [PredictionApiKeyRegistryClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ServiceMetadata) [PredictionApiKeyRegistryClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreateAsync_System_Threading_CancellationToken_) [PredictionApiKeyRegistryClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_Create) [PredictionApiKeyRegistryClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ShutdownDefaultChannelsAsync) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync(CreatePredictionApiKeyRegistrationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_CreatePredictionApiKeyRegistrationRequest_System_Threading_CancellationToken_) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistration(string, PredictionApiKeyRegistration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistration_System_String_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistration_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync(string, PredictionApiKeyRegistration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistrationAsync_System_String_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistration_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync(string, PredictionApiKeyRegistration, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistrationAsync_System_String_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistration_System_Threading_CancellationToken_) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistration(EventStoreName, PredictionApiKeyRegistration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistration_Google_Cloud_RecommendationEngine_V1Beta1_EventStoreName_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistration_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync(EventStoreName, PredictionApiKeyRegistration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_EventStoreName_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistration_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync(EventStoreName, PredictionApiKeyRegistration, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_EventStoreName_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistration_System_Threading_CancellationToken_) [PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrations(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrations_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrationsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrationsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrations(EventStoreName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrations_Google_Cloud_RecommendationEngine_V1Beta1_EventStoreName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrationsAsync(EventStoreName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrationsAsync_Google_Cloud_RecommendationEngine_V1Beta1_EventStoreName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync(DeletePredictionApiKeyRegistrationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_DeletePredictionApiKeyRegistrationRequest_System_Threading_CancellationToken_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistration(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistration_System_String_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistrationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistrationAsync_System_String_System_Threading_CancellationToken_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistration(PredictionApiKeyRegistrationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistration_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistrationName_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync(PredictionApiKeyRegistrationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistrationName_Google_Api_Gax_Grpc_CallSettings_) [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync(PredictionApiKeyRegistrationName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistrationName_System_Threading_CancellationToken_) [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.RecommendationEngine.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1)

## Assembly

Google.Cloud.RecommendationEngine.V1Beta1.dll

## Remarks

Service for registering API keys for use with the `predict` method. If you
use an API key to request predictions, you must first register the API key.
Otherwise, your prediction request is rejected. If you use OAuth to
authenticate your `predict` method call, you do not need to register an API
key. You can register up to 20 API keys per project.

## Constructors

### PredictionApiKeyRegistryClientImpl(PredictionApiKeyRegistryClient, PredictionApiKeyRegistrySettings, ILogger)

    public PredictionApiKeyRegistryClientImpl(PredictionApiKeyRegistry.PredictionApiKeyRegistryClient grpcClient, PredictionApiKeyRegistrySettings settings, ILogger logger)

Constructs a client wrapper for the PredictionApiKeyRegistry service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistry.PredictionApiKeyRegistryClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistrySettings` The base [PredictionApiKeyRegistrySettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistrySettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override PredictionApiKeyRegistry.PredictionApiKeyRegistryClient GrpcClient { get; }

The underlying gRPC PredictionApiKeyRegistry client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistry.PredictionApiKeyRegistryClient` |   |

**Overrides** [PredictionApiKeyRegistryClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_GrpcClient)

## Methods

### CreatePredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest, CallSettings)

    public override PredictionApiKeyRegistration CreatePredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest request, CallSettings callSettings = null)

Register an API key for use with predict method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistration` | The RPC response. |

**Overrides** [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistration(CreatePredictionApiKeyRegistrationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistration_Google_Cloud_RecommendationEngine_V1Beta1_CreatePredictionApiKeyRegistrationRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreatePredictionApiKeyRegistrationAsync(CreatePredictionApiKeyRegistrationRequest, CallSettings)

    public override Task<PredictionApiKeyRegistration> CreatePredictionApiKeyRegistrationAsync(CreatePredictionApiKeyRegistrationRequest request, CallSettings callSettings = null)

Register an API key for use with predict method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistration` | A Task containing the RPC response. |

**Overrides** [PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistrationAsync(CreatePredictionApiKeyRegistrationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_CreatePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_CreatePredictionApiKeyRegistrationRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest, CallSettings)

    public override void DeletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest request, CallSettings callSettings = null)

Unregister an apiKey from using for predict method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.DeletePredictionApiKeyRegistrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistration(DeletePredictionApiKeyRegistrationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistration_Google_Cloud_RecommendationEngine_V1Beta1_DeletePredictionApiKeyRegistrationRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeletePredictionApiKeyRegistrationAsync(DeletePredictionApiKeyRegistrationRequest, CallSettings)

    public override Task DeletePredictionApiKeyRegistrationAsync(DeletePredictionApiKeyRegistrationRequest request, CallSettings callSettings = null)

Unregister an apiKey from using for predict method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.DeletePredictionApiKeyRegistrationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistrationAsync(DeletePredictionApiKeyRegistrationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_DeletePredictionApiKeyRegistrationAsync_Google_Cloud_RecommendationEngine_V1Beta1_DeletePredictionApiKeyRegistrationRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest, CallSettings)

    public override PagedEnumerable<ListPredictionApiKeyRegistrationsResponse, PredictionApiKeyRegistration> ListPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest request, CallSettings callSettings = null)

List the registered apiKeys for use with predict method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.ListPredictionApiKeyRegistrationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.ListPredictionApiKeyRegistrationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistration` | A pageable sequence of [PredictionApiKeyRegistration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistration) resources. |

**Overrides** [PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrations(ListPredictionApiKeyRegistrationsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrations_Google_Cloud_RecommendationEngine_V1Beta1_ListPredictionApiKeyRegistrationsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListPredictionApiKeyRegistrationsAsync(ListPredictionApiKeyRegistrationsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListPredictionApiKeyRegistrationsResponse, PredictionApiKeyRegistration> ListPredictionApiKeyRegistrationsAsync(ListPredictionApiKeyRegistrationsRequest request, CallSettings callSettings = null)

List the registered apiKeys for use with predict method.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.ListPredictionApiKeyRegistrationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.ListPredictionApiKeyRegistrationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistration` | A pageable asynchronous sequence of [PredictionApiKeyRegistration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistration) resources. |

**Overrides** [PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrationsAsync(ListPredictionApiKeyRegistrationsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PredictionApiKeyRegistryClient#Google_Cloud_RecommendationEngine_V1Beta1_PredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrationsAsync_Google_Cloud_RecommendationEngine_V1Beta1_ListPredictionApiKeyRegistrationsRequest_Google_Api_Gax_Grpc_CallSettings_)