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

Attributes

latitude[RW]

Corresponds to the JSON property `latitude` @return [Float]

longitude[RW]

Corresponds to the JSON property `longitude` @return [Float]

Public Class Methods

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