Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

60 linhas
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. # An ArrayRemove value can occur at any depth. In this case, the transform applies
  4. # to the field path "b.c". Since "c" is removed from the update, "b" becomes
  5. # empty, so it is also removed from the update.
  6. description: "update-paths: nested ArrayRemove field"
  7. update_paths: <
  8. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  9. field_paths: <
  10. field: "a"
  11. >
  12. field_paths: <
  13. field: "b"
  14. >
  15. json_values: "1"
  16. json_values: "{\"c\": [\"ArrayRemove\", 1, 2, 3]}"
  17. request: <
  18. database: "projects/projectID/databases/(default)"
  19. writes: <
  20. update: <
  21. name: "projects/projectID/databases/(default)/documents/C/d"
  22. fields: <
  23. key: "a"
  24. value: <
  25. integer_value: 1
  26. >
  27. >
  28. >
  29. update_mask: <
  30. field_paths: "a"
  31. field_paths: "b"
  32. >
  33. current_document: <
  34. exists: true
  35. >
  36. >
  37. writes: <
  38. transform: <
  39. document: "projects/projectID/databases/(default)/documents/C/d"
  40. field_transforms: <
  41. field_path: "b.c"
  42. remove_all_from_array: <
  43. values: <
  44. integer_value: 1
  45. >
  46. values: <
  47. integer_value: 2
  48. >
  49. values: <
  50. integer_value: 3
  51. >
  52. >
  53. >
  54. >
  55. >
  56. >
  57. >