ExecuteStreamResponse

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

JSON representation
{
  "result": {
    object (ScriptExecutionResult)
  }
}
Fields
result

object (ScriptExecutionResult)

The result of the execution.

ScriptExecutionResult

The result of an execution.

JSON representation
{
  "returnValue": {
    object (Value)
  }
}
Fields
returnValue

object (Value)

The returned value of the execution.

Value

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

JSON representation
{

  // Union field kind can be only one of the following:
  "nullValue": enum (NullValue),
  "numberValue": number,
  "stringValue": string,
  "boolValue": boolean,
  "structValue": {
    object (Struct)
  },
  "listValue": {
    object (ListValue)
  },
  "dateValue": string,
  "protoValue": {
    "@type": string,
    field1: ...,
    ...
  },
  "bytesValue": string
  // End of list of possible types for union field kind.
}
Fields
Union field kind. The kind of value. kind can be only one of the following:
nullValue

enum (NullValue)

Represents a null value.

numberValue

number

Represents a double value.

stringValue

string

Represents a string value.

boolValue

boolean

Represents a boolean value.

structValue

object (Struct)

Represents a structured value.

listValue

object (ListValue)

Represents a repeated Value.

dateValue

string (int64 format)

Represents a date in ms since the epoch.

protoValue

object

Represents a structured proto value.

An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" }.

bytesValue

string (bytes format)

Represents raw byte values.

A base64-encoded string.

Struct

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

JSON representation
{
  "fields": {
    string: {
      object(Value)
    },
    ...
  }
}
Fields
fields

map (key: string, value: object (Value))

Unordered map of dynamically typed values.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

ListValue

ListValue is a wrapper around a repeated field of values.

JSON representation
{
  "values": [
    {
      object (Value)
    }
  ]
}
Fields
values[]

object (Value)

Repeated field of dynamically typed values.