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.
 
 
 

48 lines
1.1 KiB

  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. # If one nested field is deleted, and another isn't, preserve the second.
  4. description: "update-paths: field paths with delete"
  5. update_paths: <
  6. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  7. field_paths: <
  8. field: "foo"
  9. field: "bar"
  10. >
  11. field_paths: <
  12. field: "foo"
  13. field: "delete"
  14. >
  15. json_values: "1"
  16. json_values: "\"Delete\""
  17. request: <
  18. database: "projects/projectID/databases/(default)"
  19. writes: <
  20. update: <
  21. name: "projects/projectID/databases/(default)/documents/C/d"
  22. fields: <
  23. key: "foo"
  24. value: <
  25. map_value: <
  26. fields: <
  27. key: "bar"
  28. value: <
  29. integer_value: 1
  30. >
  31. >
  32. >
  33. >
  34. >
  35. >
  36. update_mask: <
  37. field_paths: "foo.bar"
  38. field_paths: "foo.delete"
  39. >
  40. current_document: <
  41. exists: true
  42. >
  43. >
  44. >
  45. >