Skip to content

Google: Creates a copy of a file and applies any requested updates with patch semantics For more information, see Create and manage files (https: developers google com workspace drive api guides create-file) — request body — body image Media Metadata

Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).: request body, field body / imageMediaMetadata. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Creates a copy of a file and applies any requested updates with patch semantics For more information, see Create and manage files (https: developers google com workspace drive api guides create-file) — request body — body image Media Metadata

FieldTypePresenceDescription and constraints
$objectRootOutput only. Additional metadata about image media, if available.
aperturenumberOptionalOutput only. The aperture used to create the photo (f-number).
Format: float
cameraMakestringOptionalOutput only. The make of the camera used to create the photo.
cameraModelstringOptionalOutput only. The model of the camera used to create the photo.
colorSpacestringOptionalOutput only. The color space of the photo.
exposureBiasnumberOptionalOutput only. The exposure bias of the photo (APEX value).
Format: float
exposureModestringOptionalOutput only. The exposure mode used to create the photo.
exposureTimenumberOptionalOutput only. The length of the exposure, in seconds.
Format: float
flashUsedbooleanOptionalOutput only. Whether a flash was used to create the photo.
focalLengthnumberOptionalOutput only. The focal length used to create the photo, in millimeters.
Format: float
heightintegerOptionalOutput only. The height of the image in pixels.
Format: int32
isoSpeedintegerOptionalOutput only. The ISO speed used to create the photo.
Format: int32
lensstringOptionalOutput only. The lens used to create the photo.
locationobjectOptionalOutput only. Geographic location information stored in the image.
location.altitudenumberOptionalOutput only. The altitude stored in the image.
Format: double
location.latitudenumberOptionalOutput only. The latitude stored in the image.
Format: double
location.longitudenumberOptionalOutput only. The longitude stored in the image.
Format: double
maxApertureValuenumberOptionalOutput only. The smallest f-number of the lens at the focal length used to create the photo (APEX value).
Format: float
meteringModestringOptionalOutput only. The metering mode used to create the photo.
rotationintegerOptionalOutput only. The number of clockwise 90 degree rotations applied from the image’s original orientation.
Format: int32
sensorstringOptionalOutput only. The type of sensor used to create the photo.
subjectDistanceintegerOptionalOutput only. The distance to the subject of the photo, in meters.
Format: int32
timestringOptionalOutput only. The date and time the photo was taken (EXIF DateTime).
whiteBalancestringOptionalOutput only. The white balance mode used to create the photo.
widthintegerOptionalOutput only. The width of the image in pixels.
Format: int32

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.