| { |
| "tests": [ |
| { |
| "description": "update: basic", |
| "comment": "A simple call, resulting in a single update operation.", |
| "update": { |
| "docRefPath": "projects/projectID/databases/(default)/documents/C/d", |
| "jsonData": "{\"a\": 1}", |
| "request": { |
| "database": "projects/projectID/databases/(default)", |
| "writes": [ |
| { |
| "update": { |
| "name": "projects/projectID/databases/(default)/documents/C/d", |
| "fields": { |
| "a": { |
| "integerValue": "1" |
| } |
| } |
| }, |
| "updateMask": { |
| "fieldPaths": [ |
| "a" |
| ] |
| }, |
| "currentDocument": { |
| "exists": true |
| } |
| } |
| ] |
| } |
| } |
| } |
| ] |
| } |