transformer.proto
path mgmt/v1alpha1/transformer.proto
package mgmt.v1alpha1
Messages
CreateUserDefinedTransformerRequest
Name | Type | Description |
---|---|---|
account_id | string | |
name | string | |
description | string | |
type | string | @deprecated |
source | TransformerSource | |
transformer_config | TransformerConfig |
CreateUserDefinedTransformerResponse
Name | Type | Description |
---|---|---|
transformer | UserDefinedTransformer |
DeleteUserDefinedTransformerRequest
Name | Type | Description |
---|---|---|
transformer_id | string |
DeleteUserDefinedTransformerResponse
Name | Type | Description |
---|
GenerateBool
Name | Type | Description |
---|
GenerateCardNumber
Name | Type | Description |
---|---|---|
valid_luhn | bool |
GenerateCategorical
Name | Type | Description |
---|---|---|
categories | string |
GenerateCity
Name | Type | Description |
---|
GenerateCountry
Name | Type | Description |
---|---|---|
generate_full_name | 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
Name | Type | Description |
---|
GenerateE164PhoneNumber
Name | Type | Description |
---|---|---|
min | int64 | |
max | int64 |
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
Name | Type | Description |
---|
GenerateFloat64
Name | Type | Description |
---|---|---|
randomize_sign | bool | |
min | double | |
max | double | |
precision | int64 |
GenerateFullAddress
Name | Type | Description |
---|
GenerateFullName
Name | Type | Description |
---|
GenerateGender
Name | Type | Description |
---|---|---|
abbreviate | bool |
GenerateInt64
Name | Type | Description |
---|---|---|
randomize_sign | bool | |
min | int64 | |
max | int64 |
GenerateInt64PhoneNumber
Name | Type | Description |
---|
GenerateJavascript
Name | Type | Description |
---|---|---|
code | string |
GenerateLastName
Name | Type | Description |
---|
GenerateSSN
Name | Type | Description |
---|
GenerateSha256Hash
Name | Type | Description |
---|
GenerateState
Name | Type | Description |
---|---|---|
generate_full_name | 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
Name | Type | Description |
---|
GenerateString
Name | Type | Description |
---|---|---|
min | int64 | |
max | int64 |
GenerateStringPhoneNumber
Name | Type | Description |
---|---|---|
min | int64 | |
max | int64 |
GenerateUnixTimestamp
Name | Type | Description |
---|
GenerateUsername
Name | Type | Description |
---|
GenerateUtcTimestamp
Name | Type | Description |
---|
GenerateUuid
Name | Type | Description |
---|---|---|
include_hyphens | bool |
GenerateZipcode
Name | Type | Description |
---|
GetSystemTransformerBySourceRequest
Name | Type | Description |
---|---|---|
source | TransformerSource |
GetSystemTransformerBySourceResponse
Name | Type | Description |
---|---|---|
transformer | SystemTransformer |
GetSystemTransformersRequest
Name | Type | Description |
---|
GetSystemTransformersResponse
Name | Type | Description |
---|---|---|
transformers | repeated SystemTransformer |
GetUserDefinedTransformerByIdRequest
Name | Type | Description |
---|---|---|
transformer_id | string |
GetUserDefinedTransformerByIdResponse
Name | Type | Description |
---|---|---|
transformer | UserDefinedTransformer |
GetUserDefinedTransformersRequest
Name | Type | Description |
---|---|---|
account_id | string |
GetUserDefinedTransformersResponse
Name | Type | Description |
---|---|---|
transformers | repeated UserDefinedTransformer |
IsTransformerNameAvailableRequest
Name | Type | Description |
---|---|---|
account_id | string | |
transformer_name | string |
IsTransformerNameAvailableResponse
Name | Type | Description |
---|---|---|
is_available | bool |
Null
Name | Type | Description |
---|
Passthrough
Name | Type | Description |
---|
SystemTransformer
Name | Type | Description |
---|---|---|
name | string | |
description | string | |
data_type | TransformerDataType | |
source | TransformerSource | |
config | TransformerConfig | |
data_types | repeated TransformerDataType | |
supported_job_types | repeated SupportedJobType |
TransformCharacterScramble
Name | Type | Description |
---|---|---|
user_provided_regex | optional string | a user provided regular expression that they wish to validate if it compiles in GO |
TransformE164PhoneNumber
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformEmail
Name | Type | Description |
---|---|---|
preserve_domain | bool | Whether or not to preserve the original domain, barring what has been specified in the excluded_domains property. |
preserve_length | bool | Whether or not to preserve the original length of the email. This causes the transformed email to retain the original length. |
excluded_domains | repeated string | A lsit of email domains that should be excluded. This changes based on the preserve_domain flag. See the docs for more details. |
email_type | optional GenerateEmailType | Optionally specify the type of email to generate. The types specified determine the contents on the left side of the @. |
invalid_email_action | optional InvalidEmailAction | Optionally specify an action in the result of an invalid email. An invalid email is one that does not conform to RFC 5322. |
TransformFirstName
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformFloat64
Name | Type | Description |
---|---|---|
randomization_range_min | double | |
randomization_range_max | double |
TransformFullName
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformInt64
Name | Type | Description |
---|---|---|
randomization_range_min | int64 | |
randomization_range_max | int64 |
TransformInt64PhoneNumber
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformJavascript
Name | Type | Description |
---|---|---|
code | string |
TransformLastName
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformPhoneNumber
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformString
Name | Type | Description |
---|---|---|
preserve_length | bool |
TransformerConfig
Name | Type | Description |
---|---|---|
generate_email_config | GenerateEmail | |
transform_email_config | TransformEmail | |
generate_bool_config | GenerateBool | |
generate_card_number_config | GenerateCardNumber | |
generate_city_config | GenerateCity | |
generate_e164_phone_number_config | GenerateE164PhoneNumber | |
generate_first_name_config | GenerateFirstName | |
generate_float64_config | GenerateFloat64 | |
generate_full_address_config | GenerateFullAddress | |
generate_full_name_config | GenerateFullName | |
generate_gender_config | GenerateGender | |
generate_int64_phone_number_config | GenerateInt64PhoneNumber | |
generate_int64_config | GenerateInt64 | |
generate_last_name_config | GenerateLastName | |
generate_sha256hash_config | GenerateSha256Hash | |
generate_ssn_config | GenerateSSN | |
generate_state_config | GenerateState | |
generate_street_address_config | GenerateStreetAddress | |
generate_string_phone_number_config | GenerateStringPhoneNumber | |
generate_string_config | GenerateString | |
generate_unixtimestamp_config | GenerateUnixTimestamp | |
generate_username_config | GenerateUsername | |
generate_utctimestamp_config | GenerateUtcTimestamp | |
generate_uuid_config | GenerateUuid | |
generate_zipcode_config | GenerateZipcode | |
transform_e164_phone_number_config | TransformE164PhoneNumber | |
transform_first_name_config | TransformFirstName | |
transform_float64_config | TransformFloat64 | |
transform_full_name_config | TransformFullName | |
transform_int64_phone_number_config | TransformInt64PhoneNumber | |
transform_int64_config | TransformInt64 | |
transform_last_name_config | TransformLastName | |
transform_phone_number_config | TransformPhoneNumber | |
transform_string_config | TransformString | |
passthrough_config | Passthrough | |
nullconfig | Null | |
user_defined_transformer_config | UserDefinedTransformerConfig | |
generate_default_config | GenerateDefault | |
transform_javascript_config | TransformJavascript | |
generate_categorical_config | GenerateCategorical | |
transform_character_scramble_config | TransformCharacterScramble | |
generate_javascript_config | GenerateJavascript | |
generate_country_config | GenerateCountry |
UpdateUserDefinedTransformerRequest
Name | Type | Description |
---|---|---|
transformer_id | string | |
name | string | |
description | string | |
transformer_config | TransformerConfig |