-
Notifications
You must be signed in to change notification settings - Fork 10
New GGmailFilterCriteriaObj
Creates a new Gmail API FilterCriteria object.
New-GGmailFilterCriteriaObj [[-ExcludeChats] <Boolean>] [[-From] <String>] [[-HasAttachment] <Boolean>]
[[-NegatedQuery] <String>] [[-Query] <String>] [[-Size] <Int32>] [[-SizeComparison] <String>]
[[-Subject] <String>] [[-To] <String>] [-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a FilterCriteria 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.FilterCriteria
PS C:\>New-GGmailFilterCriteriaObj
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.
Whether the response should exclude chats.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe sender's display name or email address.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether the message has any attachment.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseOnly return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseOnly return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe size of the entire RFC822 message in bytes, including all headers and attachments.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseHow the message size in bytes should be in relation to the size field.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseCase-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseWhether the response should exclude chats.
The sender's display name or email address.
Whether the message has any attachment.
Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
The size of the entire RFC822 message in bytes, including all headers and attachments.
How the message size in bytes should be in relation to the size field.
Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.
The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.
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