class Google::Apis::PolyV1::ImageError

A message resulting from reading an image file.

Attributes

code[RW]

The type of image error encountered. Optional for older image errors. Corresponds to the JSON property `code` @return [String]

file_path[RW]

The file path in the import of the image that was rejected. Corresponds to the JSON property `filePath` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/poly_v1/classes.rb, line 292
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 297
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @file_path = args[:file_path] if args.key?(:file_path)
end