Class CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest
Returns a list of student submissions that the requester is permitted to view, factoring in the
OAuth scopes of the request. -
may be specified as the course_work_id
to include student
submissions for multiple course work items. Course students may only view their own work. Course
teachers and domain administrators may view all student submissions. This method returns the
following error codes: * PERMISSION_DENIED
if the requesting user is not permitted to access the
requested course or course work, or for access errors. * INVALID_ARGUMENT
if the request is
malformed. * NOT_FOUND
if the requested course does not exist.
Inheritance
Inherited Members
Namespace: Google.Apis.Classroom.v1
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest : ClassroomBaseServiceRequest<ListStudentSubmissionsResponse>, IClientServiceRequest<ListStudentSubmissionsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string courseId, string courseWorkId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | courseId | |
string | courseWorkId |
Properties
CourseId
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
Declaration
[RequestParameter("courseId", RequestParameterType.Path)]
public virtual string CourseId { get; }
Property Value
Type | Description |
---|---|
string |
CourseWorkId
Identifier of the student work to request. This may be set to the string literal "-"
to
request student work for all course work in the specified course.
Declaration
[RequestParameter("courseWorkId", RequestParameterType.Path)]
public virtual string CourseWorkId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Late
Requested lateness value. If specified, returned student submissions are restricted by the
requested value. If unspecified, submissions are returned regardless of late
value.
Declaration
[RequestParameter("late", RequestParameterType.Query)]
public virtual CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest.LateEnum? Late { get; set; }
Property Value
Type | Description |
---|---|
CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest.LateEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
States
Requested submission states. If specified, returned student submissions match one of the specified submission states.
Declaration
[RequestParameter("states", RequestParameterType.Query)]
public virtual CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest.StatesEnum? States { get; set; }
Property Value
Type | Description |
---|---|
CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest.StatesEnum? |
Remarks
Use this property to set a single value for the parameter, or StatesList to set multiple values. Do not set both properties.
StatesList
Requested submission states. If specified, returned student submissions match one of the specified submission states.
Declaration
[RequestParameter("states", RequestParameterType.Query)]
public virtual Repeatable<CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest.StatesEnum> StatesList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<CoursesResource.CourseWorkResource.StudentSubmissionsResource.ListRequest.StatesEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and States.
UserId
Optional argument to restrict returned student work to those owned by the student with the
specified identifier. The identifier can be one of the following: * the numeric identifier for
the user * the email address of the user * the string literal "me"
, indicating the requesting
user
Declaration
[RequestParameter("userId", RequestParameterType.Query)]
public virtual string UserId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()