Using field masks with update requests to Google APIs
In this conclusion of our two-part series on field masks, engineer Wesley Chun shows viewers how to use field masks with update API requests. In the previous episode, you learned that when reading data from an API, field masks can be used as a “partial response” mechanism to control the amount of data that comes back in the response payload. For update requests, field masks have a different responsibility: to tell the API exactly which fields should be set (and perhaps which should be reset). We’ll conclude with tips to remember when using field masks for either API request type, including a double example where field masks not only designate values to update but also control the data returned in the API response. Also featured are JavaScript & Python code snippets for using field masks with the Google Sheets & Slides APIs.
Related links for this episode:
Blog post -
Updating spreadsheets field masks guide -
Field masks and Protocol Buffers documentation page -
Slides API field mask guide (READ+WRITE) -
“Setting up new Google API projects” DevByte video -
Google Developers Console -
Google APIs Client Libraries -
“Common Python code walkthrough” DevByte video -
G Suite Dev Show video series playlist -
Launchpad Online developer video series -
Google Developers YouTube channel -
Related links for this episode:
Blog post -
Updating spreadsheets field masks guide -
Field masks and Protocol Buffers documentation page -
Slides API field mask guide (READ+WRITE) -
“Setting up new Google API projects” DevByte video -
Google Developers Console -
Google APIs Client Libraries -
“Common Python code walkthrough” DevByte video -
G Suite Dev Show video series playlist -
Launchpad Online developer video series -
Google Developers YouTube channel -
Rcreviews.lt is not the owner of this text/video/image/photo content, the real source of content is Youtube.com and user declared in this page publication as Youtube.com user,
if you have any question about video removal, what was shared by open community, please contact Youtube.com directly or report bad/not working video links directly to video owner on Youtube.com. Removed video from Youtube.com will also be removed from here.
Watch more videos
-
#Shorts massive servo wire attack
About 200 packs and 1000 servo leads in free fall For many many many planes to build! #shorts ... -
DeathStroke BambuLab X1C #Shorts
#shorts DeathStoke wearable mask made with BambuLab X1C #3dprinting -
HEE Wing F-01 Ultra Delta Wing 690mm - upgraded Mini AR Wing? Diatone Reaper 690
Heee Wiiiinggggg - an 690mm triangle wing, with big battery bay, and up to 220 km/h speeds! Easy...

Advertising