Class: Google::Apis::DriveV2::File::ImageMediaMetadata::Location
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DriveV2::File::ImageMediaMetadata::Location
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/drive_v2/classes.rb,
generated/google/apis/drive_v2/representations.rb,
generated/google/apis/drive_v2/representations.rb 
Overview
Geographic location information stored in the image.
Instance Attribute Summary collapse
- 
  
    
      #altitude  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The altitude stored in the image.
 - 
  
    
      #latitude  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The latitude stored in the image.
 - 
  
    
      #longitude  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The longitude stored in the image.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Location 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Location.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Location
Returns a new instance of Location
      2124 2125 2126  | 
    
      # File 'generated/google/apis/drive_v2/classes.rb', line 2124 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#altitude ⇒ Float
The altitude stored in the image.
Corresponds to the JSON property altitude
      2112 2113 2114  | 
    
      # File 'generated/google/apis/drive_v2/classes.rb', line 2112 def altitude @altitude end  | 
  
#latitude ⇒ Float
The latitude stored in the image.
Corresponds to the JSON property latitude
      2117 2118 2119  | 
    
      # File 'generated/google/apis/drive_v2/classes.rb', line 2117 def latitude @latitude end  | 
  
#longitude ⇒ Float
The longitude stored in the image.
Corresponds to the JSON property longitude
      2122 2123 2124  | 
    
      # File 'generated/google/apis/drive_v2/classes.rb', line 2122 def longitude @longitude end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2129 2130 2131 2132 2133  | 
    
      # File 'generated/google/apis/drive_v2/classes.rb', line 2129 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  |