class

GoogleDrive::FileImageMediaMetadata

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

Additional metadata about image media, if available.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, aperture : Float32 | Nil = nil, camera_make : String | Nil = nil, camera_model : String | Nil = nil, color_space : String | Nil = nil, exposure_bias : Float32 | Nil = nil, exposure_mode : String | Nil = nil, exposure_time : Float32 | Nil = nil, flash_used : Bool | Nil = nil, focal_length : Float32 | Nil = nil, height : Int32 | Nil = nil, iso_speed : Int32 | Nil = nil, lens : String | Nil = nil, location : GoogleDrive::FileImageMediaMetadataLocation | Nil = nil, max_aperture_value : Float32 | Nil = nil, metering_mode : String | Nil = nil, rotation : Int32 | Nil = nil, sensor : String | Nil = nil, subject_distance : Int32 | Nil = nil, time : String | Nil = nil, white_balance : String | Nil = nil, width : Int32 | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

aperture

The aperture used to create the photo (f-number).

Source
aperture=(new_value : Float32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] aperture Object to be assigned

Source
camera_make

The make of the camera used to create the photo.

Source
camera_make=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] camera_make Object to be assigned

Source
camera_model

The model of the camera used to create the photo.

Source
camera_model=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] camera_model Object to be assigned

Source
color_space

The color space of the photo.

Source
color_space=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] color_space Object to be assigned

Source
exposure_bias

The exposure bias of the photo (APEX value).

Source
exposure_bias=(new_value : Float32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] exposure_bias Object to be assigned

Source
exposure_mode

The exposure mode used to create the photo.

Source
exposure_mode=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] exposure_mode Object to be assigned

Source
exposure_time

The length of the exposure, in seconds.

Source
exposure_time=(new_value : Float32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] exposure_time Object to be assigned

Source
flash_used

Whether a flash was used to create the photo.

Source
flash_used=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] flash_used Object to be assigned

Source
focal_length

The focal length used to create the photo, in millimeters.

Source
focal_length=(new_value : Float32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] focal_length Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

height

The height of the image in pixels.

Source
height=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] height Object to be assigned

Source
iso_speed

The ISO speed used to create the photo.

Source
iso_speed=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] iso_speed Object to be assigned

Source
lens

The lens used to create the photo.

Source
lens=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] lens Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
location
Source
location=(new_value : GoogleDrive::FileImageMediaMetadataLocation | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] location Object to be assigned

Source
max_aperture_value

The smallest f-number of the lens at the focal length used to create the photo (APEX value).

Source
max_aperture_value=(new_value : Float32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] max_aperture_value Object to be assigned

Source
metering_mode

The metering mode used to create the photo.

Source
metering_mode=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] metering_mode Object to be assigned

Source
rotation

The number of clockwise 90 degree rotations applied from the image's original orientation.

Source
rotation=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] rotation Object to be assigned

Source
sensor

The type of sensor used to create the photo.

Source
sensor=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] sensor Object to be assigned

Source
subject_distance

The distance to the subject of the photo, in meters.

Source
subject_distance=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] subject_distance Object to be assigned

Source
time

The date and time the photo was taken (EXIF DateTime).

Source
time=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] time Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
white_balance

The white balance mode used to create the photo.

Source
white_balance=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] white_balance Object to be assigned

Source
width

The width of the image in pixels.

Source
width=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] width Object to be assigned

Source