class Google::Apis::PlusV1::Place::Position

The position of the place.

Attributes

latitude[RW]

The latitude of this position. Corresponds to the JSON property `latitude` @return [Float]

longitude[RW]

The longitude of this position. Corresponds to the JSON property `longitude` @return [Float]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_v1/classes.rb, line 2047
def update!(**args)
  @latitude = args[:latitude] if args.key?(:latitude)
  @longitude = args[:longitude] if args.key?(:longitude)
end