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

UpdateItemRequest

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

Update an item in a form.

interface UpdateItemRequest {
item?: Item;
location?: Location;
updateMask?: string;
}

§Properties

§
item?: Item
[src]

Required. New values for the item. Note that item and question IDs are used if they are provided (and are in the field mask). If an ID is blank (and in the field mask) a new ID is generated. This means you can modify an item by getting the form via forms.get, modifying your local copy of that item to be how you want it, and using UpdateItemRequest to write it back, with the IDs being the same (or not in the field mask).

§
location?: Location
[src]

Required. The location identifying the item to update.

§
updateMask?: string
[src]

Required. Only values named in this mask are changed.