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

Attributes

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

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: any(),
  downloadsAcquired: any(),
  justAcquired: any(),
  kind: any(),
  maxDownloadDevices: any(),
  message: any(),
  nonce: any(),
  reasonCode: any(),
  restricted: any(),
  signature: any(),
  source: any(),
  volumeId: any()
}

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.