# DeviceBackupBody

## metadata

### 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

### Device backup specification

- **backupAssetFile**: boolean (Optional)  
  Defaults to false.  
  If the asset file should be backed up or not.

- **backupName**: string (Optional)  
  - <=255 characters.  
  - The name of the backup. The backup name can be passed to the /restore endpoint to apply the backup to the device in future.  
  Choose a name that will help to recall the purpose of the backup, for example: an event. It is recommended that you include the date to differentiate backup versions.
