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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/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 'lib/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 'lib/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 'lib/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