Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse

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

Response message for the ListPredictionApiKeyRegistrations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse

Returns a new instance of GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse.



930
931
932
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 930

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

Instance Attribute Details

#next_page_tokenString

If empty, the list is complete. If nonempty, pass the token to the next request's ListPredictionApiKeysRegistrationsRequest.pageToken. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


923
924
925
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 923

def next_page_token
  @next_page_token
end

#prediction_api_key_registrationsArray<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration>

The list of registered API keys. Corresponds to the JSON property predictionApiKeyRegistrations



928
929
930
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 928

def prediction_api_key_registrations
  @prediction_api_key_registrations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



935
936
937
938
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 935

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