Responses

レスポンス

アップデートからの単一のレスポンス。

JSON 表現
{

  // Union field kind can be only one of the following:
  "createSlide": {
    object (CreateSlideResponse)
  },
  "createShape": {
    object (CreateShapeResponse)
  },
  "createTable": {
    object (CreateTableResponse)
  },
  "replaceAllText": {
    object (ReplaceAllTextResponse)
  },
  "createImage": {
    object (CreateImageResponse)
  },
  "createVideo": {
    object (CreateVideoResponse)
  },
  "createSheetsChart": {
    object (CreateSheetsChartResponse)
  },
  "createLine": {
    object (CreateLineResponse)
  },
  "replaceAllShapesWithImage": {
    object (ReplaceAllShapesWithImageResponse)
  },
  "duplicateObject": {
    object (DuplicateObjectResponse)
  },
  "replaceAllShapesWithSheetsChart": {
    object (ReplaceAllShapesWithSheetsChartResponse)
  },
  "groupObjects": {
    object (GroupObjectsResponse)
  }
  // End of list of possible types for union field kind.
}
フィールド
共用体フィールド kind。返信の種類。リクエストにレスポンスがない場合、フィールドが設定されていない場合があります。 kind は次のいずれか 1 つのみを指定できます。
createSlide

object (CreateSlideResponse)

スライドの作成結果。

createShape

object (CreateShapeResponse)

シェイプの作成結果。

createTable

object (CreateTableResponse)

テーブルの作成結果。

replaceAllText

object (ReplaceAllTextResponse)

テキストを置き換えた結果。

createImage

object (CreateImageResponse)

イメージの作成結果。

createVideo

object (CreateVideoResponse)

動画の作成結果。

createSheetsChart

object (CreateSheetsChartResponse)

Google スプレッドシートのグラフの作成結果。

createLine

object (CreateLineResponse)

線の作成結果。

replaceAllShapesWithImage

object (ReplaceAllShapesWithImageResponse)

条件に一致するすべての図形を画像に置き換えた結果。

duplicateObject

object (DuplicateObjectResponse)

オブジェクトを複製した結果。

replaceAllShapesWithSheetsChart

object (ReplaceAllShapesWithSheetsChartResponse)

特定の条件に一致するすべての図形を Google スプレッドシートのグラフに置き換えた結果。

groupObjects

object (GroupObjectsResponse)

オブジェクトのグループ化の結果。

CreateSlideResponse

スライドの作成結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成されたスライドのオブジェクト ID。

CreateShapeResponse

シェイプの作成結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成されたシェイプのオブジェクト ID。

CreateTableResponse

テーブルの作成結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成されたテーブルのオブジェクト ID。

ReplaceAllTextResponse

テキストの置換結果。

JSON 表現
{
  "occurrencesChanged": integer
}
フィールド
occurrencesChanged

integer

すべてのテキストを置き換えることで変更された出現回数。

CreateImageResponse

画像の作成結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成された画像のオブジェクト ID。

CreateVideoResponse

動画の作成結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成された動画のオブジェクト ID。

CreateSheetsChartResponse

埋め込み Google スプレッドシートのグラフの作成結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成されたグラフのオブジェクト ID。

CreateLineResponse

線を作成した結果です。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成された行のオブジェクト ID。

ReplaceAllShapesWithImageResponse

図形を画像に置き換えた結果。

JSON 表現
{
  "occurrencesChanged": integer
}
フィールド
occurrencesChanged

integer

画像に置き換えられた図形の数。

DuplicateObjectResponse

オブジェクトを複製した場合のレスポンス。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

新しい複製オブジェクトの ID。

ReplaceAllShapesWithSheetsChartResponse

図形を Google スプレッドシートのグラフに置き換えた結果。

JSON 表現
{
  "occurrencesChanged": integer
}
フィールド
occurrencesChanged

integer

グラフに置き換えられた図形の数。

GroupObjectsResponse

オブジェクトのグループ化の結果。

JSON 表現
{
  "objectId": string
}
フィールド
objectId

string

作成されたグループのオブジェクト ID。