The uncertain global economic outlook that has been "top of mind" has led to a slowing of hiring at some of the company's divisions.

"Like all companies, we are not immune to economic challenges," Pichai wrote.

He wrote that the tech giant has a strong number of commitments for start dates in the third quarter of the year. The pace of hiring will be slowed for the rest of the year and the company will focus on hiring engineering, technical, and other critical roles through the next five years.

Read the full memo Pichai sent to staff:

I'd like to ask you a few questions.

It's hard to believe we're halfway through the year. Thanks to everyone for the great work so far this year, and to let them know how my leads and I are thinking about H2.

The uncertain global economic outlook has been on the minds of many people. We aren't immune to economic challenges. These types of challenges have never been seen as obstacles in our culture. We see them as opportunities to deepen our focus and invest for the long term.

Our goal is to make the world's information universally accessible and useful. When I joined the company 18 years ago, I was inspired by the impact we are able to have on the world. Our mission is driven by knowledge and computing. We use that lens to decide where to invest, whether it's in areas like Search, Cloud, YouTube, Platforms and Hardware, or the teams that support them.

When we concentrate on what we do best, we can help people and society. This vision is reflected in the investments we've made so far this year. In Q2 alone, we added approximately 10,000 Googlers, and have a strong number of commitments for Q3 start dates which reflect the college recruiting calendar. Our excitement about long-term opportunities is shown by these numbers.

The hiring progress achieved so far this year will cause us to slow the pace of hiring for the rest of the year. We will focus our hiring on engineering, technical and other critical roles for the rest of the decade.

We need to be more entrepreneurial, more focused, and more hungry in the future. Consolidating where investments overlap and streamlining processes is a case in point. It means pausing development and redeploying resources to higher priority areas. We will be creating more ways for you all to engage and share ideas in order to make the company more efficient.

We have been saying this for a long time. It is what drives focus and creativity that leads to better products. I'm looking forward to seeing us rise to the moment again today.

Sundar.