class Google::Apis::ClassroomV1::DriveFolder

Representation of a Google Drive folder.

Attributes

id[RW]

Drive API resource ID. Corresponds to the JSON property `id` @return [String]

title[RW]

Title of the Drive folder. 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 868
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 873
def update!(**args)
  @alternate_link = args[:alternate_link] if args.key?(:alternate_link)
  @id = args[:id] if args.key?(:id)
  @title = args[:title] if args.key?(:title)
end