Skip to content

New GClassroomMaterialObj

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

New-GClassroomMaterialObj

SYNOPSIS

Creates a new Classroom API Material object.

SYNTAX

New-GClassroomMaterialObj [[-DriveFile] <SharedDriveFile>] [[-Form] <Form>] [[-Link] <Link>]
 [[-YoutubeVideo] <YouTubeVideo>] [-WhatIf] [-Confirm]

DESCRIPTION

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

EXAMPLES

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

PS C:\> New-GClassroomMaterialObj

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

-DriveFile

Google Drive file material.

Type: SharedDriveFile
Parameter Sets: (All)
Aliases: 

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

-Form

Google Forms material.

Type: Form
Parameter Sets: (All)
Aliases: 

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

-Link

Link material.

Type: Link
Parameter Sets: (All)
Aliases: 

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

-YoutubeVideo

YouTube video material.

Type: YouTubeVideo
Parameter Sets: (All)
Aliases: 

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

INPUTS

Google.Apis.Classroom.v1.Data.SharedDriveFile

Google Drive file material.

Google.Apis.Classroom.v1.Data.Form

Google Forms material.

Google.Apis.Classroom.v1.Data.Link

Link material.

Google.Apis.Classroom.v1.Data.YouTubeVideo

YouTube video material.

OUTPUTS

Google.Apis.Classroom.v1.Data.Material

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