gDriveEjectWithOperationFinish with the drive
and GAsyncResult data returned in the callback.gDriveEjectWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)GDrive.GMountOperation or NULL to avoid user interaction.GCancellable object, NULL to ignore.GAsyncReadyCallback, or NULL.callback.