class Google::Apis::ClassroomV1::Link

URL item.

Attributes

thumbnail_url[RW]

URL of a thumbnail image of the target URL. Read-only. Corresponds to the JSON property `thumbnailUrl` @return [String]

title[RW]

Title of the target of the URL. Read-only. Corresponds to the JSON property `title` @return [String]

url[RW]

URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters. Corresponds to the JSON property `url` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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