Monthly Archives: March 2017

The smart yard is finally here. Meet Google Gnome

It all started with smart thermostats, refrigerators, and light bulbs. Then Google Home came along and made your entire house smarter. But what about the backyard, the final frontier in smart homes? Two words: “Ok Gnome.”

Google Gnome

Google Gnome is a voice-activated, hands-free tool designed to make backyard living effortless. Need to know what animal is squeaking in your bushes? Stay still and ask Gnome what sound an opossum makes. Running low on birdseed? That’s where Gnome comes in. You can even use Gnome’s proprietary high-intensity lasers to trim your hedges into whatever shape your heart desires. The only thing that can fence in Google Gnome is the literal fence surrounding your yard.

The future is here, and it’s a real breath of fresh air. Discover it for yourself at g.co/GoogleGnome.

Using field masks with Google APIs for partial response



When you write applications using Google APIs (not just G Suite ones, but most Google APIs including YouTube or Google Cloud Platform APIs), it's important to be mindful of the data that’s returned in the response payloads from API calls. If you're not, your apps are likely getting back much more data than they need which can affect the performance of your apps whether on mobile or a server backend.

That's why most Google APIs allow you to only filter the data you need from response payloads with field masks. To get you comfortable with field masks, we’ve put together a video to demonstrate their use with various Google APIs: With field masks, you can specify exactly what fields an API should return in its response payload by providing a fields or part parameter in your calls. And once the API knows what you want, it will likely spend less time assembling your response too. Here’s an example Python call to fetch your sender addresses using the Gmail API (if GMAIL is your service endpoint):
     addresses = GMAIL.users().settings().sendAs().list(
userId='me'
).execute().get('sendAs')

Whether you’re using a Client Library (as our Python call) or using HTTP directly with GET https://www.googleapis.com/gmail/v1/users/userId/settings/sendAs, this is the payload you get back from the API:
     {
"sendAs": [{
"sendAsEmail": string,
"displayName": string,
"replyToAddress": string,
"signature": string,
"isPrimary": boolean,
"isDefault": boolean,
"treatAsAlias": boolean,
"smtpMsa": {
"host": string,
"port": integer,
"username": string,
"password": string,
"securityMode": string
},
"verificationStatus": string
}, ...]
}

The sendAs array gives you everything you need to know about each of your sender addresses. Did you know you can change a user’s email signature using the Gmail API without all of the data from above? You only need one field, or at most two: sendAsEmail and perhaps the isPrimary flag. By specifying a field mask with just those names from the sendAs attribute, you can cut out all those unneeded fields. Check it out here in Python with the field mask bolded for emphasis (versus the sample code above that doesn’t filter):
     addresses = GMAIL.users().settings().sendAs().list(
userId='me', fields='sendAs(sendAsEmail,isPrimary)'
).execute().get('sendAs')
Field masks filter our unnecessary data from Google API call responses.

In part two of this video series (coming soon), we’ll show you a different use case for field masks...for update API calls. We’ll also provide some usage tips and demonstrate how field masks can be used in both read and update calls, how both types of calls are discrete, and how in some cases, you may use both as part of a single API call. Stay tuned!

To learn more about using field masks for partial response in API payloads, check out this section of the Client Library docs. For one of the most comprehensive write-ups on both (read and update) use cases, see the guide in the Google Slides API documentation.

The High Five: all eyes on April

When your week feels like it will never end, just imagine how it feels to be a pregnant giraffe. Here’s a look at five of the top trending Google searches from the week of March 27.

The Raiders’ big bet

It’s official—the Raiders are moving to Las Vegas. This week, the Oakland franchise announced that they’ll be taking their talents to Sin City. Though the move won’t take place until 2020, people are already searching for season tickets. Still, questions remain—like what are the odds the team will get to keep their name?

We hardly knew EU

Raider fans aren’t the only nation facing change. British Prime Minister Theresa May triggered Article 50 this week, officially kicking off the process for the U.K. to exit the European Union in 2019. People turned to search to ask “What does Brexit mean for Britain?” and “How does Brexit affect the EU?” They’re also curious about how it will affect financial markets: “Brexit stocks” is the top trending related search to “stocks” worldwide in the past week.

