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

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
NameDescription
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
TypeDescription
string

setParent

Required. The parent resource path.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPredictionApiKeyRegistration

Required. The prediction API key registration.

Returns
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistration|null

hasPredictionApiKeyRegistration

clearPredictionApiKeyRegistration

setPredictionApiKeyRegistration

Required. The prediction API key registration.

Parameter
NameDescription
var Google\Cloud\RecommendationEngine\V1beta1\PredictionApiKeyRegistration
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\RecommendationEngine\V1beta1\CreatePredictionApiKeyRegistrationRequest