Loading...

Using field masks with update requests to Google APIs (The G Suite Dev Show)

7,015 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 20, 2017

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 - http://goo.gl/9kmAEf
Updating spreadsheets field masks guide - https://goo.gl/Bq0UHZ
Field masks and Protocol Buffers documentation page - https://goo.gl/UbxDtf
Slides API field mask guide (READ+WRITE) - https://goo.gl/0BZsa4
“Setting up new Google API projects” DevByte video - http://goo.gl/RbyTFD
Google Developers Console - http://console.developers.google.com
Google APIs Client Libraries - https://goo.gl/j6szES
“Common Python code walkthrough” DevByte video - http://goo.gl/KMfbeK
G Suite Dev Show video series playlist - http://goo.gl/JpBQ40
Launchpad Online developer video series - http://goo.gl/kFMUa6
Google Developers YouTube channel - http://goo.gl/mQyv5L

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...