A twist ending?

The Academy of Motion Picture Arts and Sciences confirmed that accounting firm PricewaterhouseCoopers will continue to work for the Oscars next year, putting an end to queries like "Did the Oscars fire Pwc?" and "Will the Oscars retain PwC?" But after this year’s Best Picture envelope mix-up, which was blamed on a employee distracted by his phone, PwC's accountants will have to stash their devices next time. Apparently when it comes to the movies, simply silencing your cell phones is no longer sufficient.

April the Giraffe

People across the internet are craning their necks to find out more about April the Giraffe, who’s awaiting the birth of her new baby calf at the Animal Adventure Park in upstate New York. The zoo launched a live stream for people to tune in to the birth way back in February. But yesterday, they announced that the “calf countdown” had begun. The timing—and the mama-to-be’s name—has some people skeptical: Top queries include “Is April the Giraffe an April Fool’s joke?” and “Is April the Giraffe a hoax?”

april the giraffe

But seriously...

Only time will tell if April the Giraffe is having the longest labor in documented giraffe history or pulling your leg. But if the spike in searches are any indication, you should prepare to be pranked by someone out there this April Fools’ Day. Not by us, though. We’d never do that.

The High Five: all eyes on April

When your week feels like it will never end, just imagine how it feels to be a pregnant giraffe. Here’s a look at five of the top trending Google searches from the week of March 27.

The Raiders’ big bet

It’s official—the Raiders are moving to Las Vegas. This week, the Oakland franchise announced that they’ll be taking their talents to Sin City. Though the move won’t take place until 2020, people are already searching for season tickets. Still, questions remain—like what are the odds the team will get to keep their name?

We hardly knew EU

Raider fans aren’t the only nation facing change. British Prime Minister Theresa May triggered Article 50 this week, officially kicking off the process for the U.K. to exit the European Union in 2019. People turned to search to ask “What does Brexit mean for Britain?” and “How does Brexit affect the EU?” They’re also curious about how it will affect financial markets: “Brexit stocks” is the top trending related search to “stocks” worldwide in the past week.

A twist ending?

The Academy of Motion Picture Arts and Sciences confirmed that accounting firm PricewaterhouseCoopers will continue to work for the Oscars next year, putting an end to queries like "Did the Oscars fire Pwc?" and "Will the Oscars retain PwC?" But after this year’s Best Picture envelope mix-up, which was blamed on a employee distracted by his phone, PwC's accountants will have to stash their devices next time. Apparently when it comes to the movies, simply silencing your cell phones is no longer sufficient.

April the Giraffe

People across the internet are craning their necks to find out more about April the Giraffe, who’s awaiting the birth of her new baby calf at the Animal Adventure Park in upstate New York. The zoo launched a live stream for people to tune in to the birth way back in February. But yesterday, they announced that the “calf countdown” had begun. The timing—and the mama-to-be’s name—has some people skeptical: Top queries include “Is April the Giraffe an April Fool’s joke?” and “Is April the Giraffe a hoax?”

april the giraffe

But seriously...

Only time will tell if April the Giraffe is having the longest labor in documented giraffe history or pulling your leg. But if the spike in searches are any indication, you should prepare to be pranked by someone out there this April Fools’ Day. Not by us, though. We’d never do that.

The High Five: all eyes on April

When your week feels like it will never end, just imagine how it feels to be a pregnant giraffe. Here’s a look at five of the top trending Google searches from the week of March 27.

The Raiders’ big bet

It’s official—the Raiders are moving to Las Vegas. This week, the Oakland franchise announced that they’ll be taking their talents to Sin City. Though the move won’t take place until 2020, people are already searching for season tickets. Still, questions remain—like what are the odds the team will get to keep their name?

We hardly knew EU

