AI-generated Key Takeaways
- 
          This content outlines the structure and components of device data for zero-touch enrollment, covering Android and Chrome OS devices. 
- 
          A device is identified by a DeviceIdentifier, which includes details like serial number, manufacturer, model, and various hardware IDs such as IMEI and MEID.
- 
          DeviceMetadataallows the association of key-value pairs with a device to include custom metadata, whileDeviceClaimrecords claims made by resellers for customers.
- 
          The DeviceProvisioningSectionTypespecifies claim types, includingSECTION_TYPE_ZERO_TOUCH, andAdditionalServiceidentifies other services like device protection, which is also known as Android Enterprise Essentials.
- 
          Several methods are listed, such as claiming, finding, getting, and unclaiming devices, which are essential for managing device enrollment and reseller metadata. 
- Resource: Device
- DeviceIdentifier
- DeviceType
- DeviceMetadata
- DeviceClaim
- DeviceProvisioningSectionType
- AdditionalService
- Methods
Resource: Device
An Android or Chrome OS device registered for zero-touch enrollment.
| JSON representation | 
|---|
| { "deviceId": string, "deviceIdentifier": { object ( | 
| Fields | |
|---|---|
| deviceId | 
 Output only. The ID of the device. Assigned by the server. | 
| deviceIdentifier | 
 The hardware IDs that identify a manufactured device. To learn more, read Identifiers. | 
| name | 
 Output only. The API resource name in the format  | 
| deviceMetadata | 
 The metadata attached to the device. Structured as key-value pairs. To learn more, read Device metadata. | 
| claims[] | 
 Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type  | 
DeviceIdentifier
Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers.
| JSON representation | 
|---|
| { "serialNumber": string, "manufacturer": string, "model": string, "deviceType": enum ( | 
| Fields | |
|---|---|
| serialNumber | 
 The manufacturer's serial number for the device. This value might not be unique across different device models. | 
| manufacturer | 
 The device manufacturer’s name. Matches the device's built-in value returned from  | 
| model | 
 The device model's name. Allowed values are listed in Android models and Chrome OS models. | 
| deviceType | 
 The type of the device | 
| chromeOsAttestedDeviceId | 
 An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices. | 
| Union field hardware_id. Hardware ID based on a modem ID.hardware_idcan be only one of the following: | |
| imei | 
 The device’s IMEI number. Validated on input. | 
| meid | 
 The device’s MEID number. | 
| Union field hardware_id2. The second hardware ID, for dual-SIM devices. If set, it must be the same identifier type as the first hardware ID.hardware_id2can be only one of the following: | |
| imei2 | 
 The device’s second IMEI number. | 
| meid2 | 
 The device’s second MEID number. | 
DeviceType
The operating system of the device.
| Enums | |
|---|---|
| DEVICE_TYPE_ANDROID | Android device | 
| DEVICE_TYPE_CHROME_OS | Chrome OS device | 
DeviceMetadata
Metadata entries that can be attached to a Device. To learn more, read Device metadata.
| JSON representation | 
|---|
| { "entries": { string: string, ... } } | 
| Fields | |
|---|---|
| entries | 
 Metadata entries recorded as key-value pairs. An object containing a list of  | 
DeviceClaim
A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type SECTION_TYPE_ZERO_TOUCH. To learn more, read Claim devices for customers.
| JSON representation | 
|---|
| { "sectionType": enum ( | 
| Fields | |
|---|---|
| sectionType | 
 Output only. The type of claim made on the device. | 
| ownerCompanyId | 
 The ID of the Customer that purchased the device. | 
| googleWorkspaceCustomerId | 
 The ID of the Google Workspace account that owns the Chrome OS device. | 
| resellerId | 
 The ID of the reseller that claimed the device. | 
| additionalService | 
 The Additional service registered for the device. | 
DeviceProvisioningSectionType
The section type of a provisioning record.
| Enums | |
|---|---|
| SECTION_TYPE_SIM_LOCK | SIM-lock section type. | 
| SECTION_TYPE_ZERO_TOUCH | Zero-touch enrollment section type. | 
AdditionalService
Additional service registered for the device.
| Enums | |
|---|---|
| DEVICE_PROTECTION | Device protection service, also known as Android Enterprise Essentials. To claim a device with the device protection service you must enroll with the partnership team. | 
| Methods | |
|---|---|
| 
 | Claims a device for a customer and adds it to zero-touch enrollment. | 
| 
 | Claims a batch of devices for a customer asynchronously. | 
| 
 | Finds devices by hardware identifiers, such as IMEI. | 
| 
 | Finds devices claimed for customers. | 
| 
 | Gets a device. | 
| 
 | Updates reseller metadata associated with the device. | 
| 
 | Unclaims a device from a customer and removes it from zero-touch enrollment. | 
| 
 | Unclaims a batch of devices for a customer asynchronously. | 
| 
 | Updates the reseller metadata attached to a batch of devices. |