Google Cloud Recommendation Engine V1beta1 Client - Class CreatePredictionApiKeyRegistrationRequest (0.7.5)

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class CreatePredictionApiKeyRegistrationRequest.

Request message for the CreatePredictionApiKeyRegistration method.

Generated from protobuf message google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ prediction_api_key_registration Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistration

Required. The prediction API key registration.

getParent

Required. The parent resource path.

projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

Returns
Type Description
string

setParent

Required. The parent resource path.

projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store.

Parameter
Name Description
var string
Returns
Type Description
$this

getPredictionApiKeyRegistration

Required. The prediction API key registration.

Returns
Type Description
Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistration|null

hasPredictionApiKeyRegistration

clearPredictionApiKeyRegistration

setPredictionApiKeyRegistration

Required. The prediction API key registration.

Parameter
Name Description
var Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistration
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource path. projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store. Please see Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistryClient::eventStoreName() for help formatting this field.

predictionApiKeyRegistration Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistration

Required. The prediction API key registration.

Returns
Type Description
Google\Cloud\RecommendationEngine\V1beta1\CreatePredictionApiKeyRegistrationRequest