1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleWorkspace/GetServiceAccountToken.txt

9 lines
369 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 Data = FunctionParameters["Google_ServiceData"]; // URL, binary Data, file or collection
2025-05-08 20:10:14 +03:00
Scope = New Array;
Scope.Add("https://www.googleapis.com/auth/calendar");
Scope.Add("https://www.googleapis.com/auth/drive");
Scope.Add("https://www.googleapis.com/auth/spreadsheets");
Result = OPI_GoogleWorkspace.GetServiceAccountToken(Data, Scope);