Google has not specified how many employees will be laid off, but said some will be able to apply for internal roles.