google_api_books v0.5.0 GoogleApi.Books.V1.Model.DownloadAccessRestriction View Source

Attributes

  • deviceAllowed (boolean()): If restricted, whether access is granted for this (user, device, volume). Defaults to nil.
  • downloadsAcquired (integer()): If restricted, the number of content download licenses already acquired (including the requesting client, if licensed). Defaults to nil.
  • justAcquired (boolean()): If deviceAllowed, whether access was just acquired with this request. Defaults to nil.
  • kind (String.t): Resource type. Defaults to books#downloadAccessRestriction.
  • maxDownloadDevices (integer()): If restricted, the maximum number of content download licenses for this volume. Defaults to nil.
  • message (String.t): Error/warning message. Defaults to nil.
  • nonce (String.t): Client nonce for verification. Download access and client-validation only. Defaults to nil.
  • reasonCode (String.t): 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 Defaults to nil.
  • restricted (boolean()): Whether this volume has any download access restrictions. Defaults to nil.
  • signature (String.t): Response signature. Defaults to nil.
  • source (String.t): Client app identifier for verification. Download access and client-validation only. Defaults to nil.
  • volumeId (String.t): Identifies the volume for which this entry applies. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Books.V1.Model.DownloadAccessRestriction{
  deviceAllowed: boolean(),
  downloadsAcquired: integer(),
  justAcquired: boolean(),
  kind: String.t(),
  maxDownloadDevices: integer(),
  message: String.t(),
  nonce: String.t(),
  reasonCode: String.t(),
  restricted: boolean(),
  signature: String.t(),
  source: String.t(),
  volumeId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.