class Google::Apis::PredictionV1_6::Insert2
Attributes
Insert time of the model (as a RFC 3339 timestamp). Corresponds to the JSON property `created` @return [DateTime]
The unique name for the predictive model. Corresponds to the JSON property `id` @return [String]
What kind of resource this is. Corresponds to the JSON property `kind` @return [String]
Model metadata. Corresponds to the JSON property `modelInfo` @return [Google::Apis::PredictionV1_6::Insert2::ModelInfo]
Type of predictive model (CLASSIFICATION or REGRESSION). Corresponds to the JSON property `modelType` @return [String]
A URL to re-request this resource. Corresponds to the JSON property `selfLink` @return [String]
Google storage location of the training data file. Corresponds to the JSON property `storageDataLocation` @return [String]
Google storage location of the preprocessing pmml file. Corresponds to the JSON property `storagePMMLLocation` @return [String]
Google storage location of the pmml model file. Corresponds to the JSON property `storagePMMLModelLocation` @return [String]
Training completion time (as a RFC 3339 timestamp). Corresponds to the JSON property `trainingComplete` @return [DateTime]
The current status of the training job. This can be one of following: RUNNING; DONE; ERROR; ERROR: TRAINING JOB NOT FOUND Corresponds to the JSON property `trainingStatus` @return [String]
Public Class Methods
# File generated/google/apis/prediction_v1_6/classes.rb, line 537 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/prediction_v1_6/classes.rb, line 542 def update!(**args) @created = args[:created] if args.key?(:created) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @model_info = args[:model_info] if args.key?(:model_info) @model_type = args[:model_type] if args.key?(:model_type) @self_link = args[:self_link] if args.key?(:self_link) @storage_data_location = args[:storage_data_location] if args.key?(:storage_data_location) @storage_pmml_location = args[:storage_pmml_location] if args.key?(:storage_pmml_location) @storage_pmml_model_location = args[:storage_pmml_model_location] if args.key?(:storage_pmml_model_location) @training_complete = args[:training_complete] if args.key?(:training_complete) @training_status = args[:training_status] if args.key?(:training_status) end