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.
 
 
 

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