# DeviceRestoreBody

### metadata

**object [DefaultMetadata](https://docs.mediakind.com/api-reference/fleets-api/schemas/defaultmetadata)**  
Required  
Resource metadata.

- **displayName**: string  
  Required  
  A human-readable name for the resource.

- **labels**: map from strings to string  
  Optional  
  A dictionary of labels associated with the resource.  
  Maximum number of labels: 32.  
  Maximum length of a label or value: 256 characters.  
  Label: alphanumeric, hyphens and underscores.  
  Value: alphanumeric, hyphens, underscores and spaces.

### spec

**object [DeviceRestoreBodySpec](https://docs.mediakind.com/api-reference/fleets-api/schemas/devicerestorebodyspec)**  
Required  
Device restore specification

- **restoreAssetFile**: boolean  
  Optional  
  Defaults to false  
  If the asset file should be restored or not, assuming the backup contains the asset file

- **restoreFilePath**: string  
  Required  
  <=255 characters  
  The relative path to the backup file to restore to the device.
