techdocs: Use googleGcs for publisher type instead of google_gcs

This commit is contained in:
Himanshu Mishra
2020-12-09 18:58:12 +01:00
parent 9d08ef8f46
commit 24bcdd0829
11 changed files with 61 additions and 49 deletions
+31 -19
View File
@@ -85,32 +85,44 @@
"visibility": "frontend"
},
"publisher": {
"type": "object",
"properties": {
"type": {
"type": "string",
"visibility": "backend"
},
"google": {
"oneOf": [
{
"type": "object",
"properties": {
"pathToKey": {
"type": {
"type": "string",
"visibility": "secret"
"const": "local",
"visibility": "backend"
}
}
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "googleGcs",
"visibility": "backend"
},
"projectId": {
"type": "string",
"visibility": "secret"
},
"bucketName": {
"type": "string",
"visibility": "secret"
"googleGcs": {
"type": "object",
"properties": {
"pathToKey": {
"type": "string",
"visibility": "secret"
},
"projectId": {
"type": "string",
"visibility": "secret"
},
"bucketName": {
"type": "string",
"visibility": "secret"
}
}
}
}
}
},
"required": [
"type"
]
}
},