google-apis-classroom_v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-classroom_v1.rb +15 -0
- data/lib/google/apis/classroom_v1.rb +99 -0
- data/lib/google/apis/classroom_v1/classes.rb +2282 -0
- data/lib/google/apis/classroom_v1/gem_version.rb +28 -0
- data/lib/google/apis/classroom_v1/representations.rb +1033 -0
- data/lib/google/apis/classroom_v1/service.rb +2798 -0
- metadata +76 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module ClassroomV1
|
18
|
+
# Version of the google-apis-classroom_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201012"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,1033 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ClassroomV1
|
24
|
+
|
25
|
+
class Announcement
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Assignment
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AssignmentSubmission
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Attachment
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CloudPubsubTopic
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Course
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CourseAlias
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CourseMaterial
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CourseMaterialSet
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CourseRosterChangesInfo
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CourseWork
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CourseWorkChangesInfo
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CourseWorkMaterial
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Date
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class DriveFile
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class DriveFolder
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Empty
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Feed
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Form
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GlobalPermission
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GradeHistory
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Guardian
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GuardianInvitation
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class IndividualStudentsOptions
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Invitation
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class Link
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class ListAnnouncementsResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ListCourseAliasesResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class ListCourseWorkMaterialResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ListCourseWorkResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ListCoursesResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListGuardianInvitationsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ListGuardiansResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListInvitationsResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class ListStudentSubmissionsResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class ListStudentsResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class ListTeachersResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListTopicResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class Material
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class ModifyAnnouncementAssigneesRequest
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class ModifyAttachmentsRequest
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class ModifyCourseWorkAssigneesRequest
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class ModifyIndividualStudentsOptions
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class MultipleChoiceQuestion
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class MultipleChoiceSubmission
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class Name
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class ReclaimStudentSubmissionRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class Registration
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class ReturnStudentSubmissionRequest
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class SharedDriveFile
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class ShortAnswerSubmission
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class StateHistory
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class Student
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class StudentSubmission
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class SubmissionHistory
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class Teacher
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class TimeOfDay
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class Topic
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class TurnInStudentSubmissionRequest
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class UserProfile
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class YouTubeVideo
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class Announcement
|
392
|
+
# @private
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
394
|
+
property :alternate_link, as: 'alternateLink'
|
395
|
+
property :assignee_mode, as: 'assigneeMode'
|
396
|
+
property :course_id, as: 'courseId'
|
397
|
+
property :creation_time, as: 'creationTime'
|
398
|
+
property :creator_user_id, as: 'creatorUserId'
|
399
|
+
property :id, as: 'id'
|
400
|
+
property :individual_students_options, as: 'individualStudentsOptions', class: Google::Apis::ClassroomV1::IndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::IndividualStudentsOptions::Representation
|
401
|
+
|
402
|
+
collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
|
403
|
+
|
404
|
+
property :scheduled_time, as: 'scheduledTime'
|
405
|
+
property :state, as: 'state'
|
406
|
+
property :text, as: 'text'
|
407
|
+
property :update_time, as: 'updateTime'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
class Assignment
|
412
|
+
# @private
|
413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
414
|
+
property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
|
415
|
+
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
class AssignmentSubmission
|
420
|
+
# @private
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
+
collection :attachments, as: 'attachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
|
423
|
+
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
class Attachment
|
428
|
+
# @private
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
+
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
|
431
|
+
|
432
|
+
property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
|
433
|
+
|
434
|
+
property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
|
435
|
+
|
436
|
+
property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
|
437
|
+
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
class CloudPubsubTopic
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :topic_name, as: 'topicName'
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
class Course
|
449
|
+
# @private
|
450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
451
|
+
property :alternate_link, as: 'alternateLink'
|
452
|
+
property :calendar_id, as: 'calendarId'
|
453
|
+
property :course_group_email, as: 'courseGroupEmail'
|
454
|
+
collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation
|
455
|
+
|
456
|
+
property :course_state, as: 'courseState'
|
457
|
+
property :creation_time, as: 'creationTime'
|
458
|
+
property :description, as: 'description'
|
459
|
+
property :description_heading, as: 'descriptionHeading'
|
460
|
+
property :enrollment_code, as: 'enrollmentCode'
|
461
|
+
property :guardians_enabled, as: 'guardiansEnabled'
|
462
|
+
property :id, as: 'id'
|
463
|
+
property :name, as: 'name'
|
464
|
+
property :owner_id, as: 'ownerId'
|
465
|
+
property :room, as: 'room'
|
466
|
+
property :section, as: 'section'
|
467
|
+
property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
|
468
|
+
|
469
|
+
property :teacher_group_email, as: 'teacherGroupEmail'
|
470
|
+
property :update_time, as: 'updateTime'
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
class CourseAlias
|
475
|
+
# @private
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
477
|
+
property :alias, as: 'alias'
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class CourseMaterial
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
|
485
|
+
|
486
|
+
property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
|
487
|
+
|
488
|
+
property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
|
489
|
+
|
490
|
+
property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
|
491
|
+
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
class CourseMaterialSet
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation
|
499
|
+
|
500
|
+
property :title, as: 'title'
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
class CourseRosterChangesInfo
|
505
|
+
# @private
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
507
|
+
property :course_id, as: 'courseId'
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
class CourseWork
|
512
|
+
# @private
|
513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
property :alternate_link, as: 'alternateLink'
|
515
|
+
property :assignee_mode, as: 'assigneeMode'
|
516
|
+
property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation
|
517
|
+
|
518
|
+
property :associated_with_developer, as: 'associatedWithDeveloper'
|
519
|
+
property :course_id, as: 'courseId'
|
520
|
+
property :creation_time, as: 'creationTime'
|
521
|
+
property :creator_user_id, as: 'creatorUserId'
|
522
|
+
property :description, as: 'description'
|
523
|
+
property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation
|
524
|
+
|
525
|
+
property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation
|
526
|
+
|
527
|
+
property :id, as: 'id'
|
528
|
+
property :individual_students_options, as: 'individualStudentsOptions', class: Google::Apis::ClassroomV1::IndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::IndividualStudentsOptions::Representation
|
529
|
+
|
530
|
+
collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
|
531
|
+
|
532
|
+
property :max_points, as: 'maxPoints'
|
533
|
+
property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation
|
534
|
+
|
535
|
+
property :scheduled_time, as: 'scheduledTime'
|
536
|
+
property :state, as: 'state'
|
537
|
+
property :submission_modification_mode, as: 'submissionModificationMode'
|
538
|
+
property :title, as: 'title'
|
539
|
+
property :topic_id, as: 'topicId'
|
540
|
+
property :update_time, as: 'updateTime'
|
541
|
+
property :work_type, as: 'workType'
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
class CourseWorkChangesInfo
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
property :course_id, as: 'courseId'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
class CourseWorkMaterial
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :alternate_link, as: 'alternateLink'
|
556
|
+
property :assignee_mode, as: 'assigneeMode'
|
557
|
+
property :course_id, as: 'courseId'
|
558
|
+
property :creation_time, as: 'creationTime'
|
559
|
+
property :creator_user_id, as: 'creatorUserId'
|
560
|
+
property :description, as: 'description'
|
561
|
+
property :id, as: 'id'
|
562
|
+
property :individual_students_options, as: 'individualStudentsOptions', class: Google::Apis::ClassroomV1::IndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::IndividualStudentsOptions::Representation
|
563
|
+
|
564
|
+
collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
|
565
|
+
|
566
|
+
property :scheduled_time, as: 'scheduledTime'
|
567
|
+
property :state, as: 'state'
|
568
|
+
property :title, as: 'title'
|
569
|
+
property :topic_id, as: 'topicId'
|
570
|
+
property :update_time, as: 'updateTime'
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class Date
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :day, as: 'day'
|
578
|
+
property :month, as: 'month'
|
579
|
+
property :year, as: 'year'
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
class DriveFile
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
property :alternate_link, as: 'alternateLink'
|
587
|
+
property :id, as: 'id'
|
588
|
+
property :thumbnail_url, as: 'thumbnailUrl'
|
589
|
+
property :title, as: 'title'
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
class DriveFolder
|
594
|
+
# @private
|
595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
property :alternate_link, as: 'alternateLink'
|
597
|
+
property :id, as: 'id'
|
598
|
+
property :title, as: 'title'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class Empty
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
608
|
+
class Feed
|
609
|
+
# @private
|
610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
611
|
+
property :course_roster_changes_info, as: 'courseRosterChangesInfo', class: Google::Apis::ClassroomV1::CourseRosterChangesInfo, decorator: Google::Apis::ClassroomV1::CourseRosterChangesInfo::Representation
|
612
|
+
|
613
|
+
property :course_work_changes_info, as: 'courseWorkChangesInfo', class: Google::Apis::ClassroomV1::CourseWorkChangesInfo, decorator: Google::Apis::ClassroomV1::CourseWorkChangesInfo::Representation
|
614
|
+
|
615
|
+
property :feed_type, as: 'feedType'
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
class Form
|
620
|
+
# @private
|
621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :form_url, as: 'formUrl'
|
623
|
+
property :response_url, as: 'responseUrl'
|
624
|
+
property :thumbnail_url, as: 'thumbnailUrl'
|
625
|
+
property :title, as: 'title'
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
class GlobalPermission
|
630
|
+
# @private
|
631
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
632
|
+
property :permission, as: 'permission'
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
class GradeHistory
|
637
|
+
# @private
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
+
property :actor_user_id, as: 'actorUserId'
|
640
|
+
property :grade_change_type, as: 'gradeChangeType'
|
641
|
+
property :grade_timestamp, as: 'gradeTimestamp'
|
642
|
+
property :max_points, as: 'maxPoints'
|
643
|
+
property :points_earned, as: 'pointsEarned'
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
class Guardian
|
648
|
+
# @private
|
649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
650
|
+
property :guardian_id, as: 'guardianId'
|
651
|
+
property :guardian_profile, as: 'guardianProfile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
|
652
|
+
|
653
|
+
property :invited_email_address, as: 'invitedEmailAddress'
|
654
|
+
property :student_id, as: 'studentId'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class GuardianInvitation
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :creation_time, as: 'creationTime'
|
662
|
+
property :invitation_id, as: 'invitationId'
|
663
|
+
property :invited_email_address, as: 'invitedEmailAddress'
|
664
|
+
property :state, as: 'state'
|
665
|
+
property :student_id, as: 'studentId'
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
class IndividualStudentsOptions
|
670
|
+
# @private
|
671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
672
|
+
collection :student_ids, as: 'studentIds'
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
class Invitation
|
677
|
+
# @private
|
678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
+
property :course_id, as: 'courseId'
|
680
|
+
property :id, as: 'id'
|
681
|
+
property :role, as: 'role'
|
682
|
+
property :user_id, as: 'userId'
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
class Link
|
687
|
+
# @private
|
688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
689
|
+
property :thumbnail_url, as: 'thumbnailUrl'
|
690
|
+
property :title, as: 'title'
|
691
|
+
property :url, as: 'url'
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
class ListAnnouncementsResponse
|
696
|
+
# @private
|
697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
698
|
+
collection :announcements, as: 'announcements', class: Google::Apis::ClassroomV1::Announcement, decorator: Google::Apis::ClassroomV1::Announcement::Representation
|
699
|
+
|
700
|
+
property :next_page_token, as: 'nextPageToken'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
class ListCourseAliasesResponse
|
705
|
+
# @private
|
706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
707
|
+
collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation
|
708
|
+
|
709
|
+
property :next_page_token, as: 'nextPageToken'
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
class ListCourseWorkMaterialResponse
|
714
|
+
# @private
|
715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
716
|
+
collection :course_work_material, as: 'courseWorkMaterial', class: Google::Apis::ClassroomV1::CourseWorkMaterial, decorator: Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
|
717
|
+
|
718
|
+
property :next_page_token, as: 'nextPageToken'
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
722
|
+
class ListCourseWorkResponse
|
723
|
+
# @private
|
724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
725
|
+
collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation
|
726
|
+
|
727
|
+
property :next_page_token, as: 'nextPageToken'
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
class ListCoursesResponse
|
732
|
+
# @private
|
733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation
|
735
|
+
|
736
|
+
property :next_page_token, as: 'nextPageToken'
|
737
|
+
end
|
738
|
+
end
|
739
|
+
|
740
|
+
class ListGuardianInvitationsResponse
|
741
|
+
# @private
|
742
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
743
|
+
collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
744
|
+
|
745
|
+
property :next_page_token, as: 'nextPageToken'
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
class ListGuardiansResponse
|
750
|
+
# @private
|
751
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
+
collection :guardians, as: 'guardians', class: Google::Apis::ClassroomV1::Guardian, decorator: Google::Apis::ClassroomV1::Guardian::Representation
|
753
|
+
|
754
|
+
property :next_page_token, as: 'nextPageToken'
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
class ListInvitationsResponse
|
759
|
+
# @private
|
760
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
761
|
+
collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation
|
762
|
+
|
763
|
+
property :next_page_token, as: 'nextPageToken'
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
class ListStudentSubmissionsResponse
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :next_page_token, as: 'nextPageToken'
|
771
|
+
collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation
|
772
|
+
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
class ListStudentsResponse
|
777
|
+
# @private
|
778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
779
|
+
property :next_page_token, as: 'nextPageToken'
|
780
|
+
collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation
|
781
|
+
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
class ListTeachersResponse
|
786
|
+
# @private
|
787
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
788
|
+
property :next_page_token, as: 'nextPageToken'
|
789
|
+
collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation
|
790
|
+
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
class ListTopicResponse
|
795
|
+
# @private
|
796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
797
|
+
property :next_page_token, as: 'nextPageToken'
|
798
|
+
collection :topic, as: 'topic', class: Google::Apis::ClassroomV1::Topic, decorator: Google::Apis::ClassroomV1::Topic::Representation
|
799
|
+
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
class Material
|
804
|
+
# @private
|
805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::SharedDriveFile, decorator: Google::Apis::ClassroomV1::SharedDriveFile::Representation
|
807
|
+
|
808
|
+
property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
|
809
|
+
|
810
|
+
property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
|
811
|
+
|
812
|
+
property :youtube_video, as: 'youtubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
|
813
|
+
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
class ModifyAnnouncementAssigneesRequest
|
818
|
+
# @private
|
819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
820
|
+
property :assignee_mode, as: 'assigneeMode'
|
821
|
+
property :modify_individual_students_options, as: 'modifyIndividualStudentsOptions', class: Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions::Representation
|
822
|
+
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
class ModifyAttachmentsRequest
|
827
|
+
# @private
|
828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
829
|
+
collection :add_attachments, as: 'addAttachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
|
830
|
+
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
class ModifyCourseWorkAssigneesRequest
|
835
|
+
# @private
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
837
|
+
property :assignee_mode, as: 'assigneeMode'
|
838
|
+
property :modify_individual_students_options, as: 'modifyIndividualStudentsOptions', class: Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::ModifyIndividualStudentsOptions::Representation
|
839
|
+
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
class ModifyIndividualStudentsOptions
|
844
|
+
# @private
|
845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
846
|
+
collection :add_student_ids, as: 'addStudentIds'
|
847
|
+
collection :remove_student_ids, as: 'removeStudentIds'
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
class MultipleChoiceQuestion
|
852
|
+
# @private
|
853
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
854
|
+
collection :choices, as: 'choices'
|
855
|
+
end
|
856
|
+
end
|
857
|
+
|
858
|
+
class MultipleChoiceSubmission
|
859
|
+
# @private
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
861
|
+
property :answer, as: 'answer'
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
class Name
|
866
|
+
# @private
|
867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
868
|
+
property :family_name, as: 'familyName'
|
869
|
+
property :full_name, as: 'fullName'
|
870
|
+
property :given_name, as: 'givenName'
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
class ReclaimStudentSubmissionRequest
|
875
|
+
# @private
|
876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
class Registration
|
881
|
+
# @private
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
+
property :cloud_pubsub_topic, as: 'cloudPubsubTopic', class: Google::Apis::ClassroomV1::CloudPubsubTopic, decorator: Google::Apis::ClassroomV1::CloudPubsubTopic::Representation
|
884
|
+
|
885
|
+
property :expiry_time, as: 'expiryTime'
|
886
|
+
property :feed, as: 'feed', class: Google::Apis::ClassroomV1::Feed, decorator: Google::Apis::ClassroomV1::Feed::Representation
|
887
|
+
|
888
|
+
property :registration_id, as: 'registrationId'
|
889
|
+
end
|
890
|
+
end
|
891
|
+
|
892
|
+
class ReturnStudentSubmissionRequest
|
893
|
+
# @private
|
894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
895
|
+
end
|
896
|
+
end
|
897
|
+
|
898
|
+
class SharedDriveFile
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
|
902
|
+
|
903
|
+
property :share_mode, as: 'shareMode'
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
907
|
+
class ShortAnswerSubmission
|
908
|
+
# @private
|
909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
910
|
+
property :answer, as: 'answer'
|
911
|
+
end
|
912
|
+
end
|
913
|
+
|
914
|
+
class StateHistory
|
915
|
+
# @private
|
916
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
917
|
+
property :actor_user_id, as: 'actorUserId'
|
918
|
+
property :state, as: 'state'
|
919
|
+
property :state_timestamp, as: 'stateTimestamp'
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
923
|
+
class Student
|
924
|
+
# @private
|
925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
926
|
+
property :course_id, as: 'courseId'
|
927
|
+
property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
|
928
|
+
|
929
|
+
property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
|
930
|
+
|
931
|
+
property :user_id, as: 'userId'
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
class StudentSubmission
|
936
|
+
# @private
|
937
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
938
|
+
property :alternate_link, as: 'alternateLink'
|
939
|
+
property :assigned_grade, as: 'assignedGrade'
|
940
|
+
property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation
|
941
|
+
|
942
|
+
property :associated_with_developer, as: 'associatedWithDeveloper'
|
943
|
+
property :course_id, as: 'courseId'
|
944
|
+
property :course_work_id, as: 'courseWorkId'
|
945
|
+
property :course_work_type, as: 'courseWorkType'
|
946
|
+
property :creation_time, as: 'creationTime'
|
947
|
+
property :draft_grade, as: 'draftGrade'
|
948
|
+
property :id, as: 'id'
|
949
|
+
property :late, as: 'late'
|
950
|
+
property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation
|
951
|
+
|
952
|
+
property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation
|
953
|
+
|
954
|
+
property :state, as: 'state'
|
955
|
+
collection :submission_history, as: 'submissionHistory', class: Google::Apis::ClassroomV1::SubmissionHistory, decorator: Google::Apis::ClassroomV1::SubmissionHistory::Representation
|
956
|
+
|
957
|
+
property :update_time, as: 'updateTime'
|
958
|
+
property :user_id, as: 'userId'
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
class SubmissionHistory
|
963
|
+
# @private
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
+
property :grade_history, as: 'gradeHistory', class: Google::Apis::ClassroomV1::GradeHistory, decorator: Google::Apis::ClassroomV1::GradeHistory::Representation
|
966
|
+
|
967
|
+
property :state_history, as: 'stateHistory', class: Google::Apis::ClassroomV1::StateHistory, decorator: Google::Apis::ClassroomV1::StateHistory::Representation
|
968
|
+
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
972
|
+
class Teacher
|
973
|
+
# @private
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
975
|
+
property :course_id, as: 'courseId'
|
976
|
+
property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
|
977
|
+
|
978
|
+
property :user_id, as: 'userId'
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
982
|
+
class TimeOfDay
|
983
|
+
# @private
|
984
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
985
|
+
property :hours, as: 'hours'
|
986
|
+
property :minutes, as: 'minutes'
|
987
|
+
property :nanos, as: 'nanos'
|
988
|
+
property :seconds, as: 'seconds'
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
992
|
+
class Topic
|
993
|
+
# @private
|
994
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
995
|
+
property :course_id, as: 'courseId'
|
996
|
+
property :name, as: 'name'
|
997
|
+
property :topic_id, as: 'topicId'
|
998
|
+
property :update_time, as: 'updateTime'
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
class TurnInStudentSubmissionRequest
|
1003
|
+
# @private
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class UserProfile
|
1009
|
+
# @private
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1011
|
+
property :email_address, as: 'emailAddress'
|
1012
|
+
property :id, as: 'id'
|
1013
|
+
property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation
|
1014
|
+
|
1015
|
+
collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation
|
1016
|
+
|
1017
|
+
property :photo_url, as: 'photoUrl'
|
1018
|
+
property :verified_teacher, as: 'verifiedTeacher'
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
class YouTubeVideo
|
1023
|
+
# @private
|
1024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1025
|
+
property :alternate_link, as: 'alternateLink'
|
1026
|
+
property :id, as: 'id'
|
1027
|
+
property :thumbnail_url, as: 'thumbnailUrl'
|
1028
|
+
property :title, as: 'title'
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
end
|