class Google::Apis::ClassroomV1::DriveFile
Representation
of a Google
Drive file.
Attributes
alternate_link[RW]
URL that can be used to access the Drive item. Read-only. Corresponds to the JSON property `alternateLink` @return [String]
id[RW]
Drive API resource ID. Corresponds to the JSON property `id` @return [String]
thumbnail_url[RW]
URL of a thumbnail image of the Drive item. Read-only. Corresponds to the JSON property `thumbnailUrl` @return [String]
title[RW]
Title of the Drive item. Read-only. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 836 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 841 def update!(**args) @alternate_link = args[:alternate_link] if args.key?(:alternate_link) @id = args[:id] if args.key?(:id) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) @title = args[:title] if args.key?(:title) end