API Reference google_api_script v0.19.0

View Source

Modules

API client metadata for GoogleApi.Script.V1.

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.

The Content resource.

Request to create a script project. 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); }

A configuration that defines how a deployment is accessed externally.

The response for executing or debugging a function in an Apps Script project.

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.

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.

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.

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.

ListValue is a wrapper around a repeated field of values.

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. 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.

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.

Struct represents a structured data value, consisting of fields which map to dynamically typed values.

Request with deployment information to update an existing deployment.

Value represents a dynamically typed value which is the outcome of an executed script.

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.