TDV Adapter for Gmail

Build 21.0.8137

SetFlags

Adds or Replaces existing flags with the specified flags.

Input

Name Type Required Description
Mailbox String True The Gmail mailbox where the message is located.

The default value is Inbox.

Id String True This inputs indicates the set of messages to operate on. It may consist of a single message id, a range of messages specified by two message numbers separated by ':' (e.g. '1:5'), and/or individual message numbers separated by ',' (e.g. '1:5,7,10').
Flags String True Sets the specified flags to the message specified by message set. (e.g., Seen, Deleted, Draft). Flags should be specified as comma separated list(e.g. Seen,Deleted)

The default value is Seen.

OperationType String False This indicates weather the specified flags should be added,removed or replace existing flags list.

The allowed values are ADD, REPLACE, REMOVE.

The default value is REPLACE.

Result Set Columns

Name Type Description
Success String Boolean response indicating whether or not the operation was successful.

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137