Class: Google::Apis::FirebasemlV1beta2::ListModelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV1beta2::ListModelsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaseml_v1beta2/classes.rb,
generated/google/apis/firebaseml_v1beta2/representations.rb,
generated/google/apis/firebaseml_v1beta2/representations.rb
Overview
The response for list models
Instance Attribute Summary collapse
-
#models ⇒ Array<Google::Apis::FirebasemlV1beta2::Model>
The list of models Corresponds to the JSON property
models
. -
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListModelsResponse
constructor
A new instance of ListModelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListModelsResponse
Returns a new instance of ListModelsResponse.
57 58 59 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#models ⇒ Array<Google::Apis::FirebasemlV1beta2::Model>
The list of models
Corresponds to the JSON property models
49 50 51 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 49 def models @models end |
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
55 56 57 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 55 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 |
# File 'generated/google/apis/firebaseml_v1beta2/classes.rb', line 62 def update!(**args) @models = args[:models] if args.key?(:models) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |