class Google::Apis::DriveV2::About::ImportFormat

Attributes

source[RW]

The imported file's content type to convert from. Corresponds to the JSON property `source` @return [String]

targets[RW]

The possible content types to convert to. Corresponds to the JSON property `targets` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 364
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/drive_v2/classes.rb, line 369
def update!(**args)
  @source = args[:source] if args.key?(:source)
  @targets = args[:targets] if args.key?(:targets)
end