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.
 
 
 

42 lines
1.0 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. # A merge option where the field is not at top level. Only fields mentioned in the
  4. # option are present in the update operation.
  5. description: "set-merge: Merge with a nested field"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. option: <
  9. fields: <
  10. field: "h"
  11. field: "g"
  12. >
  13. >
  14. json_data: "{\"h\": {\"g\": 4, \"f\": 5}}"
  15. request: <
  16. database: "projects/projectID/databases/(default)"
  17. writes: <
  18. update: <
  19. name: "projects/projectID/databases/(default)/documents/C/d"
  20. fields: <
  21. key: "h"
  22. value: <
  23. map_value: <
  24. fields: <
  25. key: "g"
  26. value: <
  27. integer_value: 4
  28. >
  29. >
  30. >
  31. >
  32. >
  33. >
  34. update_mask: <
  35. field_paths: "h.g"
  36. >
  37. >
  38. >
  39. >