Skip to content

New GCalendarEventGadgetDataObj

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

New-GCalendarEventGadgetDataObj

SYNOPSIS

Creates a new Calendar API Event.GadgetData object.

SYNTAX

New-GCalendarEventGadgetDataObj [[-Display] <String>] [[-Height] <Int32>] [[-IconLink] <String>]
 [[-Link] <String>] [[-Preferences] <System.Collections.Generic.IDictionary`2[System.String,System.String]>]
 [[-Title] <String>] [[-Type] <String>] [[-Width] <Int32>] [-WhatIf] [-Confirm]

DESCRIPTION

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

EXAMPLES

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

PS C:\> New-GCalendarEventGadgetDataObj

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

-Display

The gadget's display mode. Optional. Possible values are:- "icon" - The gadget displays next to the event's title in the calendar view.- "chip" - The gadget displays when the event is clicked.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Height

The gadget's height in pixels. The height must be an integer greater than 0. Optional.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-IconLink

The gadget's icon URL. The URL scheme must be HTTPS.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Link

The gadget's URL. The URL scheme must be HTTPS.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Preferences

Preferences.

Type: System.Collections.Generic.IDictionary`2[System.String,System.String]
Parameter Sets: (All)
Aliases: 

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

-Title

The gadget's title.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Type

The gadget's type.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Width

The gadget's width in pixels. The width must be an integer greater than 0. Optional.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

The gadget's display mode. Optional. Possible values are:- "icon" - The gadget displays next to the event's title in the calendar view.- "chip" - The gadget displays when the event is clicked.

System.Int32

The gadget's height in pixels. The height must be an integer greater than 0. Optional.

System.String

The gadget's icon URL. The URL scheme must be HTTPS.

System.String

The gadget's URL. The URL scheme must be HTTPS.

Preferences.

System.String

The gadget's title.

System.String

The gadget's type.

System.Int32

The gadget's width in pixels. The width must be an integer greater than 0. Optional.

OUTPUTS

Google.Apis.Calendar.v3.Data.Event+GadgetData

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