class Google::Apis::BooksV1::GeoLayerData::Geo
Attributes
The boundary of the location as a set of loops containing pairs of latitude, longitude coordinates. Corresponds to the JSON property `boundary` @return [Array<Array<Google::Apis::BooksV1::GeoLayerData::Geo::Boundary>>]
The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER Corresponds to the JSON property `cachePolicy` @return [String]
The country code of the location. Corresponds to the JSON property `countryCode` @return [String]
The latitude of the location. Corresponds to the JSON property `latitude` @return [Float]
The longitude of the location. Corresponds to the JSON property `longitude` @return [Float]
The type of map that should be used for this location. EX: HYBRID, ROADMAP, SATELLITE, TERRAIN Corresponds to the JSON property `mapType` @return [String]
The viewport for showing this location. This is a latitude, longitude rectangle. Corresponds to the JSON property `viewport` @return [Google::Apis::BooksV1::GeoLayerData::Geo::Viewport]
The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to individual buildings). See: developers.google.com/maps/documentation/ staticmaps/#Zoomlevels Corresponds to the JSON property `zoom` @return [Fixnum]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 1677 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 1682 def update!(**args) @boundary = args[:boundary] if args.key?(:boundary) @cache_policy = args[:cache_policy] if args.key?(:cache_policy) @country_code = args[:country_code] if args.key?(:country_code) @latitude = args[:latitude] if args.key?(:latitude) @longitude = args[:longitude] if args.key?(:longitude) @map_type = args[:map_type] if args.key?(:map_type) @viewport = args[:viewport] if args.key?(:viewport) @zoom = args[:zoom] if args.key?(:zoom) end