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

PerDeviceStatusInBatch

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

Captures the processing status for each device in the operation.

interface PerDeviceStatusInBatch {
deviceId?: bigint;
errorIdentifier?: string;
errorMessage?: string;
status?:
| "SINGLE_DEVICE_STATUS_UNSPECIFIED"
| "SINGLE_DEVICE_STATUS_UNKNOWN_ERROR"
| "SINGLE_DEVICE_STATUS_OTHER_ERROR"
| "SINGLE_DEVICE_STATUS_SUCCESS"
| "SINGLE_DEVICE_STATUS_PERMISSION_DENIED"
| "SINGLE_DEVICE_STATUS_INVALID_DEVICE_IDENTIFIER"
| "SINGLE_DEVICE_STATUS_INVALID_SECTION_TYPE"
| "SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS"
| "SINGLE_DEVICE_STATUS_INVALID_TOKEN"
| "SINGLE_DEVICE_STATUS_REVOKED_TOKEN"
| "SINGLE_DEVICE_STATUS_DEVICE_LIMIT_EXCEEDED";
}

§Properties

§
deviceId?: bigint
[src]

If processing succeeds, the device ID of the device.

§
errorIdentifier?: string
[src]

If processing fails, the error type.

§
errorMessage?: string
[src]

If processing fails, a developer message explaining what went wrong.

§
status?: "SINGLE_DEVICE_STATUS_UNSPECIFIED" | "SINGLE_DEVICE_STATUS_UNKNOWN_ERROR" | "SINGLE_DEVICE_STATUS_OTHER_ERROR" | "SINGLE_DEVICE_STATUS_SUCCESS" | "SINGLE_DEVICE_STATUS_PERMISSION_DENIED" | "SINGLE_DEVICE_STATUS_INVALID_DEVICE_IDENTIFIER" | "SINGLE_DEVICE_STATUS_INVALID_SECTION_TYPE" | "SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS" | "SINGLE_DEVICE_STATUS_INVALID_TOKEN" | "SINGLE_DEVICE_STATUS_REVOKED_TOKEN" | "SINGLE_DEVICE_STATUS_DEVICE_LIMIT_EXCEEDED"
[src]

The result status of the device after processing.