Full name: projects.locations.instances.integrations.jobs.executeTest
Executes a test on a job definition script.
HTTP request
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the IntegrationJob to test. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/jobs/{job} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"job": {
object ( |
Fields | |
---|---|
job |
Required. The job that will be tested. |
agentId |
Optional. If the test is being executed on a remote agent, this field includes the agent identifier, else it's null. |
Response body
Response message for ExecuteTest.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "output": string, "debugOutput": string, "resultObjectJson": string, "resultName": string, "resultValue": string } |
Fields | |
---|---|
output |
Required. The script output. |
debugOutput |
Required. The script debug output. |
resultObjectJson |
Optional. The result json if exists. |
resultName |
Optional. The script result. |
resultValue |
Optional. The script result value. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.