class Google::Apis::DriveV2::File::ImageMediaMetadata
Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
Attributes
The aperture used to create the photo (f-number). Corresponds to the JSON property `aperture` @return [Float]
The make of the camera used to create the photo. Corresponds to the JSON property `cameraMake` @return [String]
The model of the camera used to create the photo. Corresponds to the JSON property `cameraModel` @return [String]
The color space of the photo. Corresponds to the JSON property `colorSpace` @return [String]
The date and time the photo was taken (EXIF format timestamp). Corresponds to the JSON property `date` @return [String]
The exposure bias of the photo (APEX value). Corresponds to the JSON property `exposureBias` @return [Float]
The exposure mode used to create the photo. Corresponds to the JSON property `exposureMode` @return [String]
The length of the exposure, in seconds. Corresponds to the JSON property `exposureTime` @return [Float]
Whether a flash was used to create the photo. Corresponds to the JSON property `flashUsed` @return [Boolean]
Whether a flash was used to create the photo. Corresponds to the JSON property `flashUsed` @return [Boolean]
The focal length used to create the photo, in millimeters. Corresponds to the JSON property `focalLength` @return [Float]
The height of the image in pixels. Corresponds to the JSON property `height` @return [Fixnum]
The ISO speed used to create the photo. Corresponds to the JSON property `isoSpeed` @return [Fixnum]
The lens used to create the photo. Corresponds to the JSON property `lens` @return [String]
Geographic location information stored in the image. Corresponds to the JSON property `location` @return [Google::Apis::DriveV2::File::ImageMediaMetadata::Location]
The smallest f-number of the lens at the focal length used to create the photo (APEX value). Corresponds to the JSON property `maxApertureValue` @return [Float]
The metering mode used to create the photo. Corresponds to the JSON property `meteringMode` @return [String]
The number of clockwise 90 degree rotations applied from the image's original orientation. Corresponds to the JSON property `rotation` @return [Fixnum]
The type of sensor used to create the photo. Corresponds to the JSON property `sensor` @return [String]
The distance to the subject of the photo, in meters. Corresponds to the JSON property `subjectDistance` @return [Fixnum]
The white balance mode used to create the photo. Corresponds to the JSON property `whiteBalance` @return [String]
The width of the image in pixels. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File lib/google/apis/drive_v2/classes.rb, line 2683 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 2688 def update!(**args) @aperture = args[:aperture] if args.key?(:aperture) @camera_make = args[:camera_make] if args.key?(:camera_make) @camera_model = args[:camera_model] if args.key?(:camera_model) @color_space = args[:color_space] if args.key?(:color_space) @date = args[:date] if args.key?(:date) @exposure_bias = args[:exposure_bias] if args.key?(:exposure_bias) @exposure_mode = args[:exposure_mode] if args.key?(:exposure_mode) @exposure_time = args[:exposure_time] if args.key?(:exposure_time) @flash_used = args[:flash_used] if args.key?(:flash_used) @focal_length = args[:focal_length] if args.key?(:focal_length) @height = args[:height] if args.key?(:height) @iso_speed = args[:iso_speed] if args.key?(:iso_speed) @lens = args[:lens] if args.key?(:lens) @location = args[:location] if args.key?(:location) @max_aperture_value = args[:max_aperture_value] if args.key?(:max_aperture_value) @metering_mode = args[:metering_mode] if args.key?(:metering_mode) @rotation = args[:rotation] if args.key?(:rotation) @sensor = args[:sensor] if args.key?(:sensor) @subject_distance = args[:subject_distance] if args.key?(:subject_distance) @white_balance = args[:white_balance] if args.key?(:white_balance) @width = args[:width] if args.key?(:width) end