Raider fans aren’t the only nation facing change. British Prime Minister Theresa May triggered Article 50 this week, officially kicking off the process for the U.K. to exit the European Union in 2019. People turned to search to ask “What does Brexit mean for Britain?” and “How does Brexit affect the EU?” They’re also curious about how it will affect financial markets: “Brexit stocks” is the top trending related search to “stocks” worldwide in the past week.

A twist ending?

The Academy of Motion Picture Arts and Sciences confirmed that accounting firm PricewaterhouseCoopers will continue to work for the Oscars next year, putting an end to queries like "Did the Oscars fire Pwc?" and "Will the Oscars retain PwC?" But after this year’s Best Picture envelope mix-up, which was blamed on a employee distracted by his phone, PwC's accountants will have to stash their devices next time. Apparently when it comes to the movies, simply silencing your cell phones is no longer sufficient.

April the Giraffe

People across the internet are craning their necks to find out more about April the Giraffe, who’s awaiting the birth of her new baby calf at the Animal Adventure Park in upstate New York. The zoo launched a live stream for people to tune in to the birth way back in February. But yesterday, they announced that the “calf countdown” had begun. The timing—and the mama-to-be’s name—has some people skeptical: Top queries include “Is April the Giraffe an April Fool’s joke?” and “Is April the Giraffe a hoax?”

april the giraffe

But seriously...

Only time will tell if April the Giraffe is having the longest labor in documented giraffe history or pulling your leg. But if the spike in searches are any indication, you should prepare to be pranked by someone out there this April Fools’ Day. Not by us, though. We’d never do that.

No more time to noodle: meet the winner of the Doodle 4 Google competition!

Doodles were drawn. Votes were tallied. And now, the time has finally come to announce the winner of this year’s Doodle 4 Google contest. With a theme as limitless as “What I see for the future…”, we knew the artwork would be out of this world—and with all the Doodles set in space, we were not disappointed! This year’s talented artists dreamed of almost everything— from a future with modernized homes and no endangered animals, to one filled with compassion, community and inventions we hadn’t even imagined yet.. Today, millions of people can enjoy the winning masterpiece, which now hangs on the Google homepage.

The winner of the 2017 Doodle 4 Google contest is Sarah Harrison from Connecticut, who sees “a peaceful future” in the years ahead. In this splendid, visionary piece, she drew a group of people from different backgrounds coming together to create one harmonious community. Here’s how she explains her art: “My future is a world where we can all learn to love each other despite our religion, gender, race, ethnicity, or sexuality. I dream of a future where everyone is safe and accepted wherever they go, whoever they are.”

CT_BunnellHighSchool_1200px.jpg

An all-star group of judges—including our very own Google Doodlers— helped us select Sarah as our winner. In addition to her art being showcased on the Google homepage, Sarah will receive $30,000 toward a college scholarship, and the opportunity to meet with the Doodle team at the Googleplex in Mountain View. As an added bonus: Bunnell High School (Sarah’s home school) will receive $50,000 to spend ontechnology to help foster the next generation of STEM professionals (and who knows, maybe future Googlers, too!).

We also want to celebrate the  four age-group finalists, who also submitted stellar artwork that both awed and inspired us. This group focused on diverse communities, ancient animals, new energy sources, and solutions to help minimize electronic waste. All of our age-group finalists will receive a $5,000 college scholarship to help them continue their education, a trip to the Googleplex in Mountain View to meet a few of our Doodlers, and a Chromebook to help fuel their burgeoning creativity.

From all of us at Google, thank you for Doodling with us, for sharing your dreams, and for helping us take a step into the future.

Source: Search


No more time to noodle: meet the winner of the Doodle 4 Google competition!

Doodles were drawn. Votes were tallied. And now, the time has finally come to announce the winner of this year’s Doodle 4 Google contest. With a theme as limitless as “What I see for the future…”, we knew the artwork would be out of this world—and with all the Doodles set in space, we were not disappointed! This year’s talented artists dreamed of almost everything— from a future with modernized homes and no endangered animals, to one filled with compassion, community and inventions we hadn’t even imagined yet.. Today, millions of people can enjoy the winning masterpiece, which now hangs on the Google homepage.

