Created
February 6, 2019 20:29
-
-
Save tseaver/edf79a246de4c46dd3d99d2d35596234 to your computer and use it in GitHub Desktop.
textprot conformance test case for g-c-python #7125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: "update: nested ServerTimestamp field via dotted names" | |
update: < | |
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d" | |
json_data: "{\"a.b\": 1, \"a.c\": \"ServerTimestamp\"}" | |
request: < | |
database: "projects/projectID/databases/(default)" | |
writes: < | |
update: < | |
name: "projects/projectID/databases/(default)/documents/C/d" | |
fields: < | |
key: "a" | |
value: < | |
map_value { | |
fields: { | |
key: "b" | |
value: { | |
integer_value: 1 | |
} | |
} | |
} | |
> | |
> | |
> | |
update_mask: < | |
field_paths: "a.b" | |
field_paths: "a" | |
> | |
current_document: < | |
exists: true | |
> | |
> | |
writes: < | |
transform: < | |
document: "projects/projectID/databases/(default)/documents/C/d" | |
field_transforms: < | |
field_path: "a.c" | |
set_to_server_value: REQUEST_TIME | |
> | |
> | |
> | |
> | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment