Method: revisions.create

Full name: projects.locations.instances.integrations.transformers.revisions.create

Creates a new revision of a custom transformer. Use this method to save the current state of a transformer definition, including a comment describing the changes. Revisions can only be created for custom transformers.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/revisions

Path parameters

Parameters
parent

string

Required. The parent resource where this transformer revision will be created. Format: projects/{project}/locations/{location}/instances/{instance}/integrations/{integration}/transformers/{transformer}

Request body

The request body contains an instance of TransformerRevision.

Response body

If successful, the response body contains a newly created instance of TransformerRevision.

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 parent resource:

  • chronicle.transformerRevisions.update

For more information, see the IAM documentation.