Method: connectors.executeTest

Full name: projects.locations.instances.integrations.connectors.executeTest

Execute a test on a connector definition script.

HTTP request


Path parameters

Parameters
integrationIdentifier

string

Required. The parent identifier (from route)

Request body

The request body contains data with the following structure:

JSON representation
{
  "agentIdentifier": string,
  "connector": {
    object (IntegrationConnector)
  }
}
Fields
agentIdentifier

string

Optional. The agent identifier for remote testing

connector

object (IntegrationConnector)

Required. The connector object to test The full connector object is needed as there is an option to run the test without saving the connector first.

Response body

Test connector definition script response.

If successful, the response body contains data with the following structure:

JSON representation
{
  "outputMessage": string,
  "debugOutputMessage": string,
  "resultJson": string
}
Fields
outputMessage

string

Output only. Human-readable output message set by the script.

debugOutputMessage

string

Output only. The script debug output.

resultJson

string

Output only. The result json if exists.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.