Full name: projects.locations.instances.integrations.jobs.executeTest
Executes a test run of a IntegrationJob's Python script. Use this method
to verify background automation logic and connectivity before deploying the
IntegrationJob` to an instance for recurring execution.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1beta/{parent}/jobs:executeTest Path parameters
| Parameters | |
|---|---|
parent |
Required. The resource parent of the IntegrationJob to test. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/jobs |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"job": {
object ( |
| Fields | |
|---|---|
job |
Required. The job that will be tested. |
agentIdentifier |
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 one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
chronicle.jobs.update
For more information, see the IAM documentation.