class Google::Apis::CoordinateV1::LocationRecord
Recorded location of a worker.
Attributes
collection_time[RW]
The collection time in milliseconds since the epoch. Corresponds to the JSON property `collectionTime` @return [String]
confidence_radius[RW]
The location accuracy in meters. This is the radius of a 95% confidence interval around the location measurement. Corresponds to the JSON property `confidenceRadius` @return [Float]
kind[RW]
Identifies this object as a location. Corresponds to the JSON property `kind` @return [String]
latitude[RW]
Latitude. Corresponds to the JSON property `latitude` @return [Float]
longitude[RW]
Longitude. Corresponds to the JSON property `longitude` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/coordinate_v1/classes.rb, line 470 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/coordinate_v1/classes.rb, line 475 def update!(**args) @collection_time = args[:collection_time] if args.key?(:collection_time) @confidence_radius = args[:confidence_radius] if args.key?(:confidence_radius) @kind = args[:kind] if args.key?(:kind) @latitude = args[:latitude] if args.key?(:latitude) @longitude = args[:longitude] if args.key?(:longitude) end