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.
 
 
 

59 lines
1.5 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 call to a write method with complicated input data.
  4. description: "set: complex"
  5. set: <
  6. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  7. json_data: "{\"a\": [1, 2.5], \"b\": {\"c\": [\"three\", {\"d\": true}]}}"
  8. request: <
  9. database: "projects/projectID/databases/(default)"
  10. writes: <
  11. update: <
  12. name: "projects/projectID/databases/(default)/documents/C/d"
  13. fields: <
  14. key: "a"
  15. value: <
  16. array_value: <
  17. values: <
  18. integer_value: 1
  19. >
  20. values: <
  21. double_value: 2.5
  22. >
  23. >
  24. >
  25. >
  26. fields: <
  27. key: "b"
  28. value: <
  29. map_value: <
  30. fields: <
  31. key: "c"
  32. value: <
  33. array_value: <
  34. values: <
  35. string_value: "three"
  36. >
  37. values: <
  38. map_value: <
  39. fields: <
  40. key: "d"
  41. value: <
  42. boolean_value: true
  43. >
  44. >
  45. >
  46. >
  47. >
  48. >
  49. >
  50. >
  51. >
  52. >
  53. >
  54. >
  55. >
  56. >