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 は、実行されたスクリプトの結果である動的型の値を表します。

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)

null 値を表します。

numberValue

number

double 値を表します。

stringValue

string

文字列値を表します。

boolValue

boolean

ブール値を表します。

structValue

object (Struct)

構造化された値を表します。

listValue

object (ListValue)

繰り返される Value を表します。

dateValue

string (int64 format)

日付をエポックからのミリ秒単位で表します。

protoValue

object

構造化された proto 値を表します。

任意のデータ型のフィールドを含むオブジェクト。タイプを識別する URI を含むフィールド "@type" を追加できます。例: { "id": 1234, "@type": "types.example.com/standard/id" }

bytesValue

string (bytes format)

未加工のバイト値を表します。

Base64 でエンコードされた文字列。

構造体

Struct は構造化データ値を表します。これは動的に型指定された値にマッピングされるフィールドで構成されます。

JSON 表現
{
  "fields": {
    string: {
      object (Value)
    },
    ...
  }
}
フィールド
fields

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

動的に型指定された値の順序付けされていないマップ。

"key": value ペアのリストを含むオブジェクト。例: { "name": "wrench", "mass": "1.3kg", "count": "3" }

ListValue

ListValue は、値の繰り返しフィールドのラッパーです。

JSON 表現
{
  "values": [
    {
      object (Value)
    }
  ]
}
フィールド
values[]

object (Value)

動的に型指定された値の繰り返しフィールド。