How can I apply for google as a software engineer ?
See, what Google requires is that you should be holding a degree in the field or a related field of Computer Science and Engineering. Google expects that your past academic records are good.
One more requirement is that you should be great in Data Structure and Algorithms, as most of their interview rounds are based on DS and Algo. So, just go to a good college and join CSE department, keep your grades high and keep practising DS and Algo, and you will easily get a job at Google. All the best!