Skip to content

New GClassroomDateObj

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

New-GClassroomDateObj

SYNOPSIS

Creates a new Classroom API Date object.

SYNTAX

New-GClassroomDateObj [[-Day] <Int32>] [[-Month] <Int32>] [[-Year] <Int32>] [-WhatIf] [-Confirm]

DESCRIPTION

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

EXAMPLES

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

PS C:\> New-GClassroomDateObj

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

-Day

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-Month

Month of year. Must be from 1 to 12.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-Year

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.Int32

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.

System.Int32

Month of year. Must be from 1 to 12.

System.Int32

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

OUTPUTS

Google.Apis.Classroom.v1.Data.Date

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