-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gs
50 lines (44 loc) · 1.17 KB
/
config.gs
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
49
50
class Config {
// -- Premium Water ----------------------
/**
* ログインID
*/
static get PW_USER_NAME() {
return ScriptProperties.getProperty("PW_USER_NAME");
}
/**
* パスワード
*/
static get PW_PASSWORD() {
return ScriptProperties.getProperty("PW_PASSWORD");
}
// -- TimeTree ----------------------
/**
* Time Tree 連携の有効フラグ(ON: 有効, それ以外: 無効)
*/
static get TT_ENABLE_FLAG() {
return ScriptProperties.getProperty("TT_ENABLE_FLAG");
}
/**
* Personal Access Tokens
* スコープ: カレンダー(読み取り), 予定(書き込み)
* https://timetreeapp.com/developers/personal_access_tokens
*/
static get TT_ACCESS_TOKEN() {
return ScriptProperties.getProperty("TT_ACCESS_TOKEN");
}
/**
* カレンダーID
* https://developers.timetreeapp.com/ja/docs/api/calendar-app#get-a-calendar
*/
static get TT_CALENDAR_ID() {
return ScriptProperties.getProperty("TT_CALENDAR_ID");
}
/**
* ラベルID
* "カレンダーID," の後ろに続く番号(1~9)
*/
static get TT_LABEL_ID() {
return ScriptProperties.getProperty("TT_LABEL_ID");
}
}