The winner of the 2017 Doodle 4 Google contest is Sarah Harrison from Connecticut, who sees “a peaceful future” in the years ahead. In this splendid, visionary piece, she drew a group of people from different backgrounds coming together to create one harmonious community. Here’s how she explains her art: “My future is a world where we can all learn to love each other despite our religion, gender, race, ethnicity, or sexuality. I dream of a future where everyone is safe and accepted wherever they go, whoever they are.”

CT_BunnellHighSchool_1200px.jpg

An all-star group of judges—including our very own Google Doodlers— helped us select Sarah as our winner. In addition to her art being showcased on the Google homepage, Sarah will receive $30,000 toward a college scholarship, and the opportunity to meet with the Doodle team at the Googleplex in Mountain View. As an added bonus: Bunnell High School (Sarah’s home school) will receive $50,000 to spend ontechnology to help foster the next generation of STEM professionals (and who knows, maybe future Googlers, too!).

We also want to celebrate the  four age-group finalists, who also submitted stellar artwork that both awed and inspired us. This group focused on diverse communities, ancient animals, new energy sources, and solutions to help minimize electronic waste. All of our age-group finalists will receive a $5,000 college scholarship to help them continue their education, a trip to the Googleplex in Mountain View to meet a few of our Doodlers, and a Chromebook to help fuel their burgeoning creativity.

From all of us at Google, thank you for Doodling with us, for sharing your dreams, and for helping us take a step into the future.

No more time to noodle: meet the winner of the Doodle 4 Google competition!

Doodles were drawn. Votes were tallied. And now, the time has finally come to announce the winner of this year’s Doodle 4 Google contest. With a theme as limitless as “What I see for the future…”, we knew the artwork would be out of this world—and with all the Doodles set in space, we were not disappointed! This year’s talented artists dreamed of almost everything— from a future with modernized homes and no endangered animals, to one filled with compassion, community and inventions we hadn’t even imagined yet.. Today, millions of people can enjoy the winning masterpiece, which now hangs on the Google homepage.

The winner of the 2017 Doodle 4 Google contest is Sarah Harrison from Connecticut, who sees “a peaceful future” in the years ahead. In this splendid, visionary piece, she drew a group of people from different backgrounds coming together to create one harmonious community. Here’s how she explains her art: “My future is a world where we can all learn to love each other despite our religion, gender, race, ethnicity, or sexuality. I dream of a future where everyone is safe and accepted wherever they go, whoever they are.”

CT_BunnellHighSchool_1200px.jpg

An all-star group of judges—including our very own Google Doodlers— helped us select Sarah as our winner. In addition to her art being showcased on the Google homepage, Sarah will receive $30,000 toward a college scholarship, and the opportunity to meet with the Doodle team at the Googleplex in Mountain View. As an added bonus: Bunnell High School (Sarah’s home school) will receive $50,000 to spend ontechnology to help foster the next generation of STEM professionals (and who knows, maybe future Googlers, too!).

We also want to celebrate the  four age-group finalists, who also submitted stellar artwork that both awed and inspired us. This group focused on diverse communities, ancient animals, new energy sources, and solutions to help minimize electronic waste. All of our age-group finalists will receive a $5,000 college scholarship to help them continue their education, a trip to the Googleplex in Mountain View to meet a few of our Doodlers, and a Chromebook to help fuel their burgeoning creativity.

From all of us at Google, thank you for Doodling with us, for sharing your dreams, and for helping us take a step into the future.

Google hosts the Apache HBase community at HBaseCon West 2017

We’re excited to announce that Google will host and organize HBaseCon West 2017, the official conference for the Apache HBase community on June 12. Registration for the event in Mountain View, CA is free and the call for papers (CFP) is open through April 24. Seats are limited and the CFP closes soon, so act fast.


Apache HBase is the original open source implementation of the design concepts behind Bigtable, a critical piece of internal Google data infrastructure which was first described in a 2006 research paper and earned a SIGOPS Hall of Fame award last year. Since the founding of HBase, its community has made impressive advances supporting massive scale with enterprise users including Alibaba, Apple, Facebook, and Visa. The community is fostering a rich and still-growing ecosystem including Apache Phoenix, OpenTSDB, Apache Trafodion, Apache Kylin and many others.

Now that Bigtable is available to Google Cloud users through Google Cloud Bigtable, developers have the benefit of platform choices for apps that rely on high-volume and low-latency reads and writes. Without the ability to build portable applications on open APIs,  however, even that freedom of choice can lead to a dead end  something Google addresses through its investment in open standards like Apache Beam, Kubernetes and TensorFlow.

To that end, Google’s Bigtable team has been actively participating in the HBase community. We’ve helped co-author the HBase 1.0 API and have standardized on that API in Cloud Bigtable. This design choice means developers with HBase experience don’t need to learn a new API for building cloud-native applications, ensures Cloud Bigtable users have access to the large Apache Hadoop ecosystem and alleviates concerns about long-term lock-in.

We hope you’ll join us and the HBase community at HBaseCon West 2017. We recommend registering early as there is no registration available on site. As usual, sessions are selected by the HBase community from a pool reflecting some of the world’s largest and most advanced production deployments.

Register soon or submit a paper for HBaseCon  remember, the CFP closes on April 24! We look forward to seeing you at the conference.

By Carter Page and Michael Stack, Apache HBase Project Management Committee members

The She Word: Sapna Kalmadi, traveler, photographer and “Google Consultant”

In honor of Women’s History Month, we’re celebrating the powerful, dynamic and creative women of Google. Like generations before them, these women break down barriers and defy expectations at work and in their communities. Over the course of the month, we’ll help you get to know a few of these Google women, and share a bit about who they are and why they inspire us.

Today, we’re speaking with Sapna Kalmadi, a Senior Analytical Lead in our Mumbai office, known for her “take no prisoners” attitude when playing table tennis and “leave no chocolate” attitude when eating desserts.

Sapna Kalmadi 2

How do you explain your job at a dinner party?

I act as a “Google consultant” for businesses in India and help large clients connect with their consumers using Google solutions. Ad revenue is what helps drive the cool things that Google is best known for, including Search, YouTube and self-driving cars.

Why are you proud to be a woman at Google?

I'm proud to be a woman at Google because of the amazing people I work with every day.. I’ve worked at Google for five years, and I have learned something from every single Googler I’ve met.

I love the fact that diversity and inclusion at Google is not just an individual or HR initiative but rather there are employee resource groups like [email protected], which actively works to connect and develop the women who work here. Thanks to [email protected], I’ve had the opportunity to attend talks with women entrepreneurs and authors, have inclusion discussions with senior leaders and network with other women in tech.

If you could ask one woman from history a question … who would it be and what would you ask?

I would ask Mother Teresa about the key influences in her life and what drove her to devote her life to selfless service.

What advice would you give to women starting out in their careers?

Take on as many challenging, diverse opportunities as you can. Work in multicultural offices and interact with as many people as you can. Invest in self development so that you can keep learning and growing!

How do you spend most of your time outside of work?

I am an avid traveler and photographer. One of my personal goals is to travel to 30 countries by the time I’m 30—29 down, one to go. Travel and photography go hand in hand, and taking photos while I’m traveling gives me so much joy. One of my travel photographs even got featured in "Lonely Planet!"
Lonely Planet picture
Sapna’s photograph in a "Lonely Planet" magazine

Who is your favorite fictional heroine?

Hermione Granger. Growing up, I loved the “Harry Potter” series. Hermione is not only an academic genius—she’s a courageous friend who proves herself in the most treacherous of situations. Never the damsel in distress, she’s always coming up with a way to save the day. I really liked the way her character progresses as she grows up—she starts out as the ever-too-keen student and grows into an intelligent young lady who helps overcome the final challenge.

What is your life motto?

I get my life motto from my family: “Que sera sera,” which means “whatever will be, will be.”