class Google::Apis::BloggerV2::Post::Location

The location for geotagged posts.

Attributes

lat[RW]

Location's latitude. Corresponds to the JSON property `lat` @return [Float]

lng[RW]

Location's longitude. Corresponds to the JSON property `lng` @return [Float]

name[RW]

Location name. Corresponds to the JSON property `name` @return [String]

span[RW]

Location's viewport span. Can be used when rendering a map preview. Corresponds to the JSON property `span` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/blogger_v2/classes.rb, line 992
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/blogger_v2/classes.rb, line 997
def update!(**args)
  @lat = args[:lat] if args.key?(:lat)
  @lng = args[:lng] if args.key?(:lng)
  @name = args[:name] if args.key?(:name)
  @span = args[:span] if args.key?(:span)
end