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 |
---|
GenerateDefault
Name | Type | Description |
---|
GenerateE164PhoneNumber
Name | Type | Description |
---|---|---|
min | int64 | |
max | int64 |
GenerateEmail
Name | Type | Description |
---|
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 |
---|
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 | |
preserve_length | bool | |
excluded_domains | repeated string |
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 |
UpdateUserDefinedTransformerRequest
Name | Type | Description |
---|---|---|
transformer_id | string | |
name | string | |
description | string | |
transformer_config | TransformerConfig |
UpdateUserDefinedTransformerResponse
Name | Type | Description |
---|---|---|
transformer | UserDefinedTransformer |
UserDefinedTransformer
Name | Type | Description |
---|---|---|
id | string | |
name | string | |
description | string | |
data_type | TransformerDataType | This property is readonly and is calculated based off the origin system transformer |
source | TransformerSource | |
config | TransformerConfig | |
created_at | google.protobuf.Timestamp | |
updated_at | google.protobuf.Timestamp | |
account_id | string | |
data_types | repeated TransformerDataType |
UserDefinedTransformerConfig
Name | Type | Description |
---|---|---|
id | string |
ValidateUserJavascriptCodeRequest
Name | Type | Description |
---|---|---|
account_id | string | |
code | string |
ValidateUserJavascriptCodeResponse
Name | Type | Description |
---|---|---|
valid | bool |
ValidateUserRegexCodeRequest
Name | Type | Description |
---|---|---|
account_id | string | |
user_provided_regex | string |
ValidateUserRegexCodeResponse
Name | Type | Description |
---|---|---|
valid | bool |
Enums
SupportedJobType
Name | Number | Description |
---|---|---|
SUPPORTED_JOB_TYPE_UNSPECIFIED | 0 | |
SUPPORTED_JOB_TYPE_SYNC | 1 | |
SUPPORTED_JOB_TYPE_GENERATE | 2 |
TransformerDataType
Name | Number | Description |
---|---|---|
TRANSFORMER_DATA_TYPE_UNSPECIFIED | 0 | |
TRANSFORMER_DATA_TYPE_STRING | 1 | |
TRANSFORMER_DATA_TYPE_INT64 | 2 | |
TRANSFORMER_DATA_TYPE_BOOLEAN | 3 | |
TRANSFORMER_DATA_TYPE_FLOAT64 | 4 | |
TRANSFORMER_DATA_TYPE_NULL | 5 | |
TRANSFORMER_DATA_TYPE_ANY | 6 | |
TRANSFORMER_DATA_TYPE_TIME | 7 | |
TRANSFORMER_DATA_TYPE_UUID | 8 |
TransformerSource
Name | Number | Description |
---|---|---|
TRANSFORMER_SOURCE_UNSPECIFIED | 0 | |
TRANSFORMER_SOURCE_PASSTHROUGH | 1 | |
TRANSFORMER_SOURCE_GENERATE_DEFAULT | 2 | |
TRANSFORMER_SOURCE_TRANSFORM_JAVASCRIPT | 3 | |
TRANSFORMER_SOURCE_GENERATE_EMAIL | 4 | |
TRANSFORMER_SOURCE_TRANSFORM_EMAIL | 5 | |
TRANSFORMER_SOURCE_GENERATE_BOOL | 6 | |
TRANSFORMER_SOURCE_GENERATE_CARD_NUMBER | 7 | |
TRANSFORMER_SOURCE_GENERATE_CITY | 8 | |
TRANSFORMER_SOURCE_GENERATE_E164_PHONE_NUMBER | 9 | |
TRANSFORMER_SOURCE_GENERATE_FIRST_NAME | 10 | |
TRANSFORMER_SOURCE_GENERATE_FLOAT64 | 11 | |
TRANSFORMER_SOURCE_GENERATE_FULL_ADDRESS | 12 | |
TRANSFORMER_SOURCE_GENERATE_FULL_NAME | 13 | |
TRANSFORMER_SOURCE_GENERATE_GENDER | 14 | |
TRANSFORMER_SOURCE_GENERATE_INT64_PHONE_NUMBER | 15 | |
TRANSFORMER_SOURCE_GENERATE_INT64 | 16 | |
TRANSFORMER_SOURCE_GENERATE_RANDOM_INT64 | 17 | |
TRANSFORMER_SOURCE_GENERATE_LAST_NAME | 18 | |
TRANSFORMER_SOURCE_GENERATE_SHA256HASH | 19 | |
TRANSFORMER_SOURCE_GENERATE_SSN | 20 | |
TRANSFORMER_SOURCE_GENERATE_STATE | 21 | |
TRANSFORMER_SOURCE_GENERATE_STREET_ADDRESS | 22 | |
TRANSFORMER_SOURCE_GENERATE_STRING_PHONE_NUMBER | 23 | |
TRANSFORMER_SOURCE_GENERATE_STRING | 24 | |
TRANSFORMER_SOURCE_GENERATE_RANDOM_STRING | 25 | |
TRANSFORMER_SOURCE_GENERATE_UNIXTIMESTAMP | 26 | |
TRANSFORMER_SOURCE_GENERATE_USERNAME | 27 | |
TRANSFORMER_SOURCE_GENERATE_UTCTIMESTAMP | 28 | |
TRANSFORMER_SOURCE_GENERATE_UUID | 29 | |
TRANSFORMER_SOURCE_GENERATE_ZIPCODE | 30 | |
TRANSFORMER_SOURCE_TRANSFORM_E164_PHONE_NUMBER | 31 | |
TRANSFORMER_SOURCE_TRANSFORM_FIRST_NAME | 32 | |
TRANSFORMER_SOURCE_TRANSFORM_FLOAT64 | 33 | |
TRANSFORMER_SOURCE_TRANSFORM_FULL_NAME | 34 | |
TRANSFORMER_SOURCE_TRANSFORM_INT64_PHONE_NUMBER | 35 | |
TRANSFORMER_SOURCE_TRANSFORM_INT64 | 36 | |
TRANSFORMER_SOURCE_TRANSFORM_LAST_NAME | 37 | |
TRANSFORMER_SOURCE_TRANSFORM_PHONE_NUMBER | 38 | |
TRANSFORMER_SOURCE_TRANSFORM_STRING | 39 | |
TRANSFORMER_SOURCE_GENERATE_NULL | 40 | |
TRANSFORMER_SOURCE_GENERATE_CATEGORICAL | 42 | |
TRANSFORMER_SOURCE_TRANSFORM_CHARACTER_SCRAMBLE | 43 | |
TRANSFORMER_SOURCE_USER_DEFINED | 44 | |
TRANSFORMER_SOURCE_GENERATE_JAVASCRIPT | 45 |
Services
TransformersService
GetSystemTransformers
Method | GetSystemTransformers |
---|---|
Request | GetSystemTransformersRequest |
Response | GetSystemTransformersResponse |
Description |
GetSystemTransformerBySource
Method | GetSystemTransformerBySource |
---|---|
Request | GetSystemTransformerBySourceRequest |
Response | GetSystemTransformerBySourceResponse |
Description |
GetUserDefinedTransformers
Method | GetUserDefinedTransformers |
---|---|
Request | GetUserDefinedTransformersRequest |
Response | GetUserDefinedTransformersResponse |
Description |
GetUserDefinedTransformerById
Method | GetUserDefinedTransformerById |
---|---|
Request | GetUserDefinedTransformerByIdRequest |
Response | GetUserDefinedTransformerByIdResponse |
Description |
CreateUserDefinedTransformer
Method | CreateUserDefinedTransformer |
---|---|
Request | CreateUserDefinedTransformerRequest |
Response | CreateUserDefinedTransformerResponse |
Description |
DeleteUserDefinedTransformer
Method | DeleteUserDefinedTransformer |
---|---|
Request | DeleteUserDefinedTransformerRequest |
Response | DeleteUserDefinedTransformerResponse |
Description |
UpdateUserDefinedTransformer
Method | UpdateUserDefinedTransformer |
---|---|
Request | UpdateUserDefinedTransformerRequest |
Response | UpdateUserDefinedTransformerResponse |
Description |
IsTransformerNameAvailable
Method | IsTransformerNameAvailable |
---|---|
Request | IsTransformerNameAvailableRequest |
Response | IsTransformerNameAvailableResponse |
Description |
ValidateUserJavascriptCode
Method | ValidateUserJavascriptCode |
---|---|
Request | ValidateUserJavascriptCodeRequest |
Response | ValidateUserJavascriptCodeResponse |
Description |
ValidateUserRegexCode
Method | ValidateUserRegexCode |
---|---|
Request | ValidateUserRegexCodeRequest |
Response | ValidateUserRegexCodeResponse |
Description |