# Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::CreatePredictionApiKeyRegistrationRequest (v0.18.0)

0.18.0 (latest) 0.17.1 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.2 0.8.2 0.7.0 0.6.1 0.5.0 0.4.1 0.3.7 Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::CreatePredictionApiKeyRegistrationRequest.

Request message for the `CreatePredictionApiKeyRegistration` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`.
**Returns**

- (::String) --- Required. The parent resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`.

### #prediction_api_key_registration

    def prediction_api_key_registration() -> ::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration

**Returns**

- ([::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/latest/Google-Cloud-RecommendationEngine-V1beta1-PredictionApiKeyRegistration)) --- Required. The prediction API key registration.

### #prediction_api_key_registration=

    def prediction_api_key_registration=(value) -> ::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration

**Parameter**

- **value** ([::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/latest/Google-Cloud-RecommendationEngine-V1beta1-PredictionApiKeyRegistration)) --- Required. The prediction API key registration.
**Returns**

- ([::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/latest/Google-Cloud-RecommendationEngine-V1beta1-PredictionApiKeyRegistration)) --- Required. The prediction API key registration.