Class: Google::Apis::BigqueryV2::ListModelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ListModelsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Response format for a single page when listing BigQuery ML models.
Instance Attribute Summary collapse
-
#models ⇒ Array<Google::Apis::BigqueryV2::Model>
Models in the requested dataset.
-
#next_page_token ⇒ String
A token to request the next page of results.
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.
6236 6237 6238 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#models ⇒ Array<Google::Apis::BigqueryV2::Model>
Models in the requested dataset. Only the following fields are populated:
model_reference, model_type, creation_time, last_modified_time and labels.
Corresponds to the JSON property models
6229 6230 6231 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6229 def models @models end |
#next_page_token ⇒ String
A token to request the next page of results.
Corresponds to the JSON property nextPageToken
6234 6235 6236 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6234 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6241 6242 6243 6244 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6241 def update!(**args) @models = args[:models] if args.key?(:models) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |