DownloadAccessRestriction
import type { DownloadAccessRestriction } from "https://googleapis.deno.dev/v1/books:v1.ts";
interface DownloadAccessRestriction {
deviceAllowed?: boolean;
downloadsAcquired?: number;
justAcquired?: boolean;
kind?: string;
maxDownloadDevices?: number;
message?: string;
nonce?: string;
reasonCode?: string;
restricted?: boolean;
signature?: string;
source?: string;
volumeId?: string;
}§Properties
§
deviceAllowed?: boolean
[src]If restricted, whether access is granted for this (user, device, volume).
§
downloadsAcquired?: number
[src]If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
§
maxDownloadDevices?: number
[src]If restricted, the maximum number of content download licenses for this volume.
§
reasonCode?: string
[src]Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS