v3.22.4
Supplemental Financial Statement Information - Reclassifications Out of Accumulated Other Comprehensive Income (Loss) (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Revenues $ 282,836 $ 257,637 $ 182,527
Other income (expense), net (3,514) 12,020 6,858
Benefit (provision) for income taxes (11,356) (14,701) (7,813)
Net of income tax 59,972 76,033 40,269
Reclassification out of AOCI      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Net of income tax 699 218 629
Reclassification out of AOCI | Unrealized gains (losses) on available-for-sale investments      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Other income (expense), net (1,291) 82 650
Benefit (provision) for income taxes 284 (18) (137)
Net of income tax (1,007) 64 513
Reclassification out of AOCI | Unrealized Gains (Losses) on Cash Flow Hedges      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Benefit (provision) for income taxes (346) (17) (34)
Net of income tax 1,706 154 116
Reclassification out of AOCI | Unrealized Gains (Losses) on Cash Flow Hedges | Foreign exchange contracts      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Revenues 2,046 165 144
Reclassification out of AOCI | Unrealized Gains (Losses) on Cash Flow Hedges | Interest rate contracts      
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]      
Other income (expense), net $ 6 $ 6 $ 6