Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ItemContent

import type { ItemContent } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.

interface ItemContent {
contentDataRef?: UploadItemRef;
contentFormat?:
| "UNSPECIFIED"
| "HTML"
| "TEXT"
| "RAW";
hash?: string;
inlineContent?: Uint8Array;
}

§Properties

§
contentDataRef?: UploadItemRef
[src]

Upload reference ID of a previously uploaded content via write method.

§
contentFormat?: "UNSPECIFIED" | "HTML" | "TEXT" | "RAW"
[src]
§
hash?: string
[src]

Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.

§
inlineContent?: Uint8Array
[src]

Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB).