Published on March 31, 2017 by Google

When working with Google APIs, developers will likely come across the concept of “field masks” to reduce the amount of data returned in the response payload from an API. Knowing what field masks are and how to use them is a skill all Google Developers should have. In this first of a 2-part video series, engineer Wesley Chun shows viewers how to use field masks for “partial response” and why you should consider doing so. Featured are JavaScript & Python code snippets using various (Google Drive, Sheets, Gmail) APIs to demonstrate how to use field masks! In part 2, you’ll learn about using field masks in update API requests as well as some general tips on using field masks.

“Updating your signature with the Gmail API” DevByte video: goo.gl/GbAOvb

Partial response with the Gmail API: goo.gl/1wsBeH

“Listing your files in Google Drive” DevByte video: goo.gl/ZIgf8k

Partial response with the Google Drive API: goo.gl/Ko3QRh

Partial response with the Google Sheets API: goo.gl/COVWPO

Performance & partial response (READ): goo.gl/bAUcdI

Slides API field mask guide (READ+WRITE): goo.gl/IZ5mva

“Setting up new Google API projects” DevByte video: goo.gl/RbyTFD

Google Developers Console: console.developers.google.com

Google APIs Client Libraries: goo.gl/xXCn0K

“Common Python code walkthrough” DevByte video: goo.gl/KMfbeK

G Suite Dev Show video series playlist: goo.gl/JpBQ40

Launchpad Online developer video series: goo.gl/kFMUa6

Subscribe to the Google Developers YouTube channel: goo.gl/mQyv5L

Leave a Reply

6 Comments on "Using field masks with Google APIs for partial response (The G Suite Developer Show)"

Notify of
avatar

Omer Niah
Guest
Omer Niah
4 months 15 days ago

seriously the badest April fool joke ever…are you seriously trying to fool Developers with this?

Rahul Khandelwal
Guest
Rahul Khandelwal
4 months 16 days ago

seriously, every year !!!

Atul
Guest
Atul
4 months 16 days ago

is this april fool

Äkwav ÄKWAV
Guest
Äkwav ÄKWAV
4 months 16 days ago

Atul perhaps 🤔

Igor Gabrielan
Guest
Igor Gabrielan
4 months 16 days ago

I sell a domain name apis.aiai = Artificial Intelligence

Gergo Viczian
Guest
Gergo Viczian
4 months 16 days ago

0:45 So you say it's confusing to women?

wpDiscuz