Method: transformers.patch

Full name: projects.locations.instances.integrations.transformers.patch

Updates an existing TransformerDefinition. Use this method to modify a transformation's Python script, adjust its description, or refine its parameter definitions.

HTTP request


PATCH https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{transformerDefinition.name}

Path parameters

Parameters
transformerDefinition.name

string

Identifier. The unique name(ID) of the transformer. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/transformers/{transformer}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of TransformerDefinition.

Response body

If successful, the response body contains an instance of TransformerDefinition.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.transformerDefinitions.update

For more information, see the IAM documentation.