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.
 
 
 

51 lines
1.3 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 key with ArrayRemove is removed from the data in the update operation. Instead
  4. # it appears in a separate Transform operation.
  5. description: "update: ArrayRemove with data"
  6. update: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. json_data: "{\"a\": 1, \"b\": [\"ArrayRemove\", 1, 2, 3]}"
  9. request: <
  10. database: "projects/projectID/databases/(default)"
  11. writes: <
  12. update: <
  13. name: "projects/projectID/databases/(default)/documents/C/d"
  14. fields: <
  15. key: "a"
  16. value: <
  17. integer_value: 1
  18. >
  19. >
  20. >
  21. update_mask: <
  22. field_paths: "a"
  23. >
  24. current_document: <
  25. exists: true
  26. >
  27. >
  28. writes: <
  29. transform: <
  30. document: "projects/projectID/databases/(default)/documents/C/d"
  31. field_transforms: <
  32. field_path: "b"
  33. remove_all_from_array: <
  34. values: <
  35. integer_value: 1
  36. >
  37. values: <
  38. integer_value: 2
  39. >
  40. values: <
  41. integer_value: 3
  42. >
  43. >
  44. >
  45. >
  46. >
  47. >
  48. >