google-api-client 0.9.28 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +10 -0
  4. data/api_names.yaml +36512 -36326
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4.rb +3 -3
  12. data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
  13. data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
  14. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/classroom_v1.rb +22 -25
  20. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  21. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  22. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
  26. data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
  27. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  28. data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
  29. data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
  30. data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
  31. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
  33. data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
  34. data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
  35. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
  37. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
  41. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
  43. data/generated/google/apis/cloudtrace_v1.rb +8 -8
  44. data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
  45. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  46. data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +406 -31
  49. data/generated/google/apis/compute_beta/representations.rb +154 -0
  50. data/generated/google/apis/compute_beta/service.rb +262 -9
  51. data/generated/google/apis/compute_v1.rb +1 -1
  52. data/generated/google/apis/compute_v1/classes.rb +17 -20
  53. data/generated/google/apis/content_v2.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  55. data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
  56. data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
  57. data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
  58. data/generated/google/apis/dataproc_v1.rb +2 -2
  59. data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
  60. data/generated/google/apis/dataproc_v1/representations.rb +262 -244
  61. data/generated/google/apis/dataproc_v1/service.rb +298 -243
  62. data/generated/google/apis/datastore_v1.rb +4 -4
  63. data/generated/google/apis/datastore_v1/classes.rb +728 -728
  64. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  65. data/generated/google/apis/datastore_v1/service.rb +68 -68
  66. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v3.rb +1 -1
  69. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  70. data/generated/google/apis/games_management_v1management.rb +1 -1
  71. data/generated/google/apis/games_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1.rb +7 -7
  73. data/generated/google/apis/genomics_v1/classes.rb +932 -932
  74. data/generated/google/apis/genomics_v1/representations.rb +205 -205
  75. data/generated/google/apis/genomics_v1/service.rb +1228 -1228
  76. data/generated/google/apis/gmail_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +440 -440
  78. data/generated/google/apis/iam_v1/representations.rb +94 -94
  79. data/generated/google/apis/iam_v1/service.rb +60 -60
  80. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  81. data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
  82. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  83. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  84. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  85. data/generated/google/apis/kgsearch_v1/service.rb +21 -21
  86. data/generated/google/apis/language_v1beta1.rb +1 -1
  87. data/generated/google/apis/language_v1beta1/classes.rb +232 -232
  88. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  89. data/generated/google/apis/logging_v2beta1.rb +1 -1
  90. data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
  91. data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
  92. data/generated/google/apis/logging_v2beta1/service.rb +331 -306
  93. data/generated/google/apis/monitoring_v3.rb +1 -1
  94. data/generated/google/apis/monitoring_v3/classes.rb +253 -253
  95. data/generated/google/apis/monitoring_v3/representations.rb +58 -58
  96. data/generated/google/apis/monitoring_v3/service.rb +135 -135
  97. data/generated/google/apis/people_v1.rb +15 -16
  98. data/generated/google/apis/people_v1/classes.rb +985 -855
  99. data/generated/google/apis/people_v1/representations.rb +227 -220
  100. data/generated/google/apis/people_v1/service.rb +58 -52
  101. data/generated/google/apis/plus_domains_v1.rb +1 -1
  102. data/generated/google/apis/plus_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/classes.rb +257 -257
  105. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  106. data/generated/google/apis/pubsub_v1/service.rb +390 -390
  107. data/generated/google/apis/script_v1.rb +17 -17
  108. data/generated/google/apis/script_v1/classes.rb +149 -141
  109. data/generated/google/apis/script_v1/representations.rb +26 -27
  110. data/generated/google/apis/script_v1/service.rb +9 -8
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
  113. data/generated/google/apis/sheets_v4/representations.rb +850 -834
  114. data/generated/google/apis/sheets_v4/service.rb +192 -192
  115. data/generated/google/apis/slides_v1.rb +1 -1
  116. data/generated/google/apis/slides_v1/classes.rb +927 -800
  117. data/generated/google/apis/slides_v1/representations.rb +253 -211
  118. data/generated/google/apis/speech_v1beta1.rb +1 -1
  119. data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
  120. data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
  121. data/generated/google/apis/speech_v1beta1/service.rb +51 -54
  122. data/generated/google/apis/storage_v1.rb +1 -1
  123. data/generated/google/apis/vision_v1.rb +1 -1
  124. data/generated/google/apis/vision_v1/classes.rb +888 -885
  125. data/generated/google/apis/vision_v1/representations.rb +139 -139
  126. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  127. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
  128. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  129. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  130. data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
  131. data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
  132. data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
  133. data/google-api-client.gemspec +2 -2
  134. data/lib/google/apis/core/api_command.rb +1 -1
  135. data/lib/google/apis/core/json_representation.rb +2 -2
  136. data/lib/google/apis/version.rb +1 -1
  137. data/samples/cli/lib/samples/you_tube.rb +4 -1
  138. metadata +36 -30
