AI-generated Key Takeaways
- 
          
ExecuteStreamResponse is the response for executing or debugging a function in an Apps Script project, containing an update field that holds the execution result.
 - 
          
ScriptExecutionResult represents the outcome of an execution, with a result field containing the returned value.
 - 
          
Value is a dynamically typed value representing the outcome of an executed script, supporting various types including null, number, string, boolean, struct, list, date, proto, and bytes.
 - 
          
Struct represents structured data with fields mapping to dynamically typed values.
 - 
          
ListValue is a wrapper around a repeated field of dynamically typed values.
 
The response for executing or debugging a function in an Apps Script project.
| JSON representation | 
|---|
{ // Union field  | 
            
| Fields | |
|---|---|
Union field update. Update from the server with pertinent data about your execution. update can be only one of the following: | 
            |
result | 
              
                 
 The result of the execution.  | 
            
ScriptExecutionResult
The result of an execution.
| JSON representation | 
|---|
{ // Union field  | 
              
| Fields | |
|---|---|
Union field result. The result of the execution. result can be only one of the following: | 
              |
returnValue | 
                
                   
 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  | 
              
| Fields | |
|---|---|
Union field kind. The kind of value. kind can be only one of the following: | 
              |
nullValue | 
                
                   
 Represents a null value.  | 
              
numberValue | 
                
                   
 Represents a double value.  | 
              
stringValue | 
                
                   
 Represents a string value.  | 
              
boolValue | 
                
                   
 Represents a boolean value.  | 
              
structValue | 
                
                   
 Represents a structured value.  | 
              
listValue | 
                
                   
 Represents a repeated   | 
              
dateValue | 
                
                   
 Represents a date in ms since the epoch.  | 
              
protoValue | 
                
                   
 Represents a structured proto value. An object containing fields of an arbitrary type. An additional field   | 
              
bytesValue | 
                
                   
 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 ( | 
              
| Fields | |
|---|---|
fields | 
                
                   
 Unordered map of dynamically typed values. An object containing a list of   | 
              
ListValue
ListValue is a wrapper around a repeated field of values.
| JSON representation | 
|---|
{
  "values": [
    {
      object ( | 
              
| Fields | |
|---|---|
values[] | 
                
                   
 Repeated field of dynamically typed values.  |