CoursesCourseWorkAddOnAttachmentsStudentSubmissions
class CoursesCourseWorkAddOnAttachmentsStudentSubmissions extends Resource (View source)
The "studentSubmissions" collection of methods.
Typical usage is:
$classroomService = new Google\Service\Classroom(...);
$studentSubmissions = $classroomService->courses_courseWork_addOnAttachments_studentSubmissions;
Methods
Returns a student submission for an add-on attachment. This method returns
the following error codes: PERMISSION_DENIED
for access errors.
INVALID_ARGUMENT
if the request is malformed. * NOT_FOUND
if one of the
identified resources does not exist. (studentSubmissions.get)
Updates data associated with an add-on attachment submission. Requires the
add-on to have been the original creator of the attachment and the attachment
to have a positive max_points
value set. This method returns the following
error codes: PERMISSION_DENIED
for access errors. INVALID_ARGUMENT
if
the request is malformed. * NOT_FOUND
if one of the identified resources
does not exist. (studentSubmissions.patch)
Details
AddOnAttachmentStudentSubmission
get(string $courseId, string $itemId, string $attachmentId, string $submissionId, array $optParams = [])
Returns a student submission for an add-on attachment. This method returns
the following error codes: PERMISSION_DENIED
for access errors.
INVALID_ARGUMENT
if the request is malformed. * NOT_FOUND
if one of the
identified resources does not exist. (studentSubmissions.get)
AddOnAttachmentStudentSubmission
patch(string $courseId, string $itemId, string $attachmentId, string $submissionId, AddOnAttachmentStudentSubmission $postBody, array $optParams = [])
Updates data associated with an add-on attachment submission. Requires the
add-on to have been the original creator of the attachment and the attachment
to have a positive max_points
value set. This method returns the following
error codes: PERMISSION_DENIED
for access errors. INVALID_ARGUMENT
if
the request is malformed. * NOT_FOUND
if one of the identified resources
does not exist. (studentSubmissions.patch)