Namespace Google.Apis.Script.v1.Data
Classes
Content
The Content resource.
CreateProjectRequest
Request to create a script project. Request to create a script project.
Deployment
Representation of a single script deployment.
DeploymentConfig
Metadata the defines how a deployment is configured.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
EntryPoint
A configuration that defines how a deployment is accessed externally.
ExecuteStreamResponse
The response for executing or debugging a function in an Apps Script project.
ExecutionError
An object that provides information about the nature of an error resulting from an attempted execution of a
script function using the Apps Script API. If a run call succeeds but the script function (or Apps Script
itself) throws an exception, the response body's error field contains a Status object. The Status
object's
details
field contains an array with a single one of these ExecutionError
objects.
ExecutionRequest
A request to run the function in a script. The script is identified by the specified script_id
. Executing a
function on a script returns results based on the implementation of the script.
ExecutionResponse
An object that provides the return value of a function executed using the Apps Script API. If the script
function returns successfully, the response body's response field contains this ExecutionResponse
object.
File
An individual file within a script project. A file is a third-party source code created by one or more developers. It can be a server-side JS code, HTML, or a configuration file. Each script project can contain multiple files.
GoogleAppsScriptTypeAddOnEntryPoint
An add-on entry point.
GoogleAppsScriptTypeExecutionApiConfig
API executable entry point configuration.
GoogleAppsScriptTypeExecutionApiEntryPoint
An API executable entry point.
GoogleAppsScriptTypeFunction
Represents a function in a script project.
GoogleAppsScriptTypeFunctionSet
A set of functions. No duplicates are permitted.
GoogleAppsScriptTypeProcess
Representation of a single script process execution that was started from the script editor, a trigger, an
application, or using the Apps Script API. This is distinct from the Operation
resource, which only represents
executions started via the Apps Script API.
GoogleAppsScriptTypeUser
A simple user profile resource.
GoogleAppsScriptTypeWebAppConfig
Web app entry point configuration.
GoogleAppsScriptTypeWebAppEntryPoint
A web application entry point.
ListDeploymentsResponse
Response with the list of deployments for the specified Apps Script project.
ListScriptProcessesResponse
Response with the list of Process resources.
ListUserProcessesResponse
Response with the list of Process resources.
ListValue
ListValue
is a wrapper around a repeated field of values.
ListVersionsResponse
Response with the list of the versions for the specified script project.
Metrics
Resource containing usage stats for a given script, based on the supplied filter and mask present in the request.
MetricsValue
Metrics value that holds number of executions counted.
Operation
A representation of an execution of an Apps Script function started with run. The execution response does not
arrive until the function finishes executing. The maximum execution runtime is listed in the Apps Script quotas
guide. After execution has started, it can have one of
four outcomes: - If the script function returns successfully, the response field contains an ExecutionResponse
object with the function's return value in the object's result
field. - If the script function (or Apps Script
itself) throws an exception, the error field contains a Status object. The Status
object's details
field
contains an array with a single ExecutionError object that provides information about the nature of the error. -
If the execution has not yet completed, the done field is false
and the neither the response
nor error
fields are present. - If the run
call itself fails (for example, because of a malformed request or an
authorization error), the method returns an HTTP response code in the 4XX range with a different format for the
response body. Client libraries automatically convert a 4XX response into an exception class.
Project
The script project resource.
ScriptExecutionResult
The result of an execution.
ScriptStackTraceElement
A stack trace through the script that shows where the execution failed.
Status
If a run
call succeeds but the script function (or Apps Script itself) throws an exception, the response
body's error field contains this Status
object.
Struct
Struct
represents a structured data value, consisting of fields which map to dynamically typed values.
UpdateDeploymentRequest
Request with deployment information to update an existing deployment.
Value
Value
represents a dynamically typed value which is the outcome of an executed script.
Version
A resource representing a script project version. A version is a "snapshot" of a script project and is similar to a read-only branched release. When creating deployments, the version to use must be specified.