Class: Google::Apis::BooksV1::RequestAccess
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::RequestAccess
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
 generated/google/apis/books_v1/representations.rb,
 generated/google/apis/books_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #concurrent_access  ⇒ Google::Apis::BooksV1::ConcurrentAccessRestriction 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A concurrent access response. 
- 
  
    
      #download_access  ⇒ Google::Apis::BooksV1::DownloadAccessRestriction 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A download access response. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RequestAccess 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RequestAccess. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RequestAccess
Returns a new instance of RequestAccess
| 2344 2345 2346 | # File 'generated/google/apis/books_v1/classes.rb', line 2344 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#concurrent_access ⇒ Google::Apis::BooksV1::ConcurrentAccessRestriction
A concurrent access response.
Corresponds to the JSON property concurrentAccess
| 2332 2333 2334 | # File 'generated/google/apis/books_v1/classes.rb', line 2332 def concurrent_access @concurrent_access end | 
#download_access ⇒ Google::Apis::BooksV1::DownloadAccessRestriction
A download access response.
Corresponds to the JSON property downloadAccess
| 2337 2338 2339 | # File 'generated/google/apis/books_v1/classes.rb', line 2337 def download_access @download_access end | 
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
| 2342 2343 2344 | # File 'generated/google/apis/books_v1/classes.rb', line 2342 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2349 2350 2351 2352 2353 | # File 'generated/google/apis/books_v1/classes.rb', line 2349 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 |