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/walletobjects:v1.ts";

Wrapping type for Google hosted images.

interface Image {
contentDescription?: LocalizedString;
kind?: string;
privateImageId?: string;
sourceUri?: ImageUri;
}

§Properties

§
contentDescription?: LocalizedString
[src]

Description of the image used for accessibility.

§
kind?: string
[src]

Identifies what kind of resource this is. Value: the fixed string "walletobjects#image".

§
privateImageId?: string
[src]

An ID for an already uploaded private image. Either this or source_uri should be set. Requests setting both or neither will be rejected. Please contact support to use private images.

§
sourceUri?: ImageUri
[src]

A URI for the image. Either this or private_image_id should be set. Requests setting both or neither will be rejected.