View Source GoogleApi.Forms.V1.Model.UpdateItemRequest (google_api_forms v0.2.1)

Update an item in a form.

Attributes

  • item (type: GoogleApi.Forms.V1.Model.Item.t, default: nil) - 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 (type: GoogleApi.Forms.V1.Model.Location.t, default: nil) - Required. The location identifying the item to update.
  • updateMask (type: String.t, default: nil) - Required. Only values named in this mask are changed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.UpdateItemRequest{
  item: GoogleApi.Forms.V1.Model.Item.t() | nil,
  location: GoogleApi.Forms.V1.Model.Location.t() | nil,
  updateMask: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.