class Google::Apis::BooksV1::AnnotationData
Attributes
The type of annotation this data is for. Corresponds to the JSON property `annotationType` @return [String]
Corresponds to the JSON property `data` @return [Object]
Base64 encoded data for this annotation data. Corresponds to the JSON property `encoded_data` @return [String]
Unique id for this annotation data. Corresponds to the JSON property `id` @return [String]
Resource Type Corresponds to the JSON property `kind` @return [String]
The Layer id for this data. * Corresponds to the JSON property `layerId` @return [String]
URL for this resource. * Corresponds to the JSON property `selfLink` @return [String]
Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format). Corresponds to the JSON property `updated` @return [DateTime]
The volume id for this data. * Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 311 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 316 def update!(**args) @annotation_type = args[:annotation_type] if args.key?(:annotation_type) @data = args[:data] if args.key?(:data) @encoded_data = args[:encoded_data] if args.key?(:encoded_data) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @layer_id = args[:layer_id] if args.key?(:layer_id) @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