Class: Google::Apis::FirebasemlV1beta2::ListModelsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#modelsArray<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_tokenString

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

Returns:

  • (String)


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