尝试使用功能setConditionalFormatRules()将形成的规则设置到单元格。已经为工作表以及清单文件提供了以下代码的权限:
{
"oauthScopes": [
"https://www.googleapis.com/auth/spreadsheets.currentonly",
"https://www.googleapis.com/auth/spreadsheets"
],
"timeZone": "Europe/Berlin",
"dependencies": {
},
"exceptionLogging": "STACKDRIVER"
}