class Google::Apis::PolyV1::AssetImportMessage
A message generated by the asset import process.
Attributes
code[RW]
The code associated with this message. Corresponds to the JSON property `code` @return [String]
file_path[RW]
An optional file path. Only present for those error codes that specify it. Corresponds to the JSON property `filePath` @return [String]
image_error[RW]
A message resulting from reading an image file. Corresponds to the JSON property `imageError` @return [Google::Apis::PolyV1::ImageError]
obj_parse_error[RW]
Details of an error resulting from parsing an OBJ file Corresponds to the JSON property `objParseError` @return [Google::Apis::PolyV1::ObjParseError]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/poly_v1/classes.rb, line 160 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/poly_v1/classes.rb, line 165 def update!(**args) @code = args[:code] if args.key?(:code) @file_path = args[:file_path] if args.key?(:file_path) @image_error = args[:image_error] if args.key?(:image_error) @obj_parse_error = args[:obj_parse_error] if args.key?(:obj_parse_error) end