blob: 975200f973633591fdb3b4fc686834e53bb1aa9f [file] [log] [blame]
# 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 DocumentRemove response behaves exactly like DocumentDelete.
description: "listen: DocumentRemove behaves like DocumentDelete"
listen: <
responses: <
document_change: <
document: <
name: "projects/projectID/databases/(default)/documents/C/d1"
fields: <
key: "a"
value: <
integer_value: 3
>
>
create_time: <
seconds: 1
>
update_time: <
seconds: 1
>
>
target_ids: 1
>
>
responses: <
target_change: <
target_change_type: CURRENT
>
>
responses: <
target_change: <
read_time: <
seconds: 1
>
>
>
responses: <
document_remove: <
document: "projects/projectID/databases/(default)/documents/C/d1"
>
>
responses: <
target_change: <
read_time: <
seconds: 2
>
>
>
snapshots: <
docs: <
name: "projects/projectID/databases/(default)/documents/C/d1"
fields: <
key: "a"
value: <
integer_value: 3
>
>
create_time: <
seconds: 1
>
update_time: <
seconds: 1
>
>
changes: <
kind: ADDED
doc: <
name: "projects/projectID/databases/(default)/documents/C/d1"
fields: <
key: "a"
value: <
integer_value: 3
>
>
create_time: <
seconds: 1
>
update_time: <
seconds: 1
>
>
old_index: -1
>
read_time: <
seconds: 1
>
>
snapshots: <
changes: <
kind: REMOVED
doc: <
name: "projects/projectID/databases/(default)/documents/C/d1"
fields: <
key: "a"
value: <
integer_value: 3
>
>
create_time: <
seconds: 1
>
update_time: <
seconds: 1
>
>
new_index: -1
>
read_time: <
seconds: 2
>
>
>