Class: Google::Apis::BooksV1::Volume::AccessInfo::Pdf
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Volume::AccessInfo::Pdf
 
- 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
Overview
Information about pdf content. (In LITE projection.)
Instance Attribute Summary collapse
- 
  
    
      #acs_token_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL to retrieve ACS token for pdf download. 
- 
  
    
      #download_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL to download pdf. 
- 
  
    
      #is_available  ⇒ Boolean 
    
    
      (also: #is_available?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Is a scanned image pdf available either as public domain or for purchase. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Pdf 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Pdf. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Pdf
Returns a new instance of Pdf
| 3031 3032 3033 | # File 'generated/google/apis/books_v1/classes.rb', line 3031 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#acs_token_link ⇒ String
URL to retrieve ACS token for pdf download. (In LITE projection.)
Corresponds to the JSON property acsTokenLink
| 3017 3018 3019 | # File 'generated/google/apis/books_v1/classes.rb', line 3017 def acs_token_link @acs_token_link end | 
#download_link ⇒ String
URL to download pdf. (In LITE projection.)
Corresponds to the JSON property downloadLink
| 3022 3023 3024 | # File 'generated/google/apis/books_v1/classes.rb', line 3022 def download_link @download_link end | 
#is_available ⇒ Boolean Also known as: is_available?
Is a scanned image pdf available either as public domain or for purchase. (In
LITE projection.)
Corresponds to the JSON property isAvailable
| 3028 3029 3030 | # File 'generated/google/apis/books_v1/classes.rb', line 3028 def is_available @is_available end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3036 3037 3038 3039 3040 | # File 'generated/google/apis/books_v1/classes.rb', line 3036 def update!(**args) @acs_token_link = args[:acs_token_link] if args.key?(:acs_token_link) @download_link = args[:download_link] if args.key?(:download_link) @is_available = args[:is_available] if args.key?(:is_available) end |