Bump version to 1.0.9; update JSON schemas; add new APIs

This commit is contained in:
Sebastian Thiel
2019-07-05 11:32:35 +08:00
parent 99e97ceece
commit e42ebc0c2b
2442 changed files with 190984 additions and 71186 deletions

View File

@@ -821,7 +821,7 @@
}
}
},
"revision": "20190401",
"revision": "20190702",
"rootUrl": "https://script.googleapis.com/",
"schemas": {
"Content": {
@@ -949,6 +949,17 @@
},
"type": "object"
},
"ExecuteStreamResponse": {
"description": "The response for executing or debugging a function in an Apps Script project.",
"id": "ExecuteStreamResponse",
"properties": {
"result": {
"$ref": "ScriptExecutionResult",
"description": "The result of the execution.\nTODO (johnlattin): Add debugging and logging."
}
},
"type": "object"
},
"ExecutionError": {
"description": "An object that provides information about the nature of an error resulting\nfrom an attempted execution of a script function using the Apps Script API.\nIf a run call\nsucceeds but the script function (or Apps Script itself) throws an exception,\nthe response body's error field\ncontains a\nStatus object. The `Status` object's `details` field\ncontains an array with a single one of these `ExecutionError` objects.",
"id": "ExecutionError",
@@ -1387,6 +1398,20 @@
},
"type": "object"
},
"ListValue": {
"description": "`ListValue` is a wrapper around a repeated field of values.\nBased on LustValue at:\ngoogle3/apps/maestro/api/struct.proto?q=message%5c%20ListValue",
"id": "ListValue",
"properties": {
"values": {
"description": "Repeated field of dynamically typed values.",
"items": {
"$ref": "Value"
},
"type": "array"
}
},
"type": "object"
},
"ListVersionsResponse": {
"description": "Response with the list of the versions for the specified script project.",
"id": "ListVersionsResponse",
@@ -1515,6 +1540,17 @@
},
"type": "object"
},
"ScriptExecutionResult": {
"description": "The result of an execution\nBased on ScriptExecutionResult at:\ngoogle3/apps/maestro/api/frontend_execution_common.proto?q=message%5c%20ScriptExecutionResult",
"id": "ScriptExecutionResult",
"properties": {
"returnValue": {
"$ref": "Value",
"description": "The returned value of the execution.\nTODO (johnlattin): Add HtmlResponse\nTODO (johnlattin): Add ExceptionResponse\nTODO (johlnattin): Add TextResponse"
}
},
"type": "object"
},
"ScriptStackTraceElement": {
"description": "A stack trace through the script that shows where the execution failed.",
"id": "ScriptStackTraceElement",
@@ -1558,6 +1594,20 @@
},
"type": "object"
},
"Struct": {
"description": "`Struct` represents a structured data value, consisting of fields which map\nto dynamically typed values.\nBased on Struct at:\ngoogle3/apps/maestro/api/struct.proto?q=message%5c%20Struct",
"id": "Struct",
"properties": {
"fields": {
"additionalProperties": {
"$ref": "Value"
},
"description": "Unordered map of dynamically typed values.",
"type": "object"
}
},
"type": "object"
},
"UpdateDeploymentRequest": {
"description": "Request with deployment information to update an existing deployment.",
"id": "UpdateDeploymentRequest",
@@ -1569,6 +1619,62 @@
},
"type": "object"
},
"Value": {
"description": "`Value` represents a dynamically typed value which is the outcome of an\nexecuted script\nBased on Value at:\ngoogle3/apps/maestro/api/struct.proto?q=message%5c%20Value",
"id": "Value",
"properties": {
"boolValue": {
"description": "Represents a boolean value.",
"type": "boolean"
},
"bytesValue": {
"description": "Represents raw byte values.",
"format": "byte",
"type": "string"
},
"dateValue": {
"description": "Represents a date in ms since the epoch.",
"format": "int64",
"type": "string"
},
"listValue": {
"$ref": "ListValue",
"description": "Represents a repeated `Value`."
},
"nullValue": {
"description": "Represents a null value.",
"enum": [
"NULL_VALUE"
],
"enumDescriptions": [
"Null value."
],
"type": "string"
},
"numberValue": {
"description": "Represents a double value.",
"format": "double",
"type": "number"
},
"protoValue": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Represents a structured proto value.",
"type": "object"
},
"stringValue": {
"description": "Represents a string value.",
"type": "string"
},
"structValue": {
"$ref": "Struct",
"description": "Represents a structured value."
}
},
"type": "object"
},
"Version": {
"description": "A resource representing a script project version. A version is a \"snapshot\"\nof a script project and is similar to a read-only branched release. When\ncreating deployments, the version to use must be specified.",
"id": "Version",