Class: Google::Apis::BooksV1::LayerSummary
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::LayerSummary
- 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
Instance Attribute Summary collapse
-
#annotation_count ⇒ Fixnum
The number of annotations for this layer.
-
#annotation_types ⇒ Array<String>
The list of annotation types contained for this layer.
-
#annotations_data_link ⇒ String
Link to get data for this annotation.
-
#annotations_link ⇒ String
The link to get the annotations for this layer.
-
#content_version ⇒ String
The content version this resource is for.
-
#data_count ⇒ Fixnum
The number of data items for this layer.
-
#id ⇒ String
Unique id of this layer summary.
-
#kind ⇒ String
Resource Type Corresponds to the JSON property
kind
. -
#layer_id ⇒ String
The layer id for this summary.
-
#self_link ⇒ String
URL to this resource.
-
#updated ⇒ DateTime
Timestamp for the last time an item in this layer was updated.
-
#volume_annotations_version ⇒ String
The current version of this layer's volume annotations.
-
#volume_id ⇒ String
The volume id this resource is for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LayerSummary
constructor
A new instance of LayerSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LayerSummary
Returns a new instance of LayerSummary
1969 1970 1971 |
# File 'generated/google/apis/books_v1/classes.rb', line 1969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_count ⇒ Fixnum
The number of annotations for this layer.
Corresponds to the JSON property annotationCount
1904 1905 1906 |
# File 'generated/google/apis/books_v1/classes.rb', line 1904 def annotation_count @annotation_count end |
#annotation_types ⇒ Array<String>
The list of annotation types contained for this layer.
Corresponds to the JSON property annotationTypes
1909 1910 1911 |
# File 'generated/google/apis/books_v1/classes.rb', line 1909 def annotation_types @annotation_types end |
#annotations_data_link ⇒ String
Link to get data for this annotation.
Corresponds to the JSON property annotationsDataLink
1914 1915 1916 |
# File 'generated/google/apis/books_v1/classes.rb', line 1914 def annotations_data_link @annotations_data_link end |
#annotations_link ⇒ String
The link to get the annotations for this layer.
Corresponds to the JSON property annotationsLink
1919 1920 1921 |
# File 'generated/google/apis/books_v1/classes.rb', line 1919 def annotations_link @annotations_link end |
#content_version ⇒ String
The content version this resource is for.
Corresponds to the JSON property contentVersion
1924 1925 1926 |
# File 'generated/google/apis/books_v1/classes.rb', line 1924 def content_version @content_version end |
#data_count ⇒ Fixnum
The number of data items for this layer.
Corresponds to the JSON property dataCount
1929 1930 1931 |
# File 'generated/google/apis/books_v1/classes.rb', line 1929 def data_count @data_count end |
#id ⇒ String
Unique id of this layer summary.
Corresponds to the JSON property id
1934 1935 1936 |
# File 'generated/google/apis/books_v1/classes.rb', line 1934 def id @id end |
#kind ⇒ String
Resource Type
Corresponds to the JSON property kind
1939 1940 1941 |
# File 'generated/google/apis/books_v1/classes.rb', line 1939 def kind @kind end |
#layer_id ⇒ String
The layer id for this summary.
Corresponds to the JSON property layerId
1944 1945 1946 |
# File 'generated/google/apis/books_v1/classes.rb', line 1944 def layer_id @layer_id end |
#self_link ⇒ String
URL to this resource.
Corresponds to the JSON property selfLink
1949 1950 1951 |
# File 'generated/google/apis/books_v1/classes.rb', line 1949 def self_link @self_link end |
#updated ⇒ DateTime
Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC
date-time format).
Corresponds to the JSON property updated
1955 1956 1957 |
# File 'generated/google/apis/books_v1/classes.rb', line 1955 def updated @updated end |
#volume_annotations_version ⇒ String
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
1962 1963 1964 |
# File 'generated/google/apis/books_v1/classes.rb', line 1962 def volume_annotations_version @volume_annotations_version end |
#volume_id ⇒ String
The volume id this resource is for.
Corresponds to the JSON property volumeId
1967 1968 1969 |
# File 'generated/google/apis/books_v1/classes.rb', line 1967 def volume_id @volume_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 |
# File 'generated/google/apis/books_v1/classes.rb', line 1974 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 |