I have no context on what's happening in this particular case, but Google usually indeed does not layoff straight up: teams get "defragged" and the people working on them have some time to try to find new roles.
A friend who's role has been cut says they were locked out of everything except Grow, Meet, and email and has 60 days to find a new role. Can't even get in the building to access the food onsite.