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.
 
 
 

73 lines
1.7 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: "update-paths: complex"
  5. update_paths: <
  6. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  7. field_paths: <
  8. field: "a"
  9. >
  10. field_paths: <
  11. field: "b"
  12. >
  13. json_values: "[1, 2.5]"
  14. json_values: "{\"c\": [\"three\", {\"d\": true}]}"
  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: "a"
  22. value: <
  23. array_value: <
  24. values: <
  25. integer_value: 1
  26. >
  27. values: <
  28. double_value: 2.5
  29. >
  30. >
  31. >
  32. >
  33. fields: <
  34. key: "b"
  35. value: <
  36. map_value: <
  37. fields: <
  38. key: "c"
  39. value: <
  40. array_value: <
  41. values: <
  42. string_value: "three"
  43. >
  44. values: <
  45. map_value: <
  46. fields: <
  47. key: "d"
  48. value: <
  49. boolean_value: true
  50. >
  51. >
  52. >
  53. >
  54. >
  55. >
  56. >
  57. >
  58. >
  59. >
  60. >
  61. update_mask: <
  62. field_paths: "a"
  63. field_paths: "b"
  64. >
  65. current_document: <
  66. exists: true
  67. >
  68. >
  69. >
  70. >