Google Super

GOOGLESUPER_PATCH_LABEL

Patches the specified label.

Remote googlesuper

Other tools also called GOOGLESUPER_PATCH_LABEL? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "examples": [
        "LABEL_123"
      ],
      "description": "The ID of the label to update."
    },
    "name": {
      "type": "string",
      "title": "Name",
      "default": null,
      "examples": [
        "My Updated Label"
      ],
      "nullable": true,
      "description": "The display name of the label."
    },
    "color": {
      "type": "object",
      "title": "PatchLabelColor",
      "default": null,
      "nullable": true,
      "properties": {
        "textColor": {
          "type": "string",
          "title": "Text Color",
          "default": null,
          "examples": [
            "#000000",
            "#434343",
            "#666666",
            "#ffffff"
          ],
          "nullable": true,
          "description": "The text color of the label, represented as a hex string. Must be one of Gmail's predefined colors from the color palette. See: https://developers.google.com/workspace/gmail/api/guides/labels#color_palette"
        },
        "backgroundColor": {
          "type": "string",
          "title": "Background Color",
          "default": null,
          "examples": [
            "#ffffff",
            "#f3f3f3",
            "#efefef",
            "#cccccc"
          ],
          "nullable": true,
          "description": "The background color of the label, represented as a hex string. Must be one of Gmail's predefined colors from the color palette. See: https://developers.google.com/workspace/gmail/api/guides/labels#color_palette"
        }
      },
      "description": "The color to assign to the label. Color is only available for labels that have their `type` set to `user`.",
      "additionalProperties": false
    },
    "userId": {
      "type": "string",
      "title": "User Id",
      "examples": [
        "me",
        "[email protected]"
      ],
      "description": "The user's email address. The special value `me` can be used to indicate the authenticated user."
    },
    "labelListVisibility": {
      "type": "string",
      "title": "Label List Visibility",
      "default": null,
      "examples": [
        "labelShow",
        "labelShowIfUnread",
        "labelHide"
      ],
      "nullable": true,
      "description": "The visibility of the label in the label list in the Gmail web interface."
    },
    "messageListVisibility": {
      "type": "string",
      "title": "Message List Visibility",
      "default": null,
      "examples": [
        "show",
        "hide"
      ],
      "nullable": true,
      "description": "The visibility of messages with this label in the message list in the Gmail web interface."
    }
  }
}