@@ -22,205 +22,205 @@ module Google
22
22
  module Apis
23
23
  module ClassroomV1
24
24
 
25
- class Course
25
+ class Attachment
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class DriveFolder
31
+ class ListGuardianInvitationsResponse
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class CourseMaterialSet
37
+ class CourseWork
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class CourseMaterial
43
+ class DriveFile
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class DriveFile
49
+ class DriveFolder
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class YouTubeVideo
55
+ class ListCourseAliasesResponse
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class Link
61
+ class ShortAnswerSubmission
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class Form
67
+ class CourseMaterial
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class Empty
73
+ class MultipleChoiceSubmission
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class ListCoursesResponse
79
+ class Link
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class CourseAlias
85
+ class ModifyAttachmentsRequest
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class ListCourseAliasesResponse
91
+ class TimeOfDay
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class ListGuardianInvitationsResponse
97
+ class Form
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class GuardianInvitation
103
+ class MultipleChoiceQuestion
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class UserProfile
109
+ class CourseMaterialSet
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class Name
115
+ class StudentSubmission
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class GlobalPermission
121
+ class CourseAlias
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class Teacher
127
+ class ListGuardiansResponse
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class ListTeachersResponse
133
+ class Guardian
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class Student
139
+ class Teacher
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class ListStudentsResponse
145
+ class UserProfile
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class ListGuardiansResponse
151
+ class ReclaimStudentSubmissionRequest
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class Guardian
157
+ class Student
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class Invitation
163
+ class ListTeachersResponse
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class ListInvitationsResponse
169
+ class Course
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class CourseWork
175
+ class ReturnStudentSubmissionRequest
176
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
177
 
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class Material
181
+ class GuardianInvitation
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class SharedDriveFile
187
+ class TurnInStudentSubmissionRequest
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class Date
193
+ class YouTubeVideo
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class TimeOfDay
199
+ class Empty
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class Assignment
205
+ class ListCourseWorkResponse
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class MultipleChoiceQuestion
211
+ class SharedDriveFile
212
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
213
 
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class ListCourseWorkResponse
217
+ class GlobalPermission
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class StudentSubmission
223
+ class Material
224
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
225
 
226
226
  include Google::Apis::Core::JsonObjectSupport
@@ -232,107 +232,101 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
- class Attachment
235
+ class Date
236
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
237
 
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class ShortAnswerSubmission
241
+ class Assignment
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
- class MultipleChoiceSubmission
247
+ class ListCoursesResponse
248
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
249
 
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
- class ListStudentSubmissionsResponse
253
+ class Invitation
254
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
255
 
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
- class TurnInStudentSubmissionRequest
259
+ class ListStudentSubmissionsResponse
260
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
261
 
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
- class ReclaimStudentSubmissionRequest
265
+ class Name
266
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
267
 
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
- class ReturnStudentSubmissionRequest
271
+ class ListInvitationsResponse
272
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
273
 
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
- class ModifyAttachmentsRequest
277
+ class ListStudentsResponse
278
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
279
 
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class Course
283
+ class Attachment
284
284
  # @private
285
285
  class Representation < Google::Apis::Core::JsonRepresentation
