Method: actions.fetchTemplate

Full name: projects.locations.instances.integrations.actions.fetchTemplate

Fetches the default action template, mainly used for obtaining the default script allowing quick start.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance to fetch the template for. Format: projects/{project}/locations/{location}/instances/{instance}/soar/integrations/{integration}/actions

Query parameters

Parameters
async

boolean

Optional. Specifies whether we are getting a template for async action or not. Default is false.

Request body

The request body must be empty.

Response body

Response message for FetchTemplate.

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

JSON representation
{
  "template": {
    object (IntegrationAction)
  }
}
Fields
template

object (IntegrationAction)

Output only. The action definition template.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.