Full name: projects.locations.instances.integrations.transformers.fetchTemplate
Retrieves a default Python script template for a new transformer. Use this method to jumpstart the development of a custom data transformation logic by providing boilerplate code.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{integration}/transformers:fetchTemplate Path parameters
| Parameters | |
|---|---|
integration |
Required. The parent identifier (from route) Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration} |
Request body
The request body must be empty.
Response body
The response message for FetchTemplate.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"template": {
object ( |
| Fields | |
|---|---|
template |
Output only. The transformer definition template. |
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 integration resource:
chronicle.transformerDefinitions.get
For more information, see the IAM documentation.