286
- property :id, as: 'id'
287
- property :name, as: 'name'
288
- property :section, as: 'section'
289
- property :description_heading, as: 'descriptionHeading'
290
- property :description, as: 'description'
291
- property :room, as: 'room'
292
- property :owner_id, as: 'ownerId'
293
- property :creation_time, as: 'creationTime'
294
- property :update_time, as: 'updateTime'
295
- property :enrollment_code, as: 'enrollmentCode'
296
- property :course_state, as: 'courseState'
297
- property :alternate_link, as: 'alternateLink'
298
- property :teacher_group_email, as: 'teacherGroupEmail'
299
- property :course_group_email, as: 'courseGroupEmail'
300
- property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
286
+ property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
301
287
 
302
- collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation
288
+ property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
303
289
 
304
- property :guardians_enabled, as: 'guardiansEnabled'
305
- end
306
- end
290
+ property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
291
+
292
+ property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
307
293
 
308
- class DriveFolder
309
- # @private
310
- class Representation < Google::Apis::Core::JsonRepresentation
311
- property :id, as: 'id'
312
- property :title, as: 'title'
313
- property :alternate_link, as: 'alternateLink'
314
294
  end
315
295
  end
316
296
 
317
- class CourseMaterialSet
297
+ class ListGuardianInvitationsResponse
318
298
  # @private
319
299
  class Representation < Google::Apis::Core::JsonRepresentation
320
- property :title, as: 'title'
321
- collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation
300
+ property :next_page_token, as: 'nextPageToken'
301
+ collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation
322
302
 
323
303
  end
324
304
  end
325
305
 
326
- class CourseMaterial
306
+ class CourseWork
327
307
  # @private
328
308
  class Representation < Google::Apis::Core::JsonRepresentation
329
- property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
309
+ property :id, as: 'id'
310
+ property :description, as: 'description'
311
+ property :submission_modification_mode, as: 'submissionModificationMode'
312
+ property :associated_with_developer, as: 'associatedWithDeveloper'
313
+ property :update_time, as: 'updateTime'
314
+ property :title, as: 'title'
315
+ property :alternate_link, as: 'alternateLink'
316
+ property :work_type, as: 'workType'
317
+ collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
330
318
 
331
- property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
319
+ property :state, as: 'state'
320
+ property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation
332
321
 
333
- property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
322
+ property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation
334
323
 
335
- property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
324
+ property :creation_time, as: 'creationTime'
325
+ property :course_id, as: 'courseId'
326
+ property :max_points, as: 'maxPoints'
327
+ property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation
328
+
329
+ property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation
336
330
 
337
331
  end
338
332
  end
@@ -340,159 +334,141 @@ module Google
340
334
  class DriveFile
341
335
  # @private
342
336
  class Representation < Google::Apis::Core::JsonRepresentation
343
- property :id, as: 'id'
337
+ property :thumbnail_url, as: 'thumbnailUrl'
344
338
  property :title, as: 'title'
345
339
  property :alternate_link, as: 'alternateLink'
346
- property :thumbnail_url, as: 'thumbnailUrl'
340
+ property :id, as: 'id'
347
341
  end
348
342
  end
349
343
 
350
- class YouTubeVideo
344
+ class DriveFolder
351
345
  # @private
352
346
  class Representation < Google::Apis::Core::JsonRepresentation
353
- property :id, as: 'id'
354
347
  property :title, as: 'title'
355
348
  property :alternate_link, as: 'alternateLink'
356
- property :thumbnail_url, as: 'thumbnailUrl'
349
+ property :id, as: 'id'
357
350
  end
358
351
  end
359
352
 
360
- class Link
353
+ class ListCourseAliasesResponse
361
354
  # @private
362
355
  class Representation < Google::Apis::Core::JsonRepresentation
363
- property :url, as: 'url'
364
- property :title, as: 'title'
365
- property :thumbnail_url, as: 'thumbnailUrl'
366
- end
367
- end
356
+ property :next_page_token, as: 'nextPageToken'
357
+ collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation
368
358
 
369
- class Form
370
- # @private
371
- class Representation < Google::Apis::Core::JsonRepresentation
372
- property :form_url, as: 'formUrl'
373
- property :response_url, as: 'responseUrl'
374
- property :title, as: 'title'
375
- property :thumbnail_url, as: 'thumbnailUrl'
376
359
  end
