-
Notifications
You must be signed in to change notification settings - Fork 10
New GGmailFilterActionObj
Creates a new Gmail API FilterAction object.
New-GGmailFilterActionObj [[-AddLabelIds] <String[]>] [[-Forward] <String>] [[-RemoveLabelIds] <String[]>]
[-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a FilterAction object which may be required as a parameter for some other Cmdlets in the Gmail API category.
You could alternately create this object by calling New-Object -TypeName Google.Apis.Gmail.v1.Data.FilterAction
PS C:\>New-GGmailFilterActionObj
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.
List of labels to add to the message.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Email address that the message should be forwarded to.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
List of labels to remove from the message.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
List of labels to add to the message.
Email address that the message should be forwarded to.
List of labels to remove from the message.
Part of the gShell Project, relating to the Google Gmail API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads