You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
800 B

  1. # DO NOT MODIFY. This file was generated by
  2. # github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
  3. # Fields in the input data but not in a merge option are pruned.
  4. description: "set-merge: Merge with a field"
  5. set: <
  6. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  7. option: <
  8. fields: <
  9. field: "a"
  10. >
  11. >
  12. json_data: "{\"a\": 1, \"b\": 2}"
  13. request: <
  14. database: "projects/projectID/databases/(default)"
  15. writes: <
  16. update: <
  17. name: "projects/projectID/databases/(default)/documents/C/d"
  18. fields: <
  19. key: "a"
  20. value: <
  21. integer_value: 1
  22. >
  23. >
  24. >
  25. update_mask: <
  26. field_paths: "a"
  27. >
  28. >
  29. >
  30. >