Interface Segment

Segment of the content.

interface Segment {
    endIndex?: number;
    partIndex?: number;
    startIndex?: number;
    text?: string;
}

Properties

endIndex?: number

Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.

partIndex?: number

Output only. The index of a Part object within its parent Content object.

startIndex?: number

Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.

text?: string

Output only. The text corresponding to the segment from the response.

MMNEPVFCICPMFPCPTTAAATR