v3.24.0.1
Supplemental Financial Statement Information - Components of Accumulated Other Comprehensive Income (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning Balance $ 256,144 $ 251,635 $ 222,544
Other comprehensive income (loss) before reclassifications 2,163 (5,093) (2,086)
Amounts excluded from the assessment of hedge effectiveness recorded in AOCI 84 (188) 48
Amounts reclassified from AOCI 954 (699) (218)
Other comprehensive income (loss) 3,201 (5,980) (2,256)
Ending Balance 283,379 256,144 251,635
Accumulated Other Comprehensive Income (Loss)      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning Balance (7,603) (1,623) 633
Ending Balance (4,402) (7,603) (1,623)
Foreign Currency Translation Adjustments      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning Balance (4,142) (2,306) (864)
Other comprehensive income (loss) before reclassifications 735 (1,836) (1,442)
Amounts excluded from the assessment of hedge effectiveness recorded in AOCI 0 0 0
Amounts reclassified from AOCI 0 0 0
Other comprehensive income (loss) 735 (1,836) (1,442)
Ending Balance (3,407) (4,142) (2,306)
Unrealized Gains (Losses) on Available-for-Sale Investments      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning Balance (3,477) 236 1,612
Other comprehensive income (loss) before reclassifications 1,344 (4,720) (1,312)
Amounts excluded from the assessment of hedge effectiveness recorded in AOCI 0 0 0
Amounts reclassified from AOCI 1,168 1,007 (64)
Other comprehensive income (loss) 2,512 (3,713) (1,376)
Ending Balance (965) (3,477) 236
Unrealized Gains (Losses) on Cash Flow Hedges      
AOCI Attributable to Parent, Net of Tax [Roll Forward]      
Beginning Balance 16 447 (115)
Other comprehensive income (loss) before reclassifications 84 1,463 668
Amounts excluded from the assessment of hedge effectiveness recorded in AOCI 84 (188) 48
Amounts reclassified from AOCI (214) (1,706) (154)
Other comprehensive income (loss) (46) (431) 562
Ending Balance $ (30) $ 16 $ 447