TDV Adapter for Gmail

Build 22.0.8462

SetLabels

Adds or replaces existing Labels with the specified Labels.

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').
Labels String True The labels to be set to the message specified by the MessageSet property. This input must be a space-delimited list of labels.
OperationType String False This indicates weather the specified labels should be added,removed or replace existing labels 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) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462