class Google::Apis::CalendarV3::Event::Source

Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.

Attributes

title[RW]

Title of the source; for example a title of a web page or an email subject. Corresponds to the JSON property `title` @return [String]

url[RW]

URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 1162
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/calendar_v3/classes.rb, line 1167
def update!(**args)
  @title = args[:title] if args.key?(:title)
  @url = args[:url] if args.key?(:url)
end