class Google::Apis::DriveV2::App::Icon
Attributes
category[RW]
Category of the icon. Allowed values are:
-
application - icon for the application
-
document - icon for a file associated with the app
-
documentShared - icon for a shared file associated with the app
Corresponds to the JSON property `category` @return [String]
icon_url[RW]
URL for the icon. Corresponds to the JSON property `iconUrl` @return [String]
size[RW]
Size of the icon. Represented as the maximum of the width and height. Corresponds to the JSON property `size` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 651 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 656 def update!(**args) @category = args[:category] if args.key?(:category) @icon_url = args[:icon_url] if args.key?(:icon_url) @size = args[:size] if args.key?(:size) end