Class: Google::Apis::BigqueryV2::ListModelsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListModelsResponse

Returns a new instance of ListModelsResponse.


3986
3987
3988
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3986

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

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


3979
3980
3981
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3979

def models
  @models
end

#next_page_tokenString

A token to request the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)

3984
3985
3986
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3984

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3991
3992
3993
3994
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3991

def update!(**args)
  @models = args[:models] if args.key?(:models)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end