class Google::Apis::BooksV1::GeoLayerData::Geo::Viewport

The viewport for showing this location. This is a latitude, longitude rectangle.

Attributes

hi[RW]

Corresponds to the JSON property `hi` @return [Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Hi]

lo[RW]

Corresponds to the JSON property `lo` @return [Google::Apis::BooksV1::GeoLayerData::Geo::Viewport::Lo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 1866
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 1871
def update!(**args)
  @hi = args[:hi] if args.key?(:hi)
  @lo = args[:lo] if args.key?(:lo)
end