Skip to content

New GClassroomTimeOfDayObj

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

New-GClassroomTimeOfDayObj

SYNOPSIS

Creates a new Classroom API TimeOfDay object.

SYNTAX

New-GClassroomTimeOfDayObj [[-Hours] <Int32>] [[-Minutes] <Int32>] [[-Nanos] <Int32>] [[-Seconds] <Int32>]
 [-WhatIf] [-Confirm]

DESCRIPTION

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

EXAMPLES

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

PS C:\> New-GClassroomTimeOfDayObj

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

-Hours

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-Minutes

Minutes of hour of day. Must be from 0 to 59.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-Nanos

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-Seconds

Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.Int32

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

System.Int32

Minutes of hour of day. Must be from 0 to 59.

System.Int32

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

System.Int32

Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

OUTPUTS

Google.Apis.Classroom.v1.Data.TimeOfDay

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