Show / Hide Table of Contents

Class DownloadAccessRestriction

Inheritance
object
DownloadAccessRestriction
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Books.v1.Data
Assembly: Google.Apis.Books.v1.dll
Syntax
public class DownloadAccessRestriction : IDirectResponseSchema

Properties

DeviceAllowed

If restricted, whether access is granted for this (user, device, volume).

Declaration
[JsonProperty("deviceAllowed")]
public virtual bool? DeviceAllowed { get; set; }
Property Value
Type Description
bool?

DownloadsAcquired

If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).

Declaration
[JsonProperty("downloadsAcquired")]
public virtual int? DownloadsAcquired { get; set; }
Property Value
Type Description
int?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

JustAcquired

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

Declaration
[JsonProperty("justAcquired")]
public virtual bool? JustAcquired { get; set; }
Property Value
Type Description
bool?

Kind

Resource type.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

MaxDownloadDevices

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

Declaration
[JsonProperty("maxDownloadDevices")]
public virtual int? MaxDownloadDevices { get; set; }
Property Value
Type Description
int?

Message

Error/warning message.

Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type Description
string

Nonce

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

Declaration
[JsonProperty("nonce")]
public virtual string Nonce { get; set; }
Property Value
Type Description
string

ReasonCode

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

Declaration
[JsonProperty("reasonCode")]
public virtual string ReasonCode { get; set; }
Property Value
Type Description
string

Restricted

Whether this volume has any download access restrictions.

Declaration
[JsonProperty("restricted")]
public virtual bool? Restricted { get; set; }
Property Value
Type Description
bool?

Signature

Response signature.

Declaration
[JsonProperty("signature")]
public virtual string Signature { get; set; }
Property Value
Type Description
string

Source

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

Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
Type Description
string

VolumeId

Identifies the volume for which this entry applies.

Declaration
[JsonProperty("volumeId")]
public virtual string VolumeId { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX