- 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 | |
---|---|
integration |
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 | |
---|---|
integration |
Optional. The integration description. |
integration |
Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without taskConfigs. |
integration |
Optional. Trigger configurations. |
integration |
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. |
integration |
Output only. User should not set it as an input. |
integration |
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. |
integration |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
integration |
Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call. |
integration |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
integration |
Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call. |
integration |
Optional. The id of the template which was used to create this integrationVersion. |
integration |
Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created. |
integration |
Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index. |
integration |
Optional. Error Catch Task configuration for the integration. It's optional. |
integration |
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. |
integration |
Optional. Cloud Logging details for the integration version |
integration |
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. |
integration |
Optional. True if variable masking feature should be turned on for this version |
integration |
Optional. Optional. The resource name of the template from which the integration is created. |
trigger |
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. |
client |
Required. This is used to identify the client on whose behalf the event will be executed. |
test |
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}. |
deadline |
Optional. custom deadline of the rpc A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
input |
Optional. Input parameters used during integration execution. |
config |
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.