Class: Google::Apis::PredictionV1_6::Insert2
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::Insert2
- 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
Defined Under Namespace
Classes: ModelInfo
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Insert time of the model (as a RFC 3339 timestamp).
-
#id ⇒ String
The unique name for the predictive model.
-
#kind ⇒ String
What kind of resource this is.
-
#model_info ⇒ Google::Apis::PredictionV1_6::Insert2::ModelInfo
Model metadata.
-
#model_type ⇒ String
Type of predictive model (CLASSIFICATION or REGRESSION).
-
#self_link ⇒ String
A URL to re-request this resource.
-
#storage_data_location ⇒ String
Google storage location of the training data file.
-
#storage_pmml_location ⇒ String
Google storage location of the preprocessing pmml file.
-
#storage_pmml_model_location ⇒ String
Google storage location of the pmml model file.
-
#training_complete ⇒ DateTime
Training completion time (as a RFC 3339 timestamp).
-
#training_status ⇒ String
The current status of the training job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Insert2
constructor
A new instance of Insert2.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Insert2
Returns a new instance of Insert2
537 538 539 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created ⇒ DateTime
Insert time of the model (as a RFC 3339 timestamp).
Corresponds to the JSON property created
484 485 486 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 484 def created @created end |
#id ⇒ String
The unique name for the predictive model.
Corresponds to the JSON property id
489 490 491 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 489 def id @id end |
#kind ⇒ String
What kind of resource this is.
Corresponds to the JSON property kind
494 495 496 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 494 def kind @kind end |
#model_info ⇒ Google::Apis::PredictionV1_6::Insert2::ModelInfo
Model metadata.
Corresponds to the JSON property modelInfo
499 500 501 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 499 def model_info @model_info end |
#model_type ⇒ String
Type of predictive model (CLASSIFICATION or REGRESSION).
Corresponds to the JSON property modelType
504 505 506 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 504 def model_type @model_type end |
#self_link ⇒ String
A URL to re-request this resource.
Corresponds to the JSON property selfLink
509 510 511 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 509 def self_link @self_link end |
#storage_data_location ⇒ String
Google storage location of the training data file.
Corresponds to the JSON property storageDataLocation
514 515 516 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 514 def storage_data_location @storage_data_location end |
#storage_pmml_location ⇒ String
Google storage location of the preprocessing pmml file.
Corresponds to the JSON property storagePMMLLocation
519 520 521 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 519 def storage_pmml_location @storage_pmml_location end |
#storage_pmml_model_location ⇒ String
Google storage location of the pmml model file.
Corresponds to the JSON property storagePMMLModelLocation
524 525 526 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 524 def storage_pmml_model_location @storage_pmml_model_location end |
#training_complete ⇒ DateTime
Training completion time (as a RFC 3339 timestamp).
Corresponds to the JSON property trainingComplete
529 530 531 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 529 def training_complete @training_complete end |
#training_status ⇒ String
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
535 536 537 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 535 def training_status @training_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
542 543 544 545 546 547 548 549 550 551 552 553 554 |
# 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 |