Balance Sheet Components - Schedule of Significant Changes in Deferred Revenue (Details) - USD ($) $ in Thousands |
9 Months Ended | |
|---|---|---|
Jan. 31, 2022 |
Jan. 31, 2021 |
|
| Movement in Deferred Revenue [Roll Forward] | ||
| Contract with Customer, Liability | $ 397,700 | $ 259,702 |
| Contract With Customer Increases Due To Invoices Issued Excluding Amounts Recognized As Revenue | 312,581 | 274,292 |
| Contract with Customer, Liability, Increase (Decrease) for Contract Acquired in Business Combination | 1,001 | 0 |
| Contract with Customer, Transfer From Customer Deposits | 0 | 5,424 |
| Contract with Customer, Liability, Revenue Recognized | (315,600) | (205,408) |
| Contract with Customer, Liability | $ 395,682 | $ 334,010 |