Full name: projects.locations.instances.integrations.connectors.connectorInstances.runOnDemand
Run a connector on demand.
HTTP request
Path parameters
Parameters | |
---|---|
name |
Required. The connector instance identifier (from route) Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/integrationInstances/connectors/{connector}/connectorInstances/{connectorInstance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"connector": string,
"connectorInstance": {
object ( |
Fields | |
---|---|
connector |
Required. The parent connector identifier (from route) |
connectorInstance |
Required. The connector instance with values from FE. |
Response body
Response for connectorInstances.runOnDemand.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"debugOutput": string,
"success": boolean,
"sampleCases": [
{
object ( |
Fields | |
---|---|
debugOutput |
Output only. The execution debug output message |
success |
Output only. True if the execution was successful, false if not. |
sampleCases[] |
Output only. The alerts that were produced by the connector run. Could also be an empty list when no alerts were produced by the connector. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
SampleCase
Sample case.
JSON representation |
---|
{ "displayName": string, "productName": string, "startTime": string, "endTime": string, "eventCount": string, "fullCaseInfoAsJson": string } |
Fields | |
---|---|
displayName |
Output only. The display name of the sample case |
productName |
Output only. The product name of the alert |
startTime |
Output only. The start time of the sample case |
endTime |
Output only. The end time of the sample case |
eventCount |
Output only. The number of events in the alert |
fullCaseInfoAsJson |
Output only. The sample case full info represented as json |