XML 98 R84.htm IDEA: XBRL DOCUMENT v3.22.2
Financial Instruments and Fair Value Measurements - Summary of Derivative Instruments Designated as Cash Flow Hedges (Detail) - Cash Flow Hedging - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Gain (loss) recognized in Accumulated Other Comprehensive Income $ 32 $ (12) $ (9)
(Gain) loss reclassified from Accumulated Other Comprehensive Income (6) 15 (2)
Foreign Currency Derivatives | Operating expenses      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Gain (loss) recognized in Accumulated Other Comprehensive Income 2 3 (2)
(Gain) loss reclassified from Accumulated Other Comprehensive Income 0 (1) (2)
Cross Currency Interest Rate Derivatives | Interest expense, net      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Gain (loss) recognized in Accumulated Other Comprehensive Income 0 (15) 0
(Gain) loss reclassified from Accumulated Other Comprehensive Income (4) 11 3
Interest Rate Contract | Interest expense, net      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Gain (loss) recognized in Accumulated Other Comprehensive Income 30 0 (7)
(Gain) loss reclassified from Accumulated Other Comprehensive Income $ (2) $ 5 $ (3)