Cmdlets for Gmail

Build 24.0.9062

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.

デフォルト値は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.

使用できる値は次のとおりです。ADD, REPLACE, REMOVE

デフォルト値はREPLACEです。

Result Set Columns

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

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062