Class: Google::Apis::PredictionV1_5::Analyze
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_5::Analyze
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prediction_v1_5/classes.rb,
generated/google/apis/prediction_v1_5/representations.rb,
generated/google/apis/prediction_v1_5/representations.rb
Defined Under Namespace
Classes: DataDescription, ModelDescription
Instance Attribute Summary collapse
-
#data_description ⇒ Google::Apis::PredictionV1_5::Analyze::DataDescription
Description of the data the model was trained on.
-
#errors ⇒ Array<Hash<String,String>>
List of errors with the data.
-
#id ⇒ String
The unique name for the predictive model.
-
#kind ⇒ String
What kind of resource this is.
-
#model_description ⇒ Google::Apis::PredictionV1_5::Analyze::ModelDescription
Description of the model.
-
#self_link ⇒ String
A URL to re-request this resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Analyze
constructor
A new instance of Analyze.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Analyze
Returns a new instance of Analyze
59 60 61 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 59 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_description ⇒ Google::Apis::PredictionV1_5::Analyze::DataDescription
Description of the data the model was trained on.
Corresponds to the JSON property dataDescription
32 33 34 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 32 def data_description @data_description end |
#errors ⇒ Array<Hash<String,String>>
List of errors with the data.
Corresponds to the JSON property errors
37 38 39 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 37 def errors @errors end |
#id ⇒ String
The unique name for the predictive model.
Corresponds to the JSON property id
42 43 44 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 42 def id @id end |
#kind ⇒ String
What kind of resource this is.
Corresponds to the JSON property kind
47 48 49 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 47 def kind @kind end |
#model_description ⇒ Google::Apis::PredictionV1_5::Analyze::ModelDescription
Description of the model.
Corresponds to the JSON property modelDescription
52 53 54 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 52 def model_description @model_description end |
#self_link ⇒ String
A URL to re-request this resource.
Corresponds to the JSON property selfLink
57 58 59 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 57 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64 65 66 67 68 69 70 71 |
# File 'generated/google/apis/prediction_v1_5/classes.rb', line 64 def update!(**args) @data_description = args[:data_description] if args.key?(:data_description) @errors = args[:errors] if args.key?(:errors) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @model_description = args[:model_description] if args.key?(:model_description) @self_link = args[:self_link] if args.key?(:self_link) end |