Skip to content

New GClassroomStudentSubmissionObj

Spencer Varney edited this page Dec 9, 2016 · 2 revisions

New-GClassroomStudentSubmissionObj

SYNOPSIS

Creates a new Classroom API StudentSubmission object.

SYNTAX

New-GClassroomStudentSubmissionObj [[-AlternateLink] <String>] [[-AssignedGrade] <Double>]
 [[-AssignmentSubmission] <AssignmentSubmission>] [[-AssociatedWithDeveloper] <Boolean>] [[-CourseId] <String>]
 [[-CourseWorkId] <String>] [[-CourseWorkType] <String>] [[-CreationTime] <String>] [[-DraftGrade] <Double>]
 [[-Id] <String>] [[-Late] <Boolean>] [[-MultipleChoiceSubmission] <MultipleChoiceSubmission>]
 [[-ShortAnswerSubmission] <ShortAnswerSubmission>] [[-State] <String>] [[-UpdateTime] <String>]
 [[-UserId] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a StudentSubmission object which may be required as a parameter for some other Cmdlets in the Classroom API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.Classroom.v1.Data.StudentSubmission

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GClassroomStudentSubmissionObj

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-AlternateLink

Absolute link to the submission in the Classroom web UI. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AssignedGrade

Optional grade. If unset, no grade was set. This must be a non-negative integer value. This may be modified only by course teachers.

Type: Double
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AssignmentSubmission

Submission content when course_work_type is ASSIGNMENT .

Type: AssignmentSubmission
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AssociatedWithDeveloper

Whether this student submission is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CourseId

Identifier of the course. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 4
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CourseWorkId

Identifier for the course work this corresponds to. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 5
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CourseWorkType

Type of course work this submission is for. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 6
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CreationTime

Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 7
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DraftGrade

Optional pending grade. If unset, no grade was set. This must be a non-negative integer value. This is only visible to and modifiable by course teachers.

Type: Double
Parameter Sets: (All)
Aliases: 

Required: False
Position: 8
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Id

Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 9
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Late

Whether this submission is late. Read-only.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 10
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-MultipleChoiceSubmission

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

Type: MultipleChoiceSubmission
Parameter Sets: (All)
Aliases: 

Required: False
Position: 11
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ShortAnswerSubmission

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

Type: ShortAnswerSubmission
Parameter Sets: (All)
Aliases: 

Required: False
Position: 12
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-State

State of this submission. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 13
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-UpdateTime

Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 14
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-UserId

Identifier for the student that owns this submission. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 15
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

INPUTS

System.String

Absolute link to the submission in the Classroom web UI. Read-only.

System.Double

Optional grade. If unset, no grade was set. This must be a non-negative integer value. This may be modified only by course teachers.

Google.Apis.Classroom.v1.Data.AssignmentSubmission

Submission content when course_work_type is ASSIGNMENT .

System.Boolean

Whether this student submission is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.

System.String

Identifier of the course. Read-only.

System.String

Identifier for the course work this corresponds to. Read-only.

System.String

Type of course work this submission is for. Read-only.

System.String

Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.

System.Double

Optional pending grade. If unset, no grade was set. This must be a non-negative integer value. This is only visible to and modifiable by course teachers.

System.String

Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.

System.Boolean

Whether this submission is late. Read-only.

Google.Apis.Classroom.v1.Data.MultipleChoiceSubmission

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

Google.Apis.Classroom.v1.Data.ShortAnswerSubmission

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

System.String

State of this submission. Read-only.

System.String

Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.

System.String

Identifier for the student that owns this submission. Read-only.

OUTPUTS

Google.Apis.Classroom.v1.Data.StudentSubmission

NOTES

Part of the gShell Project, relating to the Google Classroom API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally