Skip to content

New GCalendarEventAttendeeObj

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

New-GCalendarEventAttendeeObj

SYNOPSIS

Creates a new Calendar API EventAttendee object.

SYNTAX

New-GCalendarEventAttendeeObj [[-AdditionalGuests] <Int32>] [[-Comment] <String>] [[-DisplayName] <String>]
 [[-Email] <String>] [[-Id] <String>] [[-Optional] <Boolean>] [[-Organizer] <Boolean>] [[-Resource] <Boolean>]
 [[-ResponseStatus] <String>] [[-Self] <Boolean>] [-WhatIf] [-Confirm]

DESCRIPTION

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

EXAMPLES

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

PS C:\> New-GCalendarEventAttendeeObj

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

-AdditionalGuests

Number of additional guests. Optional. The default is 0.

Type: Int32
Parameter Sets: (All)
Aliases: 

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

-Comment

The attendee's response comment. Optional.

Type: String
Parameter Sets: (All)
Aliases: 

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

-DisplayName

The attendee's name, if available. Optional.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Email

The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Id

The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API

Type: String
Parameter Sets: (All)
Aliases: 

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

-Optional

Whether this is an optional attendee. Optional. The default is False.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-Organizer

Whether the attendee is the organizer of the event. Read-only. The default is False.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-Resource

Whether the attendee is a resource. Read-only. The default is False.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-ResponseStatus

The attendee's response status. Possible values are:- "needsAction" - The attendee has not responded to the invitation.- "declined" - The attendee has declined the invitation.- "tentative" - The attendee has tentatively accepted the invitation.- "accepted" - The attendee has accepted the invitation.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Self

Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.Int32

Number of additional guests. Optional. The default is 0.

System.String

The attendee's response comment. Optional.

System.String

The attendee's name, if available. Optional.

System.String

The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.

System.String

The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API

System.Boolean

Whether this is an optional attendee. Optional. The default is False.

System.Boolean

Whether the attendee is the organizer of the event. Read-only. The default is False.

System.Boolean

Whether the attendee is a resource. Read-only. The default is False.

System.String

The attendee's response status. Possible values are:- "needsAction" - The attendee has not responded to the invitation.- "declined" - The attendee has declined the invitation.- "tentative" - The attendee has tentatively accepted the invitation.- "accepted" - The attendee has accepted the invitation.

System.Boolean

Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.

OUTPUTS

Google.Apis.Calendar.v3.Data.EventAttendee

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