class Google::Apis::DriveV2::About::MaxUploadSize
Attributes
size[RW]
The max upload size for this type. Corresponds to the JSON property `size` @return [String]
type[RW]
The file type. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/drive_v2/classes.rb, line 331 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/drive_v2/classes.rb, line 336 def update!(**args) @size = args[:size] if args.key?(:size) @type = args[:type] if args.key?(:type) end