View Source GoogleApi.Books.V1.Model.DownloadAccessRestriction (google_api_books v0.21.0)
Attributes
-
deviceAllowed(type:boolean(), default:nil) - If restricted, whether access is granted for this (user, device, volume). -
downloadsAcquired(type:integer(), default:nil) - If restricted, the number of content download licenses already acquired (including the requesting client, if licensed). -
justAcquired(type:boolean(), default:nil) - If deviceAllowed, whether access was just acquired with this request. -
kind(type:String.t, default:nil) - Resource type. -
maxDownloadDevices(type:integer(), default:nil) - If restricted, the maximum number of content download licenses for this volume. -
message(type:String.t, default:nil) - Error/warning message. -
nonce(type:String.t, default:nil) - Client nonce for verification. Download access and client-validation only. -
reasonCode(type:String.t, default:nil) - 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(type:boolean(), default:nil) - Whether this volume has any download access restrictions. -
signature(type:String.t, default:nil) - Response signature. -
source(type:String.t, default:nil) - Client app identifier for verification. Download access and client-validation only. -
volumeId(type:String.t, default:nil) - Identifies the volume for which this entry applies.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Books.V1.Model.DownloadAccessRestriction{ deviceAllowed: boolean() | nil, downloadsAcquired: integer() | nil, justAcquired: boolean() | nil, kind: String.t() | nil, maxDownloadDevices: integer() | nil, message: String.t() | nil, nonce: String.t() | nil, reasonCode: String.t() | nil, restricted: boolean() | nil, signature: String.t() | nil, source: String.t() | nil, volumeId: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.