class Google::Apis::MirrorV1::Location
A geographic location that can be associated with a timeline item.
Attributes
The accuracy of the location fix in meters. Corresponds to the JSON property `accuracy` @return [Float]
The full address of the location. Corresponds to the JSON property `address` @return [String]
The name to be displayed. This may be a business name or a user-defined place, such as “Home”. Corresponds to the JSON property `displayName` @return [String]
The ID of the location. Corresponds to the JSON property `id` @return [String]
The type of resource. This is always mirror#location. Corresponds to the JSON property `kind` @return [String]
The latitude, in degrees. Corresponds to the JSON property `latitude` @return [Float]
The longitude, in degrees. Corresponds to the JSON property `longitude` @return [Float]
The time at which this location was captured, formatted according to RFC 3339. Corresponds to the JSON property `timestamp` @return [DateTime]
Public Class Methods
# File generated/google/apis/mirror_v1/classes.rb, line 350 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/mirror_v1/classes.rb, line 355 def update!(**args) @accuracy = args[:accuracy] if args.key?(:accuracy) @address = args[:address] if args.key?(:address) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @latitude = args[:latitude] if args.key?(:latitude) @longitude = args[:longitude] if args.key?(:longitude) @timestamp = args[:timestamp] if args.key?(:timestamp) end