google_api_script v0.4.0 API Reference

Modules

API calls for all endpoints tagged Processes.

API calls for all endpoints tagged Projects.

API calls for all endpoints tagged Scripts.

Handle Tesla connections for GoogleApi.Script.V1.

Helper functions for deserializing responses into models.

The Content resource.

Request to create a script project.

Representation of a single script deployment.

Metadata the defines how a deployment is configured.

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); } The JSON representation for `Empty` is empty JSON object `{}`.

A configuration that defines how a deployment is accessed externally.

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.

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.

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.

API executable entry point configuration.

Represents a function in a script project.

A set of functions. No duplicates are permitted.

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.

Represents an authorization scope.

A set of scopes. No duplicates are permitted.

A simple user profile resource.

Response with the list of deployments for the specified Apps Script project.

Response with the list of Process resources.

Response with the list of Process resources.

Response with the list of the versions for the specified script project.

Resource containing usage stats for a given script, based on the supplied filter and mask present in the request.

Metrics value that holds number of executions counted.

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. <p>After execution has started, it can have one of four outcomes:</p> <ul> <li> 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.</li> <li> 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.</li> <li> If the execution has not yet completed, the done field is `false` and the neither the `response` nor `error` fields are present.</li> <li> 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.</li> </ul>

The script project resource.

A stack trace through the script that shows where the execution failed.

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.

Request with deployment information to update an existing deployment.

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.

Helper functions for building Tesla requests.