google-apis-classroom_v1 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52fb871e9cb0af99e10c557c7a3765e4a79996d25ce0ab3a909e676164755f8f
|
4
|
+
data.tar.gz: 590e23d1b1e79ab4559b39df87ad106e0fdac0837788653acc0a52fb28c13777
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a818558e70e6c239cc4e4870c2df795b716bb61cd93b0ab5c4d985bda22e2025f6855b8ef8cf215ab8f75634162fd275457bf57ec0e714718269af4a272b6275
|
7
|
+
data.tar.gz: b55f878059807700f41d98f45c00b5aab42465cb16b5352cabf9f84c07cbf821cfa374b5a12de9fec9183d6d4ae8aea0fedd85bcf1670fd74816547f5febf6ae
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-classroom_v1
|
2
2
|
|
3
|
+
### v0.32.0 (2024-06-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240617
|
6
|
+
|
7
|
+
### v0.31.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.15.0
|
10
|
+
|
3
11
|
### v0.30.0 (2024-02-23)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.14.0
|
@@ -22,6 +22,193 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClassroomV1
|
24
24
|
|
25
|
+
# An add-on attachment on a post.
|
26
|
+
class AddOnAttachment
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Output only. Identifiers of attachments that were previous copies of this
|
30
|
+
# attachment. If the attachment was previously copied by virtue of its parent
|
31
|
+
# post being copied, this enumerates the identifiers of attachments that were
|
32
|
+
# its previous copies in ascending chronological order of copy.
|
33
|
+
# Corresponds to the JSON property `copyHistory`
|
34
|
+
# @return [Array<Google::Apis::ClassroomV1::CopyHistory>]
|
35
|
+
attr_accessor :copy_history
|
36
|
+
|
37
|
+
# Immutable. Identifier of the course.
|
38
|
+
# Corresponds to the JSON property `courseId`
|
39
|
+
# @return [String]
|
40
|
+
attr_accessor :course_id
|
41
|
+
|
42
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
43
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
44
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
45
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
46
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
47
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
48
|
+
# example, a credit card expiration date). Related types: * google.type.
|
49
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
50
|
+
# Corresponds to the JSON property `dueDate`
|
51
|
+
# @return [Google::Apis::ClassroomV1::Date]
|
52
|
+
attr_accessor :due_date
|
53
|
+
|
54
|
+
# Represents a time of day. The date and time zone are either not significant or
|
55
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
56
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
57
|
+
# Corresponds to the JSON property `dueTime`
|
58
|
+
# @return [Google::Apis::ClassroomV1::TimeOfDay]
|
59
|
+
attr_accessor :due_time
|
60
|
+
|
61
|
+
# Immutable. Classroom-assigned identifier for this attachment, unique per post.
|
62
|
+
# Corresponds to the JSON property `id`
|
63
|
+
# @return [String]
|
64
|
+
attr_accessor :id
|
65
|
+
|
66
|
+
# Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial
|
67
|
+
# under which the attachment is attached. Unique per course.
|
68
|
+
# Corresponds to the JSON property `itemId`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :item_id
|
71
|
+
|
72
|
+
# Maximum grade for this attachment. Can only be set if `studentWorkReviewUri`
|
73
|
+
# is set. Set to a non-zero value to indicate that the attachment supports grade
|
74
|
+
# passback. If set, this must be a non-negative integer value. When set to zero,
|
75
|
+
# the attachment will not support grade passback.
|
76
|
+
# Corresponds to the JSON property `maxPoints`
|
77
|
+
# @return [Float]
|
78
|
+
attr_accessor :max_points
|
79
|
+
|
80
|
+
# Immutable. Deprecated, use item_id instead.
|
81
|
+
# Corresponds to the JSON property `postId`
|
82
|
+
# @return [String]
|
83
|
+
attr_accessor :post_id
|
84
|
+
|
85
|
+
# URI to be iframed after being populated with query parameters.
|
86
|
+
# Corresponds to the JSON property `studentViewUri`
|
87
|
+
# @return [Google::Apis::ClassroomV1::EmbedUri]
|
88
|
+
attr_accessor :student_view_uri
|
89
|
+
|
90
|
+
# URI to be iframed after being populated with query parameters.
|
91
|
+
# Corresponds to the JSON property `studentWorkReviewUri`
|
92
|
+
# @return [Google::Apis::ClassroomV1::EmbedUri]
|
93
|
+
attr_accessor :student_work_review_uri
|
94
|
+
|
95
|
+
# URI to be iframed after being populated with query parameters.
|
96
|
+
# Corresponds to the JSON property `teacherViewUri`
|
97
|
+
# @return [Google::Apis::ClassroomV1::EmbedUri]
|
98
|
+
attr_accessor :teacher_view_uri
|
99
|
+
|
100
|
+
# Required. Title of this attachment. The title must be between 1 and 1000
|
101
|
+
# characters.
|
102
|
+
# Corresponds to the JSON property `title`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :title
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
@copy_history = args[:copy_history] if args.key?(:copy_history)
|
113
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
114
|
+
@due_date = args[:due_date] if args.key?(:due_date)
|
115
|
+
@due_time = args[:due_time] if args.key?(:due_time)
|
116
|
+
@id = args[:id] if args.key?(:id)
|
117
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
118
|
+
@max_points = args[:max_points] if args.key?(:max_points)
|
119
|
+
@post_id = args[:post_id] if args.key?(:post_id)
|
120
|
+
@student_view_uri = args[:student_view_uri] if args.key?(:student_view_uri)
|
121
|
+
@student_work_review_uri = args[:student_work_review_uri] if args.key?(:student_work_review_uri)
|
122
|
+
@teacher_view_uri = args[:teacher_view_uri] if args.key?(:teacher_view_uri)
|
123
|
+
@title = args[:title] if args.key?(:title)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# Payload for grade update requests.
|
128
|
+
class AddOnAttachmentStudentSubmission
|
129
|
+
include Google::Apis::Core::Hashable
|
130
|
+
|
131
|
+
# Student grade on this attachment. If unset, no grade was set.
|
132
|
+
# Corresponds to the JSON property `pointsEarned`
|
133
|
+
# @return [Float]
|
134
|
+
attr_accessor :points_earned
|
135
|
+
|
136
|
+
# Submission state of add-on attachment's parent post (i.e. assignment).
|
137
|
+
# Corresponds to the JSON property `postSubmissionState`
|
138
|
+
# @return [String]
|
139
|
+
attr_accessor :post_submission_state
|
140
|
+
|
141
|
+
# Identifier for the student that owns this submission. This field is part of an
|
142
|
+
# experimental API change and is populated only if sufficient scopes are granted.
|
143
|
+
# Corresponds to the JSON property `userId`
|
144
|
+
# @return [String]
|
145
|
+
attr_accessor :user_id
|
146
|
+
|
147
|
+
def initialize(**args)
|
148
|
+
update!(**args)
|
149
|
+
end
|
150
|
+
|
151
|
+
# Update properties of this object
|
152
|
+
def update!(**args)
|
153
|
+
@points_earned = args[:points_earned] if args.key?(:points_earned)
|
154
|
+
@post_submission_state = args[:post_submission_state] if args.key?(:post_submission_state)
|
155
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Attachment-relevant metadata for Classroom add-ons in the context of a
|
160
|
+
# specific post.
|
161
|
+
class AddOnContext
|
162
|
+
include Google::Apis::Core::Hashable
|
163
|
+
|
164
|
+
# Immutable. Identifier of the course.
|
165
|
+
# Corresponds to the JSON property `courseId`
|
166
|
+
# @return [String]
|
167
|
+
attr_accessor :course_id
|
168
|
+
|
169
|
+
# Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial
|
170
|
+
# under which the attachment is attached.
|
171
|
+
# Corresponds to the JSON property `itemId`
|
172
|
+
# @return [String]
|
173
|
+
attr_accessor :item_id
|
174
|
+
|
175
|
+
# Immutable. Deprecated, use item_id instead.
|
176
|
+
# Corresponds to the JSON property `postId`
|
177
|
+
# @return [String]
|
178
|
+
attr_accessor :post_id
|
179
|
+
|
180
|
+
# Role-specific context if the requesting user is a student.
|
181
|
+
# Corresponds to the JSON property `studentContext`
|
182
|
+
# @return [Google::Apis::ClassroomV1::StudentContext]
|
183
|
+
attr_accessor :student_context
|
184
|
+
|
185
|
+
# Optional. Whether the post allows the teacher to see student work and passback
|
186
|
+
# grades.
|
187
|
+
# Corresponds to the JSON property `supportsStudentWork`
|
188
|
+
# @return [Boolean]
|
189
|
+
attr_accessor :supports_student_work
|
190
|
+
alias_method :supports_student_work?, :supports_student_work
|
191
|
+
|
192
|
+
# Role-specific context if the requesting user is a teacher.
|
193
|
+
# Corresponds to the JSON property `teacherContext`
|
194
|
+
# @return [Google::Apis::ClassroomV1::TeacherContext]
|
195
|
+
attr_accessor :teacher_context
|
196
|
+
|
197
|
+
def initialize(**args)
|
198
|
+
update!(**args)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Update properties of this object
|
202
|
+
def update!(**args)
|
203
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
204
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
205
|
+
@post_id = args[:post_id] if args.key?(:post_id)
|
206
|
+
@student_context = args[:student_context] if args.key?(:student_context)
|
207
|
+
@supports_student_work = args[:supports_student_work] if args.key?(:supports_student_work)
|
208
|
+
@teacher_context = args[:teacher_context] if args.key?(:teacher_context)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
25
212
|
# Announcement created by a teacher for students of the course
|
26
213
|
class Announcement
|
27
214
|
include Google::Apis::Core::Hashable
|
@@ -215,6 +402,44 @@ module Google
|
|
215
402
|
end
|
216
403
|
end
|
217
404
|
|
405
|
+
# Identifier of a previous copy of a given attachment.
|
406
|
+
class CopyHistory
|
407
|
+
include Google::Apis::Core::Hashable
|
408
|
+
|
409
|
+
# Immutable. Identifier of the attachment.
|
410
|
+
# Corresponds to the JSON property `attachmentId`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :attachment_id
|
413
|
+
|
414
|
+
# Immutable. Identifier of the course.
|
415
|
+
# Corresponds to the JSON property `courseId`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :course_id
|
418
|
+
|
419
|
+
# Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial
|
420
|
+
# under which the attachment is attached.
|
421
|
+
# Corresponds to the JSON property `itemId`
|
422
|
+
# @return [String]
|
423
|
+
attr_accessor :item_id
|
424
|
+
|
425
|
+
# Immutable. Deprecated, use item_id instead.
|
426
|
+
# Corresponds to the JSON property `postId`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :post_id
|
429
|
+
|
430
|
+
def initialize(**args)
|
431
|
+
update!(**args)
|
432
|
+
end
|
433
|
+
|
434
|
+
# Update properties of this object
|
435
|
+
def update!(**args)
|
436
|
+
@attachment_id = args[:attachment_id] if args.key?(:attachment_id)
|
437
|
+
@course_id = args[:course_id] if args.key?(:course_id)
|
438
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
439
|
+
@post_id = args[:post_id] if args.key?(:post_id)
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
218
443
|
# A Course in Classroom.
|
219
444
|
class Course
|
220
445
|
include Google::Apis::Core::Hashable
|
@@ -896,6 +1121,26 @@ module Google
|
|
896
1121
|
end
|
897
1122
|
end
|
898
1123
|
|
1124
|
+
# URI to be iframed after being populated with query parameters.
|
1125
|
+
class EmbedUri
|
1126
|
+
include Google::Apis::Core::Hashable
|
1127
|
+
|
1128
|
+
# Required. URI to be iframed after being populated with query parameters. This
|
1129
|
+
# must be a valid UTF-8 string containing between 1 and 1800 characters.
|
1130
|
+
# Corresponds to the JSON property `uri`
|
1131
|
+
# @return [String]
|
1132
|
+
attr_accessor :uri
|
1133
|
+
|
1134
|
+
def initialize(**args)
|
1135
|
+
update!(**args)
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
# Update properties of this object
|
1139
|
+
def update!(**args)
|
1140
|
+
@uri = args[:uri] if args.key?(:uri)
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
899
1144
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
900
1145
|
# messages in your APIs. A typical example is to use it as the request or the
|
901
1146
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1296,6 +1541,32 @@ module Google
|
|
1296
1541
|
end
|
1297
1542
|
end
|
1298
1543
|
|
1544
|
+
# Response when listing add-on attachments.
|
1545
|
+
class ListAddOnAttachmentsResponse
|
1546
|
+
include Google::Apis::Core::Hashable
|
1547
|
+
|
1548
|
+
# Attachments under the given post.
|
1549
|
+
# Corresponds to the JSON property `addOnAttachments`
|
1550
|
+
# @return [Array<Google::Apis::ClassroomV1::AddOnAttachment>]
|
1551
|
+
attr_accessor :add_on_attachments
|
1552
|
+
|
1553
|
+
# A token, which can be sent as `pageToken` to retrieve the next page. If this
|
1554
|
+
# field is omitted, there are no subsequent pages.
|
1555
|
+
# Corresponds to the JSON property `nextPageToken`
|
1556
|
+
# @return [String]
|
1557
|
+
attr_accessor :next_page_token
|
1558
|
+
|
1559
|
+
def initialize(**args)
|
1560
|
+
update!(**args)
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
# Update properties of this object
|
1564
|
+
def update!(**args)
|
1565
|
+
@add_on_attachments = args[:add_on_attachments] if args.key?(:add_on_attachments)
|
1566
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1567
|
+
end
|
1568
|
+
end
|
1569
|
+
|
1299
1570
|
# Response when listing course work.
|
1300
1571
|
class ListAnnouncementsResponse
|
1301
1572
|
include Google::Apis::Core::Hashable
|
@@ -2001,6 +2272,27 @@ module Google
|
|
2001
2272
|
end
|
2002
2273
|
end
|
2003
2274
|
|
2275
|
+
# Role-specific context if the requesting user is a student.
|
2276
|
+
class StudentContext
|
2277
|
+
include Google::Apis::Core::Hashable
|
2278
|
+
|
2279
|
+
# Requesting user's submission id to be used for grade passback and to identify
|
2280
|
+
# the student when showing student work to the teacher. This is set exactly when
|
2281
|
+
# `supportsStudentWork` is `true`.
|
2282
|
+
# Corresponds to the JSON property `submissionId`
|
2283
|
+
# @return [String]
|
2284
|
+
attr_accessor :submission_id
|
2285
|
+
|
2286
|
+
def initialize(**args)
|
2287
|
+
update!(**args)
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
# Update properties of this object
|
2291
|
+
def update!(**args)
|
2292
|
+
@submission_id = args[:submission_id] if args.key?(:submission_id)
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
|
2004
2296
|
# Student submission for course work. `StudentSubmission` items are generated
|
2005
2297
|
# when a `CourseWork` item is created. Student submissions that have never been
|
2006
2298
|
# accessed (i.e. with `state` = NEW) may not have a creation time or update time.
|
@@ -2189,6 +2481,19 @@ module Google
|
|
2189
2481
|
end
|
2190
2482
|
end
|
2191
2483
|
|
2484
|
+
# Role-specific context if the requesting user is a teacher.
|
2485
|
+
class TeacherContext
|
2486
|
+
include Google::Apis::Core::Hashable
|
2487
|
+
|
2488
|
+
def initialize(**args)
|
2489
|
+
update!(**args)
|
2490
|
+
end
|
2491
|
+
|
2492
|
+
# Update properties of this object
|
2493
|
+
def update!(**args)
|
2494
|
+
end
|
2495
|
+
end
|
2496
|
+
|
2192
2497
|
# Represents a time of day. The date and time zone are either not significant or
|
2193
2498
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
2194
2499
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ClassroomV1
|
18
18
|
# Version of the google-apis-classroom_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240617"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClassroomV1
|
24
24
|
|
25
|
+
class AddOnAttachment
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AddOnAttachmentStudentSubmission
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AddOnContext
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
25
43
|
class Announcement
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
45
|
|
@@ -52,6 +70,12 @@ module Google
|
|
52
70
|
include Google::Apis::Core::JsonObjectSupport
|
53
71
|
end
|
54
72
|
|
73
|
+
class CopyHistory
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
55
79
|
class Course
|
56
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
81
|
|
@@ -118,6 +142,12 @@ module Google
|
|
118
142
|
include Google::Apis::Core::JsonObjectSupport
|
119
143
|
end
|
120
144
|
|
145
|
+
class EmbedUri
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
121
151
|
class Empty
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
153
|
|
@@ -190,6 +220,12 @@ module Google
|
|
190
220
|
include Google::Apis::Core::JsonObjectSupport
|
191
221
|
end
|
192
222
|
|
223
|
+
class ListAddOnAttachmentsResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
193
229
|
class ListAnnouncementsResponse
|
194
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
231
|
|
@@ -352,6 +388,12 @@ module Google
|
|
352
388
|
include Google::Apis::Core::JsonObjectSupport
|
353
389
|
end
|
354
390
|
|
391
|
+
class StudentContext
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
355
397
|
class StudentSubmission
|
356
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
399
|
|
@@ -370,6 +412,12 @@ module Google
|
|
370
412
|
include Google::Apis::Core::JsonObjectSupport
|
371
413
|
end
|
372
414
|
|
415
|
+
class TeacherContext
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
373
421
|
class TimeOfDay
|
374
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
423
|
|
@@ -400,6 +448,53 @@ module Google
|
|
400
448
|
include Google::Apis::Core::JsonObjectSupport
|
401
449
|
end
|
402
450
|
|
451
|
+
class AddOnAttachment
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
collection :copy_history, as: 'copyHistory', class: Google::Apis::ClassroomV1::CopyHistory, decorator: Google::Apis::ClassroomV1::CopyHistory::Representation
|
455
|
+
|
456
|
+
property :course_id, as: 'courseId'
|
457
|
+
property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation
|
458
|
+
|
459
|
+
property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation
|
460
|
+
|
461
|
+
property :id, as: 'id'
|
462
|
+
property :item_id, as: 'itemId'
|
463
|
+
property :max_points, as: 'maxPoints'
|
464
|
+
property :post_id, as: 'postId'
|
465
|
+
property :student_view_uri, as: 'studentViewUri', class: Google::Apis::ClassroomV1::EmbedUri, decorator: Google::Apis::ClassroomV1::EmbedUri::Representation
|
466
|
+
|
467
|
+
property :student_work_review_uri, as: 'studentWorkReviewUri', class: Google::Apis::ClassroomV1::EmbedUri, decorator: Google::Apis::ClassroomV1::EmbedUri::Representation
|
468
|
+
|
469
|
+
property :teacher_view_uri, as: 'teacherViewUri', class: Google::Apis::ClassroomV1::EmbedUri, decorator: Google::Apis::ClassroomV1::EmbedUri::Representation
|
470
|
+
|
471
|
+
property :title, as: 'title'
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
class AddOnAttachmentStudentSubmission
|
476
|
+
# @private
|
477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
+
property :points_earned, as: 'pointsEarned'
|
479
|
+
property :post_submission_state, as: 'postSubmissionState'
|
480
|
+
property :user_id, as: 'userId'
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class AddOnContext
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :course_id, as: 'courseId'
|
488
|
+
property :item_id, as: 'itemId'
|
489
|
+
property :post_id, as: 'postId'
|
490
|
+
property :student_context, as: 'studentContext', class: Google::Apis::ClassroomV1::StudentContext, decorator: Google::Apis::ClassroomV1::StudentContext::Representation
|
491
|
+
|
492
|
+
property :supports_student_work, as: 'supportsStudentWork'
|
493
|
+
property :teacher_context, as: 'teacherContext', class: Google::Apis::ClassroomV1::TeacherContext, decorator: Google::Apis::ClassroomV1::TeacherContext::Representation
|
494
|
+
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
403
498
|
class Announcement
|
404
499
|
# @private
|
405
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -457,6 +552,16 @@ module Google
|
|
457
552
|
end
|
458
553
|
end
|
459
554
|
|
555
|
+
class CopyHistory
|
556
|
+
# @private
|
557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
558
|
+
property :attachment_id, as: 'attachmentId'
|
559
|
+
property :course_id, as: 'courseId'
|
560
|
+
property :item_id, as: 'itemId'
|
561
|
+
property :post_id, as: 'postId'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
460
565
|
class Course
|
461
566
|
# @private
|
462
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -615,6 +720,13 @@ module Google
|
|
615
720
|
end
|
616
721
|
end
|
617
722
|
|
723
|
+
class EmbedUri
|
724
|
+
# @private
|
725
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
726
|
+
property :uri, as: 'uri'
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
618
730
|
class Empty
|
619
731
|
# @private
|
620
732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -728,6 +840,15 @@ module Google
|
|
728
840
|
end
|
729
841
|
end
|
730
842
|
|
843
|
+
class ListAddOnAttachmentsResponse
|
844
|
+
# @private
|
845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
846
|
+
collection :add_on_attachments, as: 'addOnAttachments', class: Google::Apis::ClassroomV1::AddOnAttachment, decorator: Google::Apis::ClassroomV1::AddOnAttachment::Representation
|
847
|
+
|
848
|
+
property :next_page_token, as: 'nextPageToken'
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
731
852
|
class ListAnnouncementsResponse
|
732
853
|
# @private
|
733
854
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -968,6 +1089,13 @@ module Google
|
|
968
1089
|
end
|
969
1090
|
end
|
970
1091
|
|
1092
|
+
class StudentContext
|
1093
|
+
# @private
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
|
+
property :submission_id, as: 'submissionId'
|
1096
|
+
end
|
1097
|
+
end
|
1098
|
+
|
971
1099
|
class StudentSubmission
|
972
1100
|
# @private
|
973
1101
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1015,6 +1143,12 @@ module Google
|
|
1015
1143
|
end
|
1016
1144
|
end
|
1017
1145
|
|
1146
|
+
class TeacherContext
|
1147
|
+
# @private
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
1018
1152
|
class TimeOfDay
|
1019
1153
|
# @private
|
1020
1154
|
class Representation < Google::Apis::Core::JsonRepresentation
|