Google Apps Script API
    Preparing search index...
    interface ModifyMessageRequest {
        addLabelIds?: string[];
        removeLabelIds?: string[];
    }
    Index

    Properties

    addLabelIds?: string[]
    removeLabelIds?: string[]