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

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).

§
justAcquired?: boolean
[src]

If deviceAllowed, whether access was just acquired with this request.

§
kind?: string
[src]

Resource type.

§
maxDownloadDevices?: number
[src]

If restricted, the maximum number of content download licenses for this volume.

§
message?: string
[src]

Error/warning message.

§
nonce?: string
[src]

Client nonce for verification. Download access and client-validation only.

§
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

§
restricted?: boolean
[src]

Whether this volume has any download access restrictions.

§
signature?: string
[src]

Response signature.

§
source?: string
[src]

Client app identifier for verification. Download access and client-validation only.

§
volumeId?: string
[src]

Identifies the volume for which this entry applies.