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§

§readonly actionsUi?: { ... }

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

§readonly authentication?: "oAuth2" | "serviceAccount"

Default: "serviceAccount"

§readonly documentURL?: string

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

§readonly driveId?: string

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

§readonly folderId?: string

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

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

Default: "create"

§readonly resource?: "document"

Default: "document"

§readonly simple?: boolean

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

§readonly title?: string
§readonly updateFields?: { ... }

Default: {}