class Google::Apis::BooksV1::GeoAnnotationdata

Attributes

annotation_type[RW]

The type of annotation this data is for. Corresponds to the JSON property `annotationType` @return [String]

data[RW]

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]

encoded_data[RW]

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]

id[RW]

Unique id for this annotation data. Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource Type Corresponds to the JSON property `kind` @return [String]

layer_id[RW]

The Layer id for this data. * Corresponds to the JSON property `layerId` @return [String]

updated[RW]

Timestamp for the last time this data was updated. (RFC 3339 UTC date-time format). Corresponds to the JSON property `updated` @return [String]

volume_id[RW]

The volume id for this data. * Corresponds to the JSON property `volumeId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 1693
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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