- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Execute the integration in draft state.
HTTP request
POST https://integrations.googleapis.com/v1/{integrationVersion.name=projects/*/locations/*/integrations/*}:test
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
integrationVersion.name |
Output only. Auto-generated primary key. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "integrationVersion": { "name": string, "description": string, "taskConfigs": [ { "task": string, "taskId": string, "parameters": { string: { object ( |
Fields | |
---|---|
integrationVersion.description |
Optional. The integration description. |
integrationVersion.taskConfigs[] |
Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without taskConfigs. |
integrationVersion.triggerConfigs[] |
Optional. Trigger configurations. |
integrationVersion.integrationParameters[] |
Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. |
integrationVersion.state |
Output only. User should not set it as an input. |
integrationVersion.snapshotNumber |
Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflowName, org_id latest(snapshotNumber)]. However, last created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to identify the head. |
integrationVersion.updateTime |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
integrationVersion.lockHolder |
Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call. |
integrationVersion.createTime |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
integrationVersion.lastModifierEmail |
Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call. |
integrationVersion.parentTemplateId |
Optional. The id of the template which was used to create this integrationVersion. |
integrationVersion.userLabel |
Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created. |
integrationVersion.databasePersistencePolicy |
Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index. |
integrationVersion.errorCatcherConfigs[] |
Optional. Error Catch Task configuration for the integration. It's optional. |
integrationVersion.runAsServiceAccount |
Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task. |
integrationVersion.cloudLoggingDetails |
Optional. Cloud Logging details for the integration version |
integrationVersion.integrationConfigParameters[] |
Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter. |
integrationVersion.enableVariableMasking |
Optional. True if variable masking feature should be turned on for this version |
integrationVersion.createdFromTemplate |
Optional. Optional. The resource name of the template from which the integration is created. |
triggerId |
Required. The trigger id of the integration trigger config. If both triggerId and clientId is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks. |
clientId |
Required. This is used to identify the client on whose behalf the event will be executed. |
testMode |
Optional. Can be specified in the event request, otherwise false (default). If true, enables tasks with condition "testMode = true". If false, disables tasks with condition "testMode = true" if global test mode (set by platform) is also false {@link EventBusConfig}. |
deadlineSecondsTime |
Optional. custom deadline of the rpc A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
inputParameters |
Optional. Input parameters used during integration execution. |
configParameters |
Optional. Config parameters used during integration execution. |
Response body
If successful, the response body contains an instance of TestIntegrationsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
integrations.integrations.invoke
For more information, see the IAM documentation.