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

Metadata

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

A metadata key/value entry.

interface Metadata {
fingerprint?: Uint8Array;
items?: {
key?: string;
value?: string;
}
[]
;
kind?: string;
}

§Properties

§
fingerprint?: Uint8Array
[src]

Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.

§
items?: {
key?: string;
value?: string;
}
[]
[src]

Array of key/value pairs. The total size of all keys and values must be less than 512 KB.

§
kind?: string
[src]

[Output Only] Type of the resource. Always compute#metadata for metadata.