Class: Google::Apis::DriveV2::About::ImportFormat
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DriveV2::About::ImportFormat
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
 generated/google/apis/drive_v2/representations.rb,
 generated/google/apis/drive_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #source  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The imported file's content type to convert from. 
- 
  
    
      #targets  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The possible content types to convert to. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ImportFormat 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ImportFormat. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImportFormat
Returns a new instance of ImportFormat
| 319 320 321 | # File 'generated/google/apis/drive_v2/classes.rb', line 319 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#source ⇒ String
The imported file's content type to convert from.
Corresponds to the JSON property source
| 312 313 314 | # File 'generated/google/apis/drive_v2/classes.rb', line 312 def source @source end | 
#targets ⇒ Array<String>
The possible content types to convert to.
Corresponds to the JSON property targets
| 317 318 319 | # File 'generated/google/apis/drive_v2/classes.rb', line 317 def targets @targets end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 324 325 326 327 | # File 'generated/google/apis/drive_v2/classes.rb', line 324 def update!(**args) @source = args[:source] if args.key?(:source) @targets = args[:targets] if args.key?(:targets) end |