Property and Equipment - Additional Information (Detail) - USD ($) $ in Billions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
| Property, Plant and Equipment [Line Items] | |||
| Depreciation expense | $ 7.7 | $ 6.1 | $ 4.9 |
| Building, Building Improvements and Leasehold Improvements | |||
| Property, Plant and Equipment [Line Items] | |||
| Committed for construction of new buildings, building improvements and leasehold improvements | $ 1.9 | ||