class Google::Apis::DriveV3::File::ImageMediaMetadata

Additional metadata about image media, if available.

Attributes

aperture[RW]

The aperture used to create the photo (f-number). Corresponds to the JSON property `aperture` @return [Float]

camera_make[RW]

The make of the camera used to create the photo. Corresponds to the JSON property `cameraMake` @return [String]

camera_model[RW]

The model of the camera used to create the photo. Corresponds to the JSON property `cameraModel` @return [String]

color_space[RW]

The color space of the photo. Corresponds to the JSON property `colorSpace` @return [String]

exposure_bias[RW]

The exposure bias of the photo (APEX value). Corresponds to the JSON property `exposureBias` @return [Float]

exposure_mode[RW]

The exposure mode used to create the photo. Corresponds to the JSON property `exposureMode` @return [String]

exposure_time[RW]

The length of the exposure, in seconds. Corresponds to the JSON property `exposureTime` @return [Float]

flash_used[RW]

Whether a flash was used to create the photo. Corresponds to the JSON property `flashUsed` @return [Boolean]

flash_used?[RW]

Whether a flash was used to create the photo. Corresponds to the JSON property `flashUsed` @return [Boolean]

focal_length[RW]

The focal length used to create the photo, in millimeters. Corresponds to the JSON property `focalLength` @return [Float]

height[RW]

The height of the image in pixels. Corresponds to the JSON property `height` @return [Fixnum]

iso_speed[RW]

The ISO speed used to create the photo. Corresponds to the JSON property `isoSpeed` @return [Fixnum]

lens[RW]

The lens used to create the photo. Corresponds to the JSON property `lens` @return [String]

location[RW]

Geographic location information stored in the image. Corresponds to the JSON property `location` @return [Google::Apis::DriveV3::File::ImageMediaMetadata::Location]

max_aperture_value[RW]

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]

metering_mode[RW]

The metering mode used to create the photo. Corresponds to the JSON property `meteringMode` @return [String]

rotation[RW]

The number of clockwise 90 degree rotations applied from the image's original orientation. Corresponds to the JSON property `rotation` @return [Fixnum]

sensor[RW]

The type of sensor used to create the photo. Corresponds to the JSON property `sensor` @return [String]

subject_distance[RW]

The distance to the subject of the photo, in meters. Corresponds to the JSON property `subjectDistance` @return [Fixnum]

time[RW]

The date and time the photo was taken (EXIF DateTime). Corresponds to the JSON property `time` @return [String]

white_balance[RW]

The white balance mode used to create the photo. Corresponds to the JSON property `whiteBalance` @return [String]

width[RW]

The width of the image in pixels. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/drive_v3/classes.rb, line 1898
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_v3/classes.rb, line 1903
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)
  @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)
  @time = args[:time] if args.key?(:time)
  @white_balance = args[:white_balance] if args.key?(:white_balance)
  @width = args[:width] if args.key?(:width)
end