Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse
- 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
-
#next_page_token ⇒ String
If empty, the list is complete.
-
#prediction_api_key_registrations ⇒ Array<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration>
The list of registered API keys.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse
constructor
A new instance of GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_token ⇒ String
If empty, the list is complete. If nonempty, pass the token to the next
request's ListPredictionApiKeysRegistrationsRequest.pageToken
.
Corresponds to the JSON property nextPageToken
923 924 925 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 923 def next_page_token @next_page_token end |
#prediction_api_key_registrations ⇒ Array<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 |