| # DO NOT MODIFY. This file was generated by |
| # github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go. |
| |
| # A TargetChange_ADD response must have the same watch target ID. |
| |
| description: "listen: TargetChange_ADD is an error if it has a different target ID" |
| 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: < |
| target_change_type: ADD |
| target_ids: 2 |
| read_time: < |
| seconds: 2 |
| > |
| > |
| > |
| responses: < |
| target_change: < |
| read_time: < |
| seconds: 1 |
| > |
| > |
| > |
| is_error: true |
| > |