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

KeyValue

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

A product label represented as a key-value pair.

interface KeyValue {
key?: string;
value?: string;
}

§Properties

§
key?: string
[src]

The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

§
value?: string
[src]

The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.