class Google::Apis::ClassroomV1::ListCoursesResponse

Response when listing courses.

Attributes

courses[RW]

Courses that match the list request. Corresponds to the JSON property `courses` @return [Array<Google::Apis::ClassroomV1::Course>]

next_page_token[RW]

Token identifying the next page of results to return. If empty, no further results are available. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/classroom_v1/classes.rb, line 167
def update!(**args)
  @courses = args[:courses] if args.key?(:courses)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end