v3.22.4
Restructuring - Restructuring and Related Costs (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges $ 4,611    
Facilities Consolidation      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 2,218 $ 0 $ 0
Facilities Consolidation | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 2,295    
Severance and Other Personnel Costs      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 975    
Severance and Other Personnel Costs | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 975    
Data Center Assets      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 1,341 $ 0 $ 0
Data Center Assets | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 1,341    
Cost of revenue | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 1,495    
Cost of revenue | Facilities Consolidation | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 154    
Cost of revenue | Severance and Other Personnel Costs | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 0    
Cost of revenue | Data Center Assets | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 1,341    
Research and development | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 1,719    
Research and development | Facilities Consolidation | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 1,311    
Research and development | Severance and Other Personnel Costs | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 408    
Research and development | Data Center Assets | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 0    
Marketing and sales | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 638    
Marketing and sales | Facilities Consolidation | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 404    
Marketing and sales | Severance and Other Personnel Costs | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 234    
Marketing and sales | Data Center Assets | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 0    
General and administrative | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 759    
General and administrative | Facilities Consolidation | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 426    
General and administrative | Severance and Other Personnel Costs | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges 333    
General and administrative | Data Center Assets | 2022 Restructuring      
Restructuring Cost and Reserve [Line Items]      
Restructuring charges $ 0