Class: Google::Apis::PredictionV1_6::List
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::List
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prediction_v1_6/classes.rb,
generated/google/apis/prediction_v1_6/representations.rb,
generated/google/apis/prediction_v1_6/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::PredictionV1_6::Insert2>
List of models.
-
#kind ⇒ String
What kind of resource this is.
-
#next_page_token ⇒ String
Pagination token to fetch the next page, if one exists.
-
#self_link ⇒ String
A URL to re-request this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ List
constructor
A new instance of List.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ List
Returns a new instance of List.
637 638 639 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::PredictionV1_6::Insert2>
List of models.
Corresponds to the JSON property items
620 621 622 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 620 def items @items end |
#kind ⇒ String
What kind of resource this is.
Corresponds to the JSON property kind
625 626 627 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 625 def kind @kind end |
#next_page_token ⇒ String
Pagination token to fetch the next page, if one exists.
Corresponds to the JSON property nextPageToken
630 631 632 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 630 def next_page_token @next_page_token end |
#self_link ⇒ String
A URL to re-request this resource.
Corresponds to the JSON property selfLink
635 636 637 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 635 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
642 643 644 645 646 647 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 642 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) end |