Class: Google::Apis::DriveV2::About::ExportFormat
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::About::ExportFormat
- 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 content type to convert from.
-
#targets ⇒ Array<String>
The possible content types to convert to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExportFormat
constructor
A new instance of ExportFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExportFormat
Returns a new instance of ExportFormat
269 270 271 |
# File 'generated/google/apis/drive_v2/classes.rb', line 269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source ⇒ String
The content type to convert from.
Corresponds to the JSON property source
262 263 264 |
# File 'generated/google/apis/drive_v2/classes.rb', line 262 def source @source end |
#targets ⇒ Array<String>
The possible content types to convert to.
Corresponds to the JSON property targets
267 268 269 |
# File 'generated/google/apis/drive_v2/classes.rb', line 267 def targets @targets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
274 275 276 277 |
# File 'generated/google/apis/drive_v2/classes.rb', line 274 def update!(**args) @source = args[:source] if args.key?(:source) @targets = args[:targets] if args.key?(:targets) end |