ExecuteStreamResponse

התגובה לביצוע או לניפוי באגים של פונקציה בפרויקט Apps Script.

ייצוג JSON
{

  // Union field update can be only one of the following:
  "result": {
    object (ScriptExecutionResult)
  }
  // End of list of possible types for union field update.
}
שדות
שדה איחוד update. עדכון מהשרת עם נתונים רלוונטיים לגבי הביצוע. הערך של update יכול להיות רק אחת מהאפשרויות הבאות:
result

object (ScriptExecutionResult)

תוצאת הביצוע.

ScriptExecutionResult

התוצאה של ביצוע.

ייצוג JSON
{

  // Union field result can be only one of the following:
  "returnValue": {
    object (Value)
  }
  // End of list of possible types for union field result.
}
שדות
שדה איחוד result. תוצאת הביצוע. הערך של result יכול להיות רק אחת מהאפשרויות הבאות:
returnValue

object (Value)

הערך המוחזר של הביצוע.

Value

Value מייצג ערך שהוקלד באופן דינמי שהוא התוצאה של סקריפט שהופעל.

ייצוג JSON
{

  // 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.
}
שדות
שדה איחוד kind. סוג הערך. הערך של kind יכול להיות רק אחת מהאפשרויות הבאות:
nullValue

enum (NullValue)

מייצג ערך אפס.

numberValue

number

מייצג ערך כפול.

stringValue

string

מייצג ערך מחרוזת.

boolValue

boolean

מייצג ערך בוליאני.

structValue

object (Struct)

מייצג ערך מובנה.

listValue

object (ListValue)

הערך מייצג Value חוזר.

dateValue

string (int64 format)

מייצג תאריך באלפיות השנייה מתחילת התקופה.

protoValue

object

מייצג ערך אב מובנה.

אובייקט שמכיל שדות מסוג שרירותי. שדה נוסף "@type" מכיל URI שמזהה את הסוג. דוגמה: { "id": 1234, "@type": "types.example.com/standard/id" }

bytesValue

string (bytes format)

מייצג ערכים גולמיים של בייטים.

מחרוזת בקידוד base64.

Struct

Struct מייצג ערך של נתונים מובְנים, שמורכב משדות שממופים לערכים שמוקלדים באופן דינמי.

ייצוג JSON
{
  "fields": {
    string: {
      object (Value)
    },
    ...
  }
}
שדות
fields

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

מפה לא מסודרת של ערכים שהוקלדו באופן דינמי.

אובייקט שמכיל רשימה של "key": value זוגות. דוגמה: { "name": "wrench", "mass": "1.3kg", "count": "3" }

ListValue

ListValue הוא wrapper סביב שדה ערכים חוזר.

ייצוג JSON
{
  "values": [
    {
      object (Value)
    }
  ]
}
שדות
values[]

object (Value)

שדה חוזר של ערכים שהוקלדו באופן דינמי.