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

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

Response message for the ListPredictionApiKeyRegistrations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse

Returns a new instance of GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse.



929
930
931
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 929

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)


922
923
924
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 922

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



927
928
929
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 927

def prediction_api_key_registrations
  @prediction_api_key_registrations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



934
935
936
937
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 934

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