class Google::Apis::BooksV1::GeoAnnotationdata
Attributes
The type of annotation this data is for. Corresponds to the JSON property `annotationType` @return [String]
JSON encoded data for this geo annotation data. Emitted with name 'data' in JSON output. Either this or dict_data will be populated. Corresponds to the JSON property `data` @return [Google::Apis::BooksV1::GeoLayerData]
Base64 encoded data for this annotation data. Corresponds to the JSON property `encodedData` NOTE: Values are automatically base64 encoded/decoded in the client library. @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 [String]
The volume id for this data. * Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File lib/google/apis/books_v1/classes.rb, line 1693 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 1698 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