class Google::Apis::FirebasemlV1beta2::Model
An ML model hosted in Firebase ML
Attributes
Output only. Lists operation ids associated with this model whose status is NOT done. Corresponds to the JSON property `activeOperations` @return [Array<Google::Apis::FirebasemlV1beta2::Operation>]
Output only. Timestamp when this model was created in Firebase ML. Corresponds to the JSON property `createTime` @return [String]
Required. The name of the model to create. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores(_) and ASCII digits 0-9. It must start with a letter. Corresponds to the JSON property `displayName` @return [String]
Output only. See RFC7232 tools.ietf.org/html/rfc7232#section-2.3 Corresponds to the JSON property `etag` @return [String]
Output only. The model_hash
will change if a new file is available for download. Corresponds to the JSON property `modelHash` @return [String]
State common to all model types. Includes publishing and validation information. Corresponds to the JSON property `state` @return [Google::Apis::FirebasemlV1beta2::ModelState]
Information that is specific to TfLite models. Corresponds to the JSON property `tfliteModel` @return [Google::Apis::FirebasemlV1beta2::TfLiteModel]
Output only. Timestamp when this model was updated in Firebase ML. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 166 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 171 def update!(**args) @active_operations = args[:active_operations] if args.key?(:active_operations) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @model_hash = args[:model_hash] if args.key?(:model_hash) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @tags = args[:tags] if args.key?(:tags) @tflite_model = args[:tflite_model] if args.key?(:tflite_model) @update_time = args[:update_time] if args.key?(:update_time) end