class Google::Apis::BooksV1::ConcurrentAccessRestriction
Attributes
Whether access is granted for this (user, device, volume). Corresponds to the JSON property `deviceAllowed` @return [Boolean]
Whether access is granted for this (user, device, volume). Corresponds to the JSON property `deviceAllowed` @return [Boolean]
Resource type. Corresponds to the JSON property `kind` @return [String]
The maximum number of concurrent access licenses for this volume. Corresponds to the JSON property `maxConcurrentDevices` @return [Fixnum]
Error/warning message. Corresponds to the JSON property `message` @return [String]
Client nonce for verification. Download access and client-validation only. Corresponds to the JSON property `nonce` @return [String]
Error/warning reason code. Corresponds to the JSON property `reasonCode` @return [String]
Whether this volume has any concurrent access restrictions. Corresponds to the JSON property `restricted` @return [Boolean]
Whether this volume has any concurrent access restrictions. Corresponds to the JSON property `restricted` @return [Boolean]
Response signature. Corresponds to the JSON property `signature` @return [String]
Client app identifier for verification. Download access and client-validation only. Corresponds to the JSON property `source` @return [String]
Time in seconds for license auto-expiration. Corresponds to the JSON property `timeWindowSeconds` @return [Fixnum]
Identifies the volume for which this entry applies. Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 786 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 791 def update!(**args) @device_allowed = args[:device_allowed] if args.key?(:device_allowed) @kind = args[:kind] if args.key?(:kind) @max_concurrent_devices = args[:max_concurrent_devices] if args.key?(:max_concurrent_devices) @message = args[:message] if args.key?(:message) @nonce = args[:nonce] if args.key?(:nonce) @reason_code = args[:reason_code] if args.key?(:reason_code) @restricted = args[:restricted] if args.key?(:restricted) @signature = args[:signature] if args.key?(:signature) @source = args[:source] if args.key?(:source) @time_window_seconds = args[:time_window_seconds] if args.key?(:time_window_seconds) @volume_id = args[:volume_id] if args.key?(:volume_id) end