class Google::Apis::DriveV2::File::ImageMediaMetadata::Location

Geographic location information stored in the image.

Attributes

altitude[RW]

The altitude stored in the image. Corresponds to the JSON property `altitude` @return [Float]

latitude[RW]

The latitude stored in the image. Corresponds to the JSON property `latitude` @return [Float]

longitude[RW]

The longitude stored in the image. Corresponds to the JSON property `longitude` @return [Float]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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