google-api-client 0.11.2 → 0.11.3

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