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.
 
 
 

37 lines
1007 B

  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. # If the only values in the input are ArrayRemove, then no update operation should
  4. # be produced.
  5. description: "update: ArrayRemove alone"
  6. update: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. json_data: "{\"a\": [\"ArrayRemove\", 1, 2, 3]}"
  9. request: <
  10. database: "projects/projectID/databases/(default)"
  11. writes: <
  12. transform: <
  13. document: "projects/projectID/databases/(default)/documents/C/d"
  14. field_transforms: <
  15. field_path: "a"
  16. remove_all_from_array: <
  17. values: <
  18. integer_value: 1
  19. >
  20. values: <
  21. integer_value: 2
  22. >
  23. values: <
  24. integer_value: 3
  25. >
  26. >
  27. >
  28. >
  29. current_document: <
  30. exists: true
  31. >
  32. >
  33. >
  34. >