Skip to content

New GClassroomStudentObj

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

New-GClassroomStudentObj

SYNOPSIS

Creates a new Classroom API Student object.

SYNTAX

New-GClassroomStudentObj [[-CourseId] <String>] [[-Profile] <UserProfile>] [[-StudentWorkFolder] <DriveFolder>]
 [[-UserId] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a Student 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.Student

EXAMPLES

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

PS C:\> New-GClassroomStudentObj

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

-CourseId

Identifier of the course. Read-only.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Profile

Global user information for the student. Read-only.

Type: UserProfile
Parameter Sets: (All)
Aliases: 

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

-StudentWorkFolder

Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only.

Type: DriveFolder
Parameter Sets: (All)
Aliases: 

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

-UserId

Identifier of the user. When specified as a parameter of a request, this 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

Type: String
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

Identifier of the course. Read-only.

Google.Apis.Classroom.v1.Data.UserProfile

Global user information for the student. Read-only.

Google.Apis.Classroom.v1.Data.DriveFolder

Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only.

System.String

Identifier of the user. When specified as a parameter of a request, this 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

OUTPUTS

Google.Apis.Classroom.v1.Data.Student

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