class Google::Apis::BooksV1::RequestAccess

Attributes

concurrent_access[RW]

A concurrent access response. Corresponds to the JSON property `concurrentAccess` @return [Google::Apis::BooksV1::ConcurrentAccessRestriction]

download_access[RW]

A download access response. Corresponds to the JSON property `downloadAccess` @return [Google::Apis::BooksV1::DownloadAccessRestriction]

kind[RW]

Resource type. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 2268
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/books_v1/classes.rb, line 2273
def update!(**args)
  @concurrent_access = args[:concurrent_access] if args.key?(:concurrent_access)
  @download_access = args[:download_access] if args.key?(:download_access)
  @kind = args[:kind] if args.key?(:kind)
end