path mgmt/v1alpha1/transformer.proto
package mgmt.v1alpha1
Messages
Name | Type | Description |
---|
account_id | string | The unique identifier of the account to create the user defined transformer for. |
name | string | The name of the user defined transformer. |
description | string | The description of the user defined transformer. |
source | TransformerSource | The source of the user defined transformer. |
transformer_config | TransformerConfig | The configuration of the user defined transformer. |
Name | Type | Description |
---|
transformer_id | string | The unique identifier of the user defined transformer to delete. |
GenerateBool
GenerateBusinessName
GenerateCardNumber
Name | Type | Description |
---|
valid_luhn | optional bool | Whether or not to validate the card number using the Luhn algorithm. |
GenerateCategorical
Name | Type | Description |
---|
categories | optional string | A comma separated list of categories that will be used to generate a random value from. |
GenerateCity
GenerateCountry
Name | Type | Description |
---|
generate_full_name | optional bool | An option to return the full country name of the randomly selected country or return the default of a 2-letter country code. |
GenerateDefault
GenerateE164PhoneNumber
Name | Type | Description |
---|
min | optional int64 | The minimum length of the phone number to generate. |
max | optional int64 | The maximum length of the phone number to generate. |
GenerateEmail
Name | Type | Description |
---|
email_type | optional GenerateEmailType | Optionally specify the type of email to generate. The types specified determine the contents on the left side of the @. |
GenerateFirstName
GenerateFloat64
Name | Type | Description |
---|
randomize_sign | optional bool | Whether or not to randomize the sign of the float64. |
min | optional double | The minimum value to randomize the float64 to. |
max | optional double | The maximum value to randomize the float64 to. |
precision | optional int64 | The precision of the float64 to generate. |
GenerateFullAddress
GenerateFullName
GenerateGender
Name | Type | Description |
---|
abbreviate | optional bool | Whether or not to abbreviate the gender. |
GenerateInt64
Name | Type | Description |
---|
randomize_sign | optional bool | Whether or not to randomize the sign of the int64. |
min | optional int64 | The minimum value to randomize the int64 to. |
max | optional int64 | The maximum value to randomize the int64 to. |
GenerateInt64PhoneNumber
GenerateIpAddress
GenerateJavascript
Name | Type | Description |
---|
code | string | The user provided javascript code that will be executed in the transformer |
GenerateLastName
GenerateSSN
GenerateSha256Hash
GenerateState
Name | Type | Description |
---|
generate_full_name | optional bool | An option to return the full state name of the randomly selected state or return the default of a 2-letter state code. |
GenerateStreetAddress
GenerateString
Name | Type | Description |
---|
min | optional int64 | The minimum length of the string to generate. |
max | optional int64 | The maximum length of the string to generate. |
GenerateStringPhoneNumber
Name | Type | Description |
---|
min | optional int64 | The minimum length of the phone number to generate. |
max | optional int64 | The maximum length of the phone number to generate. |
GenerateUnixTimestamp
GenerateUsername
GenerateUtcTimestamp
GenerateUuid
Name | Type | Description |
---|
include_hyphens | optional bool | Whether or not to include hyphens in the uuid. Defaults to true. If false, the uuid will be returned without hyphens. |
GenerateZipcode
Name | Type | Description |
---|
account_id | string | The unique identifier of the account to return entities for. |
Name | Type | Description |
---|
entities | repeated string | The list of built-in entities that are enabled for the provided account id. |
Name | Type | Description |
---|
transformer_id | string | The unique identifier of the user defined transformer to get. |
Name | Type | Description |
---|
account_id | string | The unique identifier of the account to get the user defined transformers for. |
Name | Type | Description |
---|
account_id | string | The unique identifier of the account to check for the availability of the transformer name. |
transformer_name | string | The name of the transformer to check for availability. |
Name | Type | Description |
---|
is_available | bool | Whether or not the transformer name is available. |
Null
Passthrough
PiiAnonymizer
PiiAnonymizer.Hash
PiiAnonymizer.Mask
Name | Type | Description |
---|
masking_char | optional string | Provide a character that will be used for the replacement. |
chars_to_mask | optional int32 | How many characters to mask. |
from_end | optional bool | Whether to mask the PII from start or end |
PiiAnonymizer.Redact
PiiAnonymizer.Replace
Name | Type | Description |
---|
value | optional string | The value to replace. If not provided, a template token of the anonymizer is used (e.g. A PERSON entity is replaced with: <PERSON>) |
Name | Type | Description |
---|
config | TransformerConfig | The transformer to use. If not provided, a transformer will automatically be selected (if supported), otherwise it falls back to generating a random hash. |
PiiDenyRecognizer
Name | Type | Description |
---|
name | string | Friendly name of this entity |
deny_words | repeated string | List of words that will be treated as PII. |
A system transformer is a transformer that is built into the Neosync platform.
It can be used directly in job mappings or used in user-defined transformers to snapshot a specific configuration.
Name | Type | Description |
---|
user_provided_regex | optional |