class Google::Apis::FirebasemlV1beta2::DownloadModelResponse
The response for downloading a model to device.
Attributes
download_uri[RW]
Output only. A download URI for the model/zip file. Corresponds to the JSON property `downloadUri` @return [String]
expire_time[RW]
Output only. The time that the download URI link expires. If the link has expired, the REST call must be repeated. Corresponds to the JSON property `expireTime` @return [String]
model_format[RW]
Output only. The format of the model being downloaded. Corresponds to the JSON property `modelFormat` @return [String]
size_bytes[RW]
Output only. The size of the file(s), if this information is available. Corresponds to the JSON property `sizeBytes` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 50 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firebaseml_v1beta2/classes.rb, line 55 def update!(**args) @download_uri = args[:download_uri] if args.key?(:download_uri) @expire_time = args[:expire_time] if args.key?(:expire_time) @model_format = args[:model_format] if args.key?(:model_format) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) end