Class: Google::Apis::PolyV1::AssetImportMessage
- Inherits:
-
Object
- Object
- Google::Apis::PolyV1::AssetImportMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/poly_v1/classes.rb,
generated/google/apis/poly_v1/representations.rb,
generated/google/apis/poly_v1/representations.rb
Overview
A message generated by the asset import process.
Instance Attribute Summary collapse
-
#code ⇒ String
The code associated with this message.
-
#file_path ⇒ String
An optional file path.
-
#image_error ⇒ Google::Apis::PolyV1::ImageError
A message resulting from reading an image file.
-
#obj_parse_error ⇒ Google::Apis::PolyV1::ObjParseError
Details of an error resulting from parsing an OBJ file Corresponds to the JSON property
objParseError
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetImportMessage
constructor
A new instance of AssetImportMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AssetImportMessage
Returns a new instance of AssetImportMessage
163 164 165 |
# File 'generated/google/apis/poly_v1/classes.rb', line 163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The code associated with this message.
Corresponds to the JSON property code
146 147 148 |
# File 'generated/google/apis/poly_v1/classes.rb', line 146 def code @code end |
#file_path ⇒ String
An optional file path. Only present for those error codes that specify it.
Corresponds to the JSON property filePath
151 152 153 |
# File 'generated/google/apis/poly_v1/classes.rb', line 151 def file_path @file_path end |
#image_error ⇒ Google::Apis::PolyV1::ImageError
A message resulting from reading an image file.
Corresponds to the JSON property imageError
156 157 158 |
# File 'generated/google/apis/poly_v1/classes.rb', line 156 def image_error @image_error end |
#obj_parse_error ⇒ Google::Apis::PolyV1::ObjParseError
Details of an error resulting from parsing an OBJ file
Corresponds to the JSON property objParseError
161 162 163 |
# File 'generated/google/apis/poly_v1/classes.rb', line 161 def obj_parse_error @obj_parse_error end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
168 169 170 171 172 173 |
# File 'generated/google/apis/poly_v1/classes.rb', line 168 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 |