hdx/vendor/cloud.google.com/go/firestore/testdata/update-paths-fp-multi.textproto

43 lines
1.1 KiB
Plaintext
Raw Normal View History

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# The UpdatePaths or equivalent method takes a list of FieldPaths. Each FieldPath
# is a sequence of uninterpreted path components.
description: "update-paths: multiple-element field path"
update_paths: <
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
field_paths: <
field: "a"
field: "b"
>
json_values: "1"
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"
>
current_document: <
exists: true
>
>
>
>