Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb

Overview

Request message for the CreatePredictionApiKeyRegistration method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest

Returns a new instance of GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest.



396
397
398
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 396

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#prediction_api_key_registrationGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration

Registered Api Key. Corresponds to the JSON property predictionApiKeyRegistration



394
395
396
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 394

def prediction_api_key_registration
  @prediction_api_key_registration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



401
402
403
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 401

def update!(**args)
  @prediction_api_key_registration = args[:prediction_api_key_registration] if args.key?(:prediction_api_key_registration)
end