Method: jobInstances.runOnDemand

Full name: projects.locations.instances.integrations.jobs.jobInstances.runOnDemand

jobInstances.runOnDemand runs job instance script once.

HTTP request


Path parameters

Parameters
name

string

Required. The resource name of the IntegrationJobInstance to rollback from. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/jobs/{job}/jobInstances/{jobInstance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "parameters": [
    {
      object (JobInstanceParameter)
    }
  ]
}
Fields
parameters[]

object (JobInstanceParameter)

Optional. Job instance parameters.

Response body

RunOnDemandIntegrationJobInstanceResponse is the response of running the job instance on demand.

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

JSON representation
{
  "success": boolean
}
Fields
success

boolean

Optional. Indicates the job run completed successfully.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

JobInstanceParameter

Defines a job instance parameter.

JSON representation
{
  "displayName": string,
  "value": string
}
Fields
displayName

string

Optional. The parameter display name.

value

string

Optional. The value of the parameter.