class Google::Apis::CalendarV3::Event::Gadget
A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
Attributes
The gadget's display mode. Deprecated. Possible values are:
-
“icon” - The gadget displays next to the event's title in the calendar view.
-
“chip” - The gadget displays when the event is clicked.
Corresponds to the JSON property `display` @return [String]
The gadget's height in pixels. The height must be an integer greater than 0. Optional. Deprecated. Corresponds to the JSON property `height` @return [Fixnum]
The gadget's icon URL. The URL scheme must be HTTPS. Deprecated. Corresponds to the JSON property `iconLink` @return [String]
The gadget's URL. The URL scheme must be HTTPS. Deprecated. Corresponds to the JSON property `link` @return [String]
Preferences. Corresponds to the JSON property `preferences` @return [Hash<String,String>]
The gadget's title. Deprecated. Corresponds to the JSON property `title` @return [String]
The gadget's type. Deprecated. Corresponds to the JSON property `type` @return [String]
The gadget's width in pixels. The width must be an integer greater than 0. Optional. Deprecated. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File lib/google/apis/calendar_v3/classes.rb, line 1497 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/calendar_v3/classes.rb, line 1502 def update!(**args) @display_mode = args[:display_mode] if args.key?(:display_mode) @height = args[:height] if args.key?(:height) @icon_link = args[:icon_link] if args.key?(:icon_link) @link = args[:link] if args.key?(:link) @preferences = args[:preferences] if args.key?(:preferences) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) @width = args[:width] if args.key?(:width) end