Skip to content

New GCalendarEventReminderObj

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

New-GCalendarEventReminderObj

SYNOPSIS

Creates a new Calendar API EventReminder object.

SYNTAX

New-GCalendarEventReminderObj [[-Method] <String>] [[-Minutes] <Int32>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a EventReminder object which may be required as a parameter for some other Cmdlets in the Calendar API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.Calendar.v3.Data.EventReminder

EXAMPLES

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

PS C:\> New-GCalendarEventReminderObj

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

-Method

The method used by this reminder. Possible values are:- "email" - Reminders are sent via email.- "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored.- "popup" - Reminders are sent via a UI popup.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Minutes

Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).

Type: Int32
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

The method used by this reminder. Possible values are:- "email" - Reminders are sent via email.- "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored.- "popup" - Reminders are sent via a UI popup.

System.Int32

Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).

OUTPUTS

Google.Apis.Calendar.v3.Data.EventReminder

NOTES

Part of the gShell Project, relating to the Google Calendar API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally