Class CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource
The "studentSubmissions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource
Constructors
StudentSubmissionsResource(IClientService)
Constructs a new resource.
Declaration
public StudentSubmissionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string, string, string, string)
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.
Declaration
public virtual CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.GetRequest Get(string courseId, string itemId, string attachmentId, string submissionId)
Parameters
Type | Name | Description |
---|---|---|
string | courseId | Required. Identifier of the course. |
string | itemId | Identifier of the |
string | attachmentId | Required. Identifier of the attachment. |
string | submissionId | Required. Identifier of the student’s submission. |
Returns
Type | Description |
---|---|
CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.GetRequest |
Patch(AddOnAttachmentStudentSubmission, string, string, string, string)
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.
Declaration
public virtual CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.PatchRequest Patch(AddOnAttachmentStudentSubmission body, string courseId, string itemId, string attachmentId, string submissionId)
Parameters
Type | Name | Description |
---|---|---|
AddOnAttachmentStudentSubmission | body | The body of the request. |
string | courseId | Required. Identifier of the course. |
string | itemId | Identifier of the |
string | attachmentId | Required. Identifier of the attachment. |
string | submissionId | Required. Identifier of the student's submission. |
Returns
Type | Description |
---|---|
CoursesResource.CourseWorkResource.AddOnAttachmentsResource.StudentSubmissionsResource.PatchRequest |