Action

ツールで使用するアクションの構成。注: これは Action または Operation のいずれかになります。詳細については、https://cloud.google.com/integration-connectors/docs/entities-operation-action をご覧ください。

JSON 表現
{
  "inputFields": [
    string
  ],
  "outputFields": [
    string
  ],

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "connectionActionId": string,
  "entityOperation": {
    object (Action.EntityOperation)
  }
  // End of mutually exclusive fields.
}
フィールド
inputFields[]

string

省略可。オペレーションの入力として使用するエンティティ フィールド。フィールドが指定されていない場合は、エンティティのすべてのフィールドが使用されます。

outputFields[]

string

省略可。オペレーションから返すエンティティ フィールド。フィールドが指定されていない場合は、Entity のすべてのフィールドが返されます。

ツールで使用するアクションを構成するための仕様。以下は、相互に排他的なフィールドのリストです。レスポンスに設定されるフィールドは、最大 1 つです。
connectionActionId

string

ツールが使用する接続アクションの ID。

entityOperation

object (Action.EntityOperation)

ツールで使用するエンティティ オペレーション構成。

相互に排他的なフィールドの終わり。

Action.EntityOperation

エンティティの CRUD オペレーションの仕様。

JSON 表現
{
  "entityId": string,
  "operation": enum (Action.EntityOperation.OperationType)
}
フィールド
entityId

string

必須。エンティティの ID。

operation

enum (Action.EntityOperation.OperationType)

必須。エンティティに対して実行するオペレーション。

Action.EntityOperation.OperationType

エンティティに対して実行するオペレーション。

列挙型
OPERATION_TYPE_UNSPECIFIED オペレーション タイプが指定されていません。無効です。ConnectorTool の作成または更新は失敗します。
LIST リスト オペレーション。
GET オペレーションを取得します。
CREATE 作成オペレーション。
UPDATE 更新オペレーション。
DELETE 削除オペレーション。