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

ObjectDefinition

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

The definition for an object within a data source.

interface ObjectDefinition {
name?: string;
options?: ObjectOptions;
propertyDefinitions?: PropertyDefinition[];
}

§Properties

§
name?: string
[src]

The name for the object, which then defines its type. Item indexing requests should set the objectType field equal to this value. For example, if name is Document, then indexing requests for items of type Document should set objectType equal to Document. Each object definition must be uniquely named within a schema. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The maximum length is 256 characters.

§

The optional object-specific options.

§
propertyDefinitions?: PropertyDefinition[]
[src]

The property definitions for the object. The maximum number of elements is 1000.