377
360
  end
378
361
 
379
- class Empty
362
+ class ShortAnswerSubmission
380
363
  # @private
381
364
  class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :answer, as: 'answer'
382
366
  end
383
367
  end
384
368
 
385
- class ListCoursesResponse
369
+ class CourseMaterial
386
370
  # @private
387
371
  class Representation < Google::Apis::Core::JsonRepresentation
388
- collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation
372
+ property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
389
373
 
390
- property :next_page_token, as: 'nextPageToken'
391
- end
392
- end
374
+ property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
393
375
 
394
- class CourseAlias
395
- # @private
396
- class Representation < Google::Apis::Core::JsonRepresentation
397
- property :alias, as: 'alias'
398
- end
399
- end
376
+ property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
400
377
 
401
- class ListCourseAliasesResponse
402
- # @private
403
- class Representation < Google::Apis::Core::JsonRepresentation
404
- collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation
378
+ property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
405
379
 
406
- property :next_page_token, as: 'nextPageToken'
407
380
  end
408
381
  end
409
382
 
410
- class ListGuardianInvitationsResponse
383
+ class MultipleChoiceSubmission
411
384
  # @private
412
385
  class Representation < Google::Apis::Core::JsonRepresentation
413
- collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation
414
-
415
- property :next_page_token, as: 'nextPageToken'
386
+ property :answer, as: 'answer'
416
387
  end
417
388
  end
418
389
 
419
- class GuardianInvitation
390
+ class Link
420
391
  # @private
421
392
  class Representation < Google::Apis::Core::JsonRepresentation
422
- property :student_id, as: 'studentId'
423
- property :invitation_id, as: 'invitationId'
424
- property :invited_email_address, as: 'invitedEmailAddress'
425
- property :state, as: 'state'
426
- property :creation_time, as: 'creationTime'
393
+ property :url, as: 'url'
394
+ property :thumbnail_url, as: 'thumbnailUrl'
395
+ property :title, as: 'title'
427
396
  end
428
397
  end
429
398
 
430
- class UserProfile
399
+ class ModifyAttachmentsRequest
431
400
  # @private
432
401
  class Representation < Google::Apis::Core::JsonRepresentation
433
- property :id, as: 'id'
434
- property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation
435
-
436
- property :email_address, as: 'emailAddress'
437
- property :photo_url, as: 'photoUrl'
438
- collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation
402
+ collection :add_attachments, as: 'addAttachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
439
403
 
440
404
  end
441
405
  end
442
406
 
443
- class Name
407
+ class TimeOfDay
444
408
  # @private
445
409
  class Representation < Google::Apis::Core::JsonRepresentation
446
- property :given_name, as: 'givenName'
447
- property :family_name, as: 'familyName'
448
- property :full_name, as: 'fullName'
410
+ property :nanos, as: 'nanos'
411
+ property :hours, as: 'hours'
412
+ property :minutes, as: 'minutes'
413
+ property :seconds, as: 'seconds'
449
414
  end
450
415
  end
451
416
 
452
- class GlobalPermission
417
+ class Form
453
418
  # @private
454
419
  class Representation < Google::Apis::Core::JsonRepresentation
455
- property :permission, as: 'permission'
420
+ property :thumbnail_url, as: 'thumbnailUrl'
421
+ property :form_url, as: 'formUrl'
422
+ property :title, as: 'title'
423
+ property :response_url, as: 'responseUrl'
456
424
  end
457
425
  end
458
426
 
459
- class Teacher
427
+ class MultipleChoiceQuestion
460
428
  # @private
461
429
  class Representation < Google::Apis::Core::JsonRepresentation
462
- property :course_id, as: 'courseId'
463
- property :user_id, as: 'userId'
464
- property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
465
-
430
+ collection :choices, as: 'choices'
466
431
  end
467
432
  end
468
433
 
469
- class ListTeachersResponse
434
+ class CourseMaterialSet
470
435
  # @private
471
436
  class Representation < Google::Apis::Core::JsonRepresentation
472
- collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation
437
+ collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation
473
438
 
474
- property :next_page_token, as: 'nextPageToken'
439
+ property :title, as: 'title'
475
440
  end
476
441
  end
477
442
 
478
- class Student
443
+ class StudentSubmission
479
444
  # @private
480
445
  class Representation < Google::Apis::Core::JsonRepresentation
481
- property :course_id, as: 'courseId'
446
+ property :id, as: 'id'
447
+ property :course_work_type, as: 'courseWorkType'
448
+ property :assigned_grade, as: 'assignedGrade'
449
+ property :associated_with_developer, as: 'associatedWithDeveloper'
450
+ property :update_time, as: 'updateTime'
451
+ property :alternate_link, as: 'alternateLink'
452
+ property :draft_grade, as: 'draftGrade'
482
453
  property :user_id, as: 'userId'
483
- property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
454
+ property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation
484
455
 
485
- property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
456
+ property :state, as: 'state'
457
+ property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation
486
458
 
459
+ property :creation_time, as: 'creationTime'
460
+ property :course_id, as: 'courseId'
461
+ property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation
462
+
463
+ property :late, as: 'late'
464
+ property :course_work_id, as: 'courseWorkId'
487
465
  end
488
466
  end
489
467
 
490
- class ListStudentsResponse
468
+ class CourseAlias
491
469
  # @private
492
470
  class Representation < Google::Apis::Core::JsonRepresentation
493
- collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation
494
-
495
- property :next_page_token, as: 'nextPageToken'
471
+ property :alias, as: 'alias'
496
472
  end
497
473
  end
498
474
 
@@ -508,219 +484,243 @@ module Google
508
484
  class Guardian
509
485
  # @private
510
486
  class Representation < Google::Apis::Core::JsonRepresentation
511
- property :student_id, as: 'studentId'
512
- property :guardian_id, as: 'guardianId'
513
487
  property :guardian_profile, as: 'guardianProfile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
514
488
 
515
489
  property :invited_email_address, as: 'invitedEmailAddress'
490
+ property :student_id, as: 'studentId'
491
+ property :guardian_id, as: 'guardianId'
516
492
  end
517
493
  end
518
494
 
519
- class Invitation
495
+ class Teacher
520
496
  # @private
521
497
  class Representation < Google::Apis::Core::JsonRepresentation
522
- property :id, as: 'id'
523
- property :user_id, as: 'userId'
524
498
  property :course_id, as: 'courseId'
525
- property :role, as: 'role'
499
+ property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
500
+
501
+ property :user_id, as: 'userId'
526
502
  end
527
503
  end
528
504
 
529
- class ListInvitationsResponse
505
+ class UserProfile
530
506
  # @private
531
507
  class Representation < Google::Apis::Core::JsonRepresentation
532
- collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation
508
+ property :email_address, as: 'emailAddress'
509
+ collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation
533
510
 
534
- property :next_page_token, as: 'nextPageToken'
511
+ property :id, as: 'id'
512
+ property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation
513
+
514
+ property :photo_url, as: 'photoUrl'
535
515
  end
536
516
  end
537
517
 
538
- class CourseWork
518
+ class ReclaimStudentSubmissionRequest
539
519
  # @private
540
520
  class Representation < Google::Apis::Core::JsonRepresentation
541
- property :course_id, as: 'courseId'
542
- property :id, as: 'id'
543
- property :title, as: 'title'
544
- property :description, as: 'description'
545
- collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
546
-
547
- property :state, as: 'state'
548
- property :alternate_link, as: 'alternateLink'
549
- property :creation_time, as: 'creationTime'
550
- property :update_time, as: 'updateTime'
551
- property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation
552
-
553
- property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation
521
+ end
522
+ end
554
523
 
555
- property :max_points, as: 'maxPoints'
556
- property :work_type, as: 'workType'
557
- property :associated_with_developer, as: 'associatedWithDeveloper'
558
- property :submission_modification_mode, as: 'submissionModificationMode'
559
- property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation
524
+ class Student
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ property :course_id, as: 'courseId'
528
+ property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
560
529
 
561
- property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation
530
+ property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
562
531
 
532
+ property :user_id, as: 'userId'
563
533
  end
564
534
  end
565
535
 
566
- class Material
536
+ class ListTeachersResponse
567
537
  # @private
568
538
  class Representation < Google::Apis::Core::JsonRepresentation
569
- property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::SharedDriveFile, decorator: Google::Apis::ClassroomV1::SharedDriveFile::Representation
539
+ property :next_page_token, as: 'nextPageToken'
540
+ collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation
570
541
 
571
- property :youtube_video, as: 'youtubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
542
+ end
543
+ end
572
544
 
573
- property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
545
+ class Course
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :id, as: 'id'
549
+ property :description, as: 'description'
550
+ property :update_time, as: 'updateTime'
551
+ property :section, as: 'section'
552
+ property :alternate_link, as: 'alternateLink'
553
+ property :teacher_group_email, as: 'teacherGroupEmail'
554
+ property :guardians_enabled, as: 'guardiansEnabled'
555
+ property :owner_id, as: 'ownerId'
556
+ property :description_heading, as: 'descriptionHeading'
557
+ property :course_group_email, as: 'courseGroupEmail'
558
+ property :course_state, as: 'courseState'
559
+ property :room, as: 'room'
560
+ property :name, as: 'name'
561
+ property :creation_time, as: 'creationTime'
562
+ property :enrollment_code, as: 'enrollmentCode'
563
+ property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
574
564
 
575
- property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
565
+ collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation
576
566
 
577
567
  end
578
568
  end
579
569
 
580
- class SharedDriveFile
570
+ class ReturnStudentSubmissionRequest
581
571
  # @private
582
572
  class Representation < Google::Apis::Core::JsonRepresentation
583
- property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
584
-
585
- property :share_mode, as: 'shareMode'
586
573
  end
587
574
  end
588
575
 
589
- class Date
576
+ class GuardianInvitation
590
577
  # @private
591
578
  class Representation < Google::Apis::Core::JsonRepresentation
592
- property :year, as: 'year'
593
- property :month, as: 'month'
594
- property :day, as: 'day'
579
+ property :creation_time, as: 'creationTime'
580
+ property :invitation_id, as: 'invitationId'
581
+ property :state, as: 'state'
582
+ property :invited_email_address, as: 'invitedEmailAddress'
583
+ property :student_id, as: 'studentId'
595
584
  end
596
585
  end
597
586
 
598
- class TimeOfDay
587
+ class TurnInStudentSubmissionRequest
599
588
  # @private
600
589
  class Representation < Google::Apis::Core::JsonRepresentation
601
- property :hours, as: 'hours'
602
- property :minutes, as: 'minutes'
603
- property :seconds, as: 'seconds'
604
- property :nanos, as: 'nanos'
605
590
  end
606
591
  end
607
592
 
608
- class Assignment
593
+ class YouTubeVideo
609
594
  # @private
610
595
  class Representation < Google::Apis::Core::JsonRepresentation
611
- property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
612
-
596
+ property :thumbnail_url, as: 'thumbnailUrl'
597
+ property :title, as: 'title'
598
+ property :alternate_link, as: 'alternateLink'
599
+ property :id, as: 'id'
613
600
  end
614
601
  end
615
602
 
616
- class MultipleChoiceQuestion
603
+ class Empty
617
604
  # @private
618
605
  class Representation < Google::Apis::Core::JsonRepresentation
619
- collection :choices, as: 'choices'
620
606
  end
621
607
  end
622
608
 
623
609
  class ListCourseWorkResponse
624
610
  # @private
625
611
  class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :next_page_token, as: 'nextPageToken'
626
613
  collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation
627
614
 
628
- property :next_page_token, as: 'nextPageToken'
629
615
  end
630
616
  end
631
617
 
632
- class StudentSubmission
618
+ class SharedDriveFile
633
619
  # @private
634
620
  class Representation < Google::Apis::Core::JsonRepresentation
635
- property :course_id, as: 'courseId'
636
- property :course_work_id, as: 'courseWorkId'
637
- property :id, as: 'id'
638
- property :user_id, as: 'userId'
639
- property :creation_time, as: 'creationTime'
640
- property :update_time, as: 'updateTime'
641
- property :state, as: 'state'
642
- property :late, as: 'late'
643
- property :draft_grade, as: 'draftGrade'
644
- property :assigned_grade, as: 'assignedGrade'
645
- property :alternate_link, as: 'alternateLink'
646
- property :course_work_type, as: 'courseWorkType'
647
- property :associated_with_developer, as: 'associatedWithDeveloper'
648
- property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation
649
-
650
- property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation
651
-
652
- property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation
621
+ property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
653
622
 
623
+ property :share_mode, as: 'shareMode'
654
624
  end
655
625
  end
656
626
 
657
- class AssignmentSubmission
627
+ class GlobalPermission
658
628
  # @private
659
629
  class Representation < Google::Apis::Core::JsonRepresentation
660
- collection :attachments, as: 'attachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
661
-
630
+ property :permission, as: 'permission'
662
631
  end
663
632
  end
664
633
 
665
- class Attachment
634
+ class Material
666
635
  # @private
667
636
  class Representation < Google::Apis::Core::JsonRepresentation
668
- property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
669
-
670
- property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
637
+ property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::SharedDriveFile, decorator: Google::Apis::ClassroomV1::SharedDriveFile::Representation
671
638
 
672
639
  property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
673
640
 
641
+ property :youtube_video, as: 'youtubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
642
+
674
643
  property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
675
644
 
676
645
  end
677
646
  end
678
647
 
679
- class ShortAnswerSubmission
648
+ class AssignmentSubmission
680
649
  # @private
681
650
  class Representation < Google::Apis::Core::JsonRepresentation
682
- property :answer, as: 'answer'
651
+ collection :attachments, as: 'attachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
652
+
683
653
  end
684
654
  end
685
655
 
686
- class MultipleChoiceSubmission
656
+ class Date
687
657
  # @private
688
658
  class Representation < Google::Apis::Core::JsonRepresentation
689
- property :answer, as: 'answer'
659
+ property :month, as: 'month'
660
+ property :year, as: 'year'
661
+ property :day, as: 'day'
690
662
  end
691
663
  end
692
664
 
693
- class ListStudentSubmissionsResponse
665
+ class Assignment
694
666
  # @private
695
667
  class Representation < Google::Apis::Core::JsonRepresentation
696
- collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation
668
+ property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
697
669
 
670
+ end
671
+ end
672
+
673
+ class ListCoursesResponse
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
698
676
  property :next_page_token, as: 'nextPageToken'
677
+ collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation
678
+
699
679
  end
700
680
  end
701
681
 
702
- class TurnInStudentSubmissionRequest
682
+ class Invitation
703
683
  # @private
704
684
  class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :course_id, as: 'courseId'
686
+ property :role, as: 'role'
687
+ property :user_id, as: 'userId'
688
+ property :id, as: 'id'
705
689
  end
706
690
  end
707
691
 
708
- class ReclaimStudentSubmissionRequest
692
+ class ListStudentSubmissionsResponse
709
693
  # @private
710
694
  class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :next_page_token, as: 'nextPageToken'
696
+ collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation
697
+
711
698
  end
712
699
  end
713
700
 
714
- class ReturnStudentSubmissionRequest
701
+ class Name
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :given_name, as: 'givenName'
705
+ property :family_name, as: 'familyName'
706
+ property :full_name, as: 'fullName'
707
+ end
708
+ end
709
+
710
+ class ListInvitationsResponse
715
711
  # @private
716
712
  class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :next_page_token, as: 'nextPageToken'
714
+ collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation
715
+
717
716
  end
718
717
  end
719
718
 
720
- class ModifyAttachmentsRequest
719
+ class ListStudentsResponse
721
720
  # @private
722
721
  class Representation < Google::Apis::Core::JsonRepresentation
723
- collection :add_attachments, as: 'addAttachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
722
+ property :next_page_token, as: 'nextPageToken'
723
+ collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation
724
724
 
725
725
  end
726
726
  end