class Google::Apis::BooksV1::LayerSummary

Attributes

annotation_count[RW]

The number of annotations for this layer. Corresponds to the JSON property `annotationCount` @return [Fixnum]

annotation_types[RW]

The list of annotation types contained for this layer. Corresponds to the JSON property `annotationTypes` @return [Array<String>]

content_version[RW]

The content version this resource is for. Corresponds to the JSON property `contentVersion` @return [String]

data_count[RW]

The number of data items for this layer. Corresponds to the JSON property `dataCount` @return [Fixnum]

id[RW]

Unique id of this layer summary. 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 summary. Corresponds to the JSON property `layerId` @return [String]

updated[RW]

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

volume_annotations_version[RW]

The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately. Corresponds to the JSON property `volumeAnnotationsVersion` @return [String]

volume_id[RW]

The volume id this resource is for. 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 2032
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 2037
def update!(**args)
  @annotation_count = args[:annotation_count] if args.key?(:annotation_count)
  @annotation_types = args[:annotation_types] if args.key?(:annotation_types)
  @annotations_data_link = args[:annotations_data_link] if args.key?(:annotations_data_link)
  @annotations_link = args[:annotations_link] if args.key?(:annotations_link)
  @content_version = args[:content_version] if args.key?(:content_version)
  @data_count = args[:data_count] if args.key?(:data_count)
  @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_annotations_version = args[:volume_annotations_version] if args.key?(:volume_annotations_version)
  @volume_id = args[:volume_id] if args.key?(:volume_id)
end