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.
 
 
 

46 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. # MergeAll with nested fields results in an update mask that includes entries for
  4. # all the leaf fields.
  5. description: "set: MergeAll with nested fields"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. option: <
  9. all: true
  10. >
  11. json_data: "{\"h\": { \"g\": 3, \"f\": 4 }}"
  12. request: <
  13. database: "projects/projectID/databases/(default)"
  14. writes: <
  15. update: <
  16. name: "projects/projectID/databases/(default)/documents/C/d"
  17. fields: <
  18. key: "h"
  19. value: <
  20. map_value: <
  21. fields: <
  22. key: "f"
  23. value: <
  24. integer_value: 4
  25. >
  26. >
  27. fields: <
  28. key: "g"
  29. value: <
  30. integer_value: 3
  31. >
  32. >
  33. >
  34. >
  35. >
  36. >
  37. update_mask: <
  38. field_paths: "h.f"
  39. field_paths: "h.g"
  40. >
  41. >
  42. >
  43. >