Google said that the layoffs were part of a set of reorganizations that were made in the normal course of business.