v3.21.2
Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Detail) - USD ($)
$ in Millions
3 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period $ 141,988  
Accounting Standards Update [Extensible List] us-gaap:AccountingStandardsUpdate201601Member us-gaap:AccountingStandardsUpdate201601Member
Net change related to other comprehensive income (loss) $ (539) $ (86)
Balance, end of period 151,978 123,392
Derivatives    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period (19) (38)
Unrealized gains (losses), net of tax (10) 20
Tax expense (benefit) included in provision for income taxes (3) 4
Amounts reclassified from accumulated other comprehensive income 12 (16)
Net change related to other comprehensive income (loss) 2 4
Balance, end of period (17) (34)
Derivatives | Other Income (Expense), Net    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Reclassification adjustments for (gains) losses included in other income (expense), net 15 (20)
Investments    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period 3,222 5,478
Unrealized gains (losses), net of tax (415) (188)
Tax expense (benefit) included in provision for income taxes 2 4
Amounts reclassified from accumulated other comprehensive income (7) (13)
Net change related to other comprehensive income (loss) (422) (201)
Balance, end of period 2,800 5,287
Investments | Cumulative effect of accounting changes    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period 0 10
Investments | Other Income (Expense), Net    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Reclassification adjustments for (gains) losses included in other income (expense), net (9) (17)
Translation adjustments and other    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period (1,381) (2,254)
Net change related to other comprehensive income (loss) (119) 111
Balance, end of period (1,500) (2,143)
Accumulated other comprehensive income    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period 1,822 3,186
Net change related to other comprehensive income (loss) (539) (86)
Balance, end of period 1,283 3,110
Accumulated other comprehensive income | Cumulative effect of accounting changes    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Balance, beginning of period $ 0 $ 10