Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
- 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
Registered Api Key.
Instance Attribute Summary collapse
-
#api_key ⇒ String
The API key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
constructor
A new instance of GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
Returns a new instance of GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration.
1145 1146 1147 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1145 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key ⇒ String
The API key.
Corresponds to the JSON property apiKey
1143 1144 1145 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1143 def api_key @api_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1150 1151 1152 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1150 def update!(**args) @api_key = args[:api_key] if args.key?(:api_key) end |