Show / Hide Table of Contents

Class DownloadAccessRestriction

Inheritance
System.Object
DownloadAccessRestriction
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.Nullable<System.Boolean>

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
System.Nullable<System.Int32>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.Nullable<System.Boolean>

Kind

Resource type.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.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
System.Nullable<System.Int32>

Message

Error/warning message.

Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type Description
System.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
System.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
System.String

Restricted

Whether this volume has any download access restrictions.

Declaration
[JsonProperty("restricted")]
public virtual bool? Restricted { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Signature

Response signature.

Declaration
[JsonProperty("signature")]
public virtual string Signature { get; set; }
Property Value
Type Description
System.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
System.String

VolumeId

Identifies the volume for which this entry applies.

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

Implements

IDirectResponseSchema
In This Article
Back to top