48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
# DO NOT MODIFY. This file was generated by
|
|
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
|
|
|
|
# If one nested field is deleted, and another isn't, preserve the second.
|
|
|
|
description: "update-paths: field paths with delete"
|
|
update_paths: <
|
|
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
|
|
field_paths: <
|
|
field: "foo"
|
|
field: "bar"
|
|
>
|
|
field_paths: <
|
|
field: "foo"
|
|
field: "delete"
|
|
>
|
|
json_values: "1"
|
|
json_values: "\"Delete\""
|
|
request: <
|
|
database: "projects/projectID/databases/(default)"
|
|
writes: <
|
|
update: <
|
|
name: "projects/projectID/databases/(default)/documents/C/d"
|
|
fields: <
|
|
key: "foo"
|
|
value: <
|
|
map_value: <
|
|
fields: <
|
|
key: "bar"
|
|
value: <
|
|
integer_value: 1
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
update_mask: <
|
|
field_paths: "foo.bar"
|
|
field_paths: "foo.delete"
|
|
>
|
|
current_document: <
|
|
exists: true
|
|
>
|
|
>
|
|
>
|
|
>
|