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

Image

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

An image.

interface Image {
imageUrl?: string;
status?:
| "STATUS_UNSPECIFIED"
| "PENDING_PROCESSING"
| "PENDING_CRAWL"
| "OK"
| "ROBOTED"
| "XROBOTED"
| "CRAWL_ERROR"
| "PROCESSING_ERROR"
| "DECODING_ERROR"
| "TOO_BIG"
| "CRAWL_SKIPPED"
| "HOSTLOADED"
| "HTTP_404";
type?: "TYPE_UNSPECIFIED" | "CRAWLED" | "UPLOADED";
}

§Properties

§
imageUrl?: string
[src]

The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully.

§
status?: "STATUS_UNSPECIFIED" | "PENDING_PROCESSING" | "PENDING_CRAWL" | "OK" | "ROBOTED" | "XROBOTED" | "CRAWL_ERROR" | "PROCESSING_ERROR" | "DECODING_ERROR" | "TOO_BIG" | "CRAWL_SKIPPED" | "HOSTLOADED" | "HTTP_404"
[src]

The status of the image. @OutputOnly

§
type?: "TYPE_UNSPECIFIED" | "CRAWLED" | "UPLOADED"
[src]

The type of the image, i.e., crawled or uploaded. @OutputOnly