Class: Google::Apis::BooksV1::VolumeAnnotation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::VolumeAnnotation
 
- 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
Defined Under Namespace
Classes: ContentRanges
Instance Attribute Summary collapse
- 
  
    
      #annotation_data_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The annotation data id for this volume annotation. 
- 
  
    
      #annotation_data_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Link to get data for this annotation. 
- 
  
    
      #annotation_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of annotation this is. 
- 
  
    
      #content_ranges  ⇒ Google::Apis::BooksV1::VolumeAnnotation::ContentRanges 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The content ranges to identify the selected text. 
- 
  
    
      #data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Data for this annotation. 
- 
  
    
      #deleted  ⇒ Boolean 
    
    
      (also: #deleted?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates that this annotation is deleted. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique id of this volume annotation. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource Type Corresponds to the JSON property kind.
- 
  
    
      #layer_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Layer this annotation is for. 
- 
  
    
      #page_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Pages the annotation spans. 
- 
  
    
      #selected_text  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Excerpt from the volume. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL to this resource. 
- 
  
    
      #updated  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Timestamp for the last time this anntoation was updated. 
- 
  
    
      #volume_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Volume this annotation is for. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VolumeAnnotation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of VolumeAnnotation. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VolumeAnnotation
Returns a new instance of VolumeAnnotation
| 4064 4065 4066 | # File 'generated/google/apis/books_v1/classes.rb', line 4064 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#annotation_data_id ⇒ String
The annotation data id for this volume annotation.
Corresponds to the JSON property annotationDataId
| 3995 3996 3997 | # File 'generated/google/apis/books_v1/classes.rb', line 3995 def annotation_data_id @annotation_data_id end | 
#annotation_data_link ⇒ String
Link to get data for this annotation.
Corresponds to the JSON property annotationDataLink
| 4000 4001 4002 | # File 'generated/google/apis/books_v1/classes.rb', line 4000 def annotation_data_link @annotation_data_link end | 
#annotation_type ⇒ String
The type of annotation this is.
Corresponds to the JSON property annotationType
| 4005 4006 4007 | # File 'generated/google/apis/books_v1/classes.rb', line 4005 def annotation_type @annotation_type end | 
#content_ranges ⇒ Google::Apis::BooksV1::VolumeAnnotation::ContentRanges
The content ranges to identify the selected text.
Corresponds to the JSON property contentRanges
| 4010 4011 4012 | # File 'generated/google/apis/books_v1/classes.rb', line 4010 def content_ranges @content_ranges end | 
#data ⇒ String
Data for this annotation.
Corresponds to the JSON property data
| 4015 4016 4017 | # File 'generated/google/apis/books_v1/classes.rb', line 4015 def data @data end | 
#deleted ⇒ Boolean Also known as: deleted?
Indicates that this annotation is deleted.
Corresponds to the JSON property deleted
| 4020 4021 4022 | # File 'generated/google/apis/books_v1/classes.rb', line 4020 def deleted @deleted end | 
#id ⇒ String
Unique id of this volume annotation.
Corresponds to the JSON property id
| 4026 4027 4028 | # File 'generated/google/apis/books_v1/classes.rb', line 4026 def id @id end | 
#kind ⇒ String
Resource Type
Corresponds to the JSON property kind
| 4031 4032 4033 | # File 'generated/google/apis/books_v1/classes.rb', line 4031 def kind @kind end | 
#layer_id ⇒ String
The Layer this annotation is for.
Corresponds to the JSON property layerId
| 4036 4037 4038 | # File 'generated/google/apis/books_v1/classes.rb', line 4036 def layer_id @layer_id end | 
#page_ids ⇒ Array<String>
Pages the annotation spans.
Corresponds to the JSON property pageIds
| 4041 4042 4043 | # File 'generated/google/apis/books_v1/classes.rb', line 4041 def page_ids @page_ids end | 
#selected_text ⇒ String
Excerpt from the volume.
Corresponds to the JSON property selectedText
| 4046 4047 4048 | # File 'generated/google/apis/books_v1/classes.rb', line 4046 def selected_text @selected_text end | 
#self_link ⇒ String
URL to this resource.
Corresponds to the JSON property selfLink
| 4051 4052 4053 | # File 'generated/google/apis/books_v1/classes.rb', line 4051 def self_link @self_link end | 
#updated ⇒ DateTime
Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date-
time format).
Corresponds to the JSON property updated
| 4057 4058 4059 | # File 'generated/google/apis/books_v1/classes.rb', line 4057 def updated @updated end | 
#volume_id ⇒ String
The Volume this annotation is for.
Corresponds to the JSON property volumeId
| 4062 4063 4064 | # File 'generated/google/apis/books_v1/classes.rb', line 4062 def volume_id @volume_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 | # File 'generated/google/apis/books_v1/classes.rb', line 4069 def update!(**args) @annotation_data_id = args[:annotation_data_id] if args.key?(:annotation_data_id) @annotation_data_link = args[:annotation_data_link] if args.key?(:annotation_data_link) @annotation_type = args[:annotation_type] if args.key?(:annotation_type) @content_ranges = args[:content_ranges] if args.key?(:content_ranges) @data = args[:data] if args.key?(:data) @deleted = args[:deleted] if args.key?(:deleted) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @layer_id = args[:layer_id] if args.key?(:layer_id) @page_ids = args[:page_ids] if args.key?(:page_ids) @selected_text = args[:selected_text] if args.key?(:selected_text) @self_link = args[:self_link] if args.key?(:self_link) @updated = args[:updated] if args.key?(:updated) @volume_id = args[:volume_id] if args.key?(:volume_id) end |