Gmail 节点标签操作#
¥Gmail node Label Operations
使用标签操作可在 Gmail 中创建、删除或获取标签或标签列表。有关 Gmail 节点本身的更多信息,请参阅 Gmail 节点。
¥Use the Label operations to create, delete, or get a label or list labels in Gmail. Refer to the Gmail node for more information on the Gmail node itself.
创建标签#
¥Create a label
使用此操作创建新的标签。
¥Use this operation to create a new label.
请输入以下参数:
¥Enter these parameters:
- 选择要连接的凭据或创建新凭据。
¥Select the Credential to connect with or create a new one.
- 资源:选择“标签”。
¥Resource: Select Label.
- 操作:选择“创建”。
¥Operation: Select Create.
- 名称:输入标签的显示名称。
¥Name: Enter a display name for the label.
创建标签选项#
¥Create label options
使用这些选项来进一步细化节点的行为:
¥Use these options to further refine the node's behavior:
- 标签列表可见性:设置 Gmail 网页版标签列表中此标签的可见性。选择以下选项:
¥Label List Visibility: Sets the visibility of the label in the label list in the Gmail web interface. Choose from:
-
隐藏:请勿在标签列表中显示标签。
¥Hide: Don't show the label in the label list.
-
显示(默认):在标签列表中显示该标签。
¥Show (default): Show the label in the label list.
-
显示未读消息:如果有任何带有该标签的未读消息,则显示该标签。
¥Show if Unread: Show the label if there are any unread messages with that label.
-
消息列表可见性:设置 Gmail 网页版邮件列表中带有此标签的邮件的可见性。选择是否显示或隐藏带有此标签的消息。
¥Message List Visibility: Sets the visibility of messages with this label in the message list in the Gmail web interface. Choose whether to Show or Hide messages with this label.
请参阅 Gmail API 方法:users.labels.create 文档,了解更多信息。
¥Refer to the Gmail API Method: users.labels.create documentation for more information.
删除标签#
¥Delete a label
使用此操作删除现有标签。
¥Use this operation to delete an existing label.
请输入以下参数:
¥Enter these parameters:
- 选择要连接的凭据或创建新凭据。
¥Select the Credential to connect with or create a new one.
- 资源:选择“标签”。
¥Resource: Select Label.
- 操作:选择“删除”。
¥Operation: Select Delete.
- 标签 ID:输入要删除的标签的 ID。
¥Label ID: Enter the ID of the label you want to delete.
请参阅 Gmail API 方法:users.labels.delete 文档,了解更多信息。
¥Refer to the Gmail API Method: users.labels.delete documentation for more information.
获取标签#
¥Get a label
使用此操作获取现有标签。
¥Use this operation to get an existing label.
请输入以下参数:
¥Enter these parameters:
- 选择要连接的凭据或创建新凭据。
¥Select the Credential to connect with or create a new one.
- 资源:选择“标签”。
¥Resource: Select Label.
- 操作:选择“获取”。
¥Operation: Select Get.
- 标签 ID:请输入要获取的标签的 ID。
¥Label ID: Enter the ID of the label you want to get.
请参阅 Gmail API 方法:users.labels.get 文档,了解更多信息。
¥Refer to the Gmail API Method: users.labels.get documentation for more information.
获取多个标签#
¥Get Many labels
使用此操作获取两个或多个标签。
¥Use this operation to get two or more labels.
请输入以下参数:
¥Enter these parameters:
- 选择要连接的凭据或创建新凭据。
¥Select the Credential to connect with or create a new one.
- 资源:选择“标签”。
¥Resource: Select Label.
- 操作:选择“获取多个”。
¥Operation: Select Get Many.
- 返回全部:选择节点是否返回所有标签(已开启)或仅返回不超过设定限制的标签(已关闭)。
¥Return All: Choose whether the node returns all labels (turned on) or only up to a set limit (turned off).
- 限制:请输入要返回的最大标签数。仅当你关闭“全部返回”时使用。
¥Limit: Enter the maximum number of labels to return. Only used if you've turned off Return All.
请参阅 Gmail API 方法:users.labels.list 文档,了解更多信息。
¥Refer to the Gmail API Method: users.labels.list documentation for more information.
常见问题#
¥Common issues
有关常见错误或问题以及建议的解决方法,请参阅 常见问题。
¥For common errors or issues and suggested resolution steps, refer to Common Issues.