Interface GoogleDocsNodeParameters

Source
interface GoogleDocsNodeParameters {
    actionsUi?: {
        actionFields: {
            action?:
                | "create"
                | "delete"
                | "insert"
                | "replaceAll";
            bulletPreset?: | "BULLET_DISC_CIRCLE_SQUARE"
            | "BULLET_CHECKBOX"
            | "NUMBERED_DECIMAL_NESTED";
            columnIndex?: number;
            columns?: number;
            endIndex?: number;
            footerId?: string;
            headerId?: string;
            index?: number;
            insertPosition?: boolean;
            insertSegment?: "footer"
            | "header"
            | "body";
            locationChoice?: "location" | "endOfSegmentLocation";
            matchCase?: boolean;
            name?: string;
            namedRangeReference?: "name" | "namedRangeId";
            object?:
                | "text"
                | "table"
                | "footer"
                | "header"
                | "namedRange"
                | "pageBreak"
                | "paragraphBullets"
                | "positionedObject"
                | "tableColumn"
                | "tableRow";
            objectId?: string;
            replaceText?: string;
            rowIndex?: number;
            rows?: number;
            segmentId?: string;
            startIndex?: number;
            text?: string;
            value?: string;
        }[];
    };
    authentication?: "oAuth2"
    | "serviceAccount";
    documentURL?: string;
    driveId?: string;
    folderId?: string;
    operation?: "create" | "get" | "update";
    resource?: "document";
    simple?: boolean;
    title?: string;
    updateFields?: {
        writeControlObject: {
            control?:
                | "targetRevisionId"
                | "requiredRevisionId";
            value?: string;
        };
    };
}

Properties§

Source§

readonly actionsUi?: {
    actionFields: {
        action?:
            | "create"
            | "delete"
            | "insert"
            | "replaceAll";
        bulletPreset?: | "BULLET_DISC_CIRCLE_SQUARE"
        | "BULLET_CHECKBOX"
        | "NUMBERED_DECIMAL_NESTED";
        columnIndex?: number;
        columns?: number;
        endIndex?: number;
        footerId?: string;
        headerId?: string;
        index?: number;
        insertPosition?: boolean;
        insertSegment?: "footer"
        | "header"
        | "body";
        locationChoice?: "location" | "endOfSegmentLocation";
        matchCase?: boolean;
        name?: string;
        namedRangeReference?: "name" | "namedRangeId";
        object?:
            | "text"
            | "table"
            | "footer"
            | "header"
            | "namedRange"
            | "pageBreak"
            | "paragraphBullets"
            | "positionedObject"
            | "tableColumn"
            | "tableRow";
        objectId?: string;
        replaceText?: string;
        rowIndex?: number;
        rows?: number;
        segmentId?: string;
        startIndex?: number;
        text?: string;
        value?: string;
    }[];
}

Actions applied to update the document Default: {"actionFields":[{"object":"text","action":"insert","locationChoice":"endOfSegmentLocation","index":0,"text":""}]} Type options: {"multipleValues":true}

Source§

readonly authentication?: "oAuth2" | "serviceAccount"

Default: "serviceAccount"

Source§

readonly documentURL?: string

The ID in the document URL (or just paste the whole URL)

Source§

readonly driveId?: string

Choose from the list, or specify an ID using an expression Default: "myDrive" Type options: {"loadOptionsMethod":"getDrives"}

Source§

readonly folderId?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsDependsOn":["driveId"],"loadOptionsMethod":"getFolders"}

Source§

readonly operation?: "create" | "get" | "update"

Default: "create"

Source§

readonly resource?: "document"

Default: "document"

Source§

readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly title?: string

Source§

readonly updateFields?: {
    writeControlObject: {
        control?: "targetRevisionId" | "requiredRevisionId";
        value?: string;
    };
}

Default: {}