工具要使用的動作設定。注意:這可以是動作或作業。詳情請參閱 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 ( |
| 欄位 | |
|---|---|
inputFields[] |
選用。做為作業輸入內容的實體欄位。如未指定任何欄位,系統會使用實體的所有欄位。 |
outputFields[] |
選用。作業要傳回的實體欄位。如未指定任何欄位,系統會傳回實體的所有欄位。 |
| 工具要使用的動作設定規格。以下列出互斥欄位。回應中最多會設定一個欄位: | |
connectionActionId |
工具要使用的「連結」動作 ID。 |
entityOperation |
工具要使用的實體作業設定。 |
| 互斥欄位的結尾。 | |
Action.EntityOperation
實體 CRUD 作業規格。
| JSON 表示法 |
|---|
{
"entityId": string,
"operation": enum ( |
| 欄位 | |
|---|---|
entityId |
這是必要旗標,實體的 ID。 |
operation |
這是必要旗標,要在實體上執行的作業。 |
Action.EntityOperation.OperationType
要在實體上執行的作業。
| 列舉 | |
|---|---|
OPERATION_TYPE_UNSPECIFIED |
未指定作業類型。無效,ConnectorTool 建立/更新作業將會失敗。 |
LIST |
清單作業。 |
GET |
取得作業。 |
CREATE |
建立作業。 |
UPDATE |
更新作業。 |
DELETE |
刪除作業。 |