This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
google_api.json
executable file
·48 lines (48 loc) · 1.67 KB
/
google_api.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"setup":{
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC"
},
"tasks":[
{ "dataset":{
"auth":"service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"Test_Google_API_", "default": "Manual"}},
"clear":true
}},
{ "google_api":{
"auth":"user",
"api":"gmail",
"version":"v1",
"function":"users.getProfile",
"kwargs":{
"userId":"me"
},
"iterate":false,
"results": {
"bigquery":{
"auth": "service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"Test_Google_API_", "default": "Manual"}},
"table":"User_Profile"
}
}
}},
{ "test": {
"auth":"service",
"bigquery":{
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"Test_Google_API_", "default": "Manual"}},
"table":"User_Profile",
"schema": [
{"mode": "NULLABLE", "name": "emailAddress", "type": "STRING"},
{"mode": "NULLABLE", "name": "messagesTotal", "type": "INTEGER"},
{"mode": "NULLABLE", "name": "threadsTotal", "type": "INTEGER"},
{"mode": "NULLABLE", "name": "historyId", "type": "INTEGER"}
]
}
}},
{ "dataset":{
"auth":"service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"Test_Google_API_", "default": "Manual"}},
"delete":true
}}
]
}