# Recommendations AI v1beta1 API - Class CreatePredictionApiKeyRegistrationRequest (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.CreatePredictionApiKeyRegistrationRequest)
- [2.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/2.0.0-beta06/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/1.0.0-beta03/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest)

    public sealed class CreatePredictionApiKeyRegistrationRequest : IMessage<CreatePredictionApiKeyRegistrationRequest>, IEquatable<CreatePredictionApiKeyRegistrationRequest>, IDeepCloneable<CreatePredictionApiKeyRegistrationRequest>, IBufferMessage, IMessage

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

Request message for the `CreatePredictionApiKeyRegistration` method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreatePredictionApiKeyRegistrationRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreatePredictionApiKeyRegistrationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreatePredictionApiKeyRegistrationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreatePredictionApiKeyRegistrationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[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

## Constructors

### CreatePredictionApiKeyRegistrationRequest()

    public CreatePredictionApiKeyRegistrationRequest()

### CreatePredictionApiKeyRegistrationRequest(CreatePredictionApiKeyRegistrationRequest)

    public CreatePredictionApiKeyRegistrationRequest(CreatePredictionApiKeyRegistrationRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The parent resource path.
`projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsEventStoreName

    public EventStoreName ParentAsEventStoreName { get; set; }

[EventStoreName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.EventStoreName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.CreatePredictionApiKeyRegistrationRequest#Google_Cloud_RecommendationEngine_V1Beta1_CreatePredictionApiKeyRegistrationRequest_Parent) resource name property.

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

### PredictionApiKeyRegistration

    public PredictionApiKeyRegistration PredictionApiKeyRegistration { get; set; }

Required. The prediction API key registration.

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