class Google::Apis::PredictionV1_6::Insert2

Attributes

created[RW]

Insert time of the model (as a RFC 3339 timestamp). Corresponds to the JSON property `created` @return [DateTime]

id[RW]

The unique name for the predictive model. Corresponds to the JSON property `id` @return [String]

kind[RW]

What kind of resource this is. Corresponds to the JSON property `kind` @return [String]

model_info[RW]

Model metadata. Corresponds to the JSON property `modelInfo` @return [Google::Apis::PredictionV1_6::Insert2::ModelInfo]

model_type[RW]

Type of predictive model (CLASSIFICATION or REGRESSION). Corresponds to the JSON property `modelType` @return [String]

storage_data_location[RW]

Google storage location of the training data file. Corresponds to the JSON property `storageDataLocation` @return [String]

storage_pmml_location[RW]

Google storage location of the preprocessing pmml file. Corresponds to the JSON property `storagePMMLLocation` @return [String]

storage_pmml_model_location[RW]

Google storage location of the pmml model file. Corresponds to the JSON property `storagePMMLModelLocation` @return [String]

training_complete[RW]

Training completion time (as a RFC 3339 timestamp). Corresponds to the JSON property `trainingComplete` @return [DateTime]

training_status[RW]

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

new(**args) click to toggle source
# File generated/google/apis/prediction_v1_6/classes.rb, line 537
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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