1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-28 09:08:38 +02:00
OpenIntegrations/docs/en/examples/GoogleDrive/UpdateFile.txt

7 lines
452 B
Plaintext
Raw Normal View History

2024-10-15 08:53:37 +02:00
 Token = "ya29.a0AcM612wD1Uh1izWoUeXoBTM33TS6PlaGZFI6xXeGHeWT2_ZZZ0UbpJzbIurRFIjYKBnh4ZJ0HEgC9HNppTpTV6hgI7ZOwZO6J5KZlEbzH...";
2024-09-28 18:38:00 +02:00
NewName = "UpdatedFile.jpg";
2024-10-15 08:53:37 +02:00
Identifier = "17pGWmj6IhPQB-wRJS3QOzqfqGghLRUGH";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary Data or Path to file
2024-09-28 18:38:00 +02:00
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);