-
Notifications
You must be signed in to change notification settings - Fork 10
New GClassroomCourseWorkObj
Creates a new Classroom API CourseWork object.
New-GClassroomCourseWorkObj [[-AlternateLink] <String>] [[-Assignment] <Assignment>]
[[-AssociatedWithDeveloper] <Boolean>] [[-CourseId] <String>] [[-CreationTime] <String>]
[[-Description] <String>] [[-DueDate] <Date>] [[-DueTime] <TimeOfDay>] [[-Id] <String>]
[[-Materials] <Material[]>] [[-MaxPoints] <Double>] [[-MultipleChoiceQuestion] <MultipleChoiceQuestion>]
[[-State] <String>] [[-SubmissionModificationMode] <String>] [[-Title] <String>] [[-UpdateTime] <String>]
[[-WorkType] <String>] [-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a CourseWork 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.CourseWork
PS C:\> New-GClassroomCourseWorkObj
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.
Absolute link to this course work in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseAssignment details. This is populated only when `work_type` is `ASSIGNMENT`.
Type: Assignment
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether this course work item 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: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseIdentifier of the course. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseTimestamp when this course work was created. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseOptional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseOptional date, in UTC, that submissions for this this course work are due. This must be specified if `due_time` is specified.
Type: Date
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseOptional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.
Type: TimeOfDay
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseClassroom-assigned identifier of this course work, unique per course. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseAdditional materials. CourseWork must have no more than 20 material items.
Type: Material[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseMaximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseMultiple choice question details. This is populated only when `work_type` is `MULTIPLE_CHOICE_QUESTION`.
Type: MultipleChoiceQuestion
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseStatus of this course work. If unspecified, the default state is `DRAFT`.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseSetting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseTitle of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseTimestamp of the most recent change to this course work. Read-only.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseType of this course work. The type is set when the course work is created and cannot be changed. When creating course work, this must be `ASSIGNMENT`.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 16
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseAbsolute link to this course work in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.
Assignment details. This is populated only when `work_type` is `ASSIGNMENT`.
Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.
Identifier of the course. Read-only.
Timestamp when this course work was created. Read-only.
Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.
Optional date, in UTC, that submissions for this this course work are due. This must be specified if `due_time` is specified.
Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.
Classroom-assigned identifier of this course work, unique per course. Read-only.
Additional materials. CourseWork must have no more than 20 material items.
Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
Multiple choice question details. This is populated only when `work_type` is `MULTIPLE_CHOICE_QUESTION`.
Status of this course work. If unspecified, the default state is `DRAFT`.
Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.
Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.
Timestamp of the most recent change to this course work. Read-only.
Type of this course work. The type is set when the course work is created and cannot be changed. When creating course work, this must be `ASSIGNMENT`.
Part of the gShell Project, relating to the Google Classroom API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads