Skip to main content

anonymization.proto

path mgmt/v1alpha1/anonymization.proto

package mgmt.v1alpha1


Messages

AnonymizeManyErrors

NameTypeDescription
input_indexint64Index of input data that caused error
error_messagestringError message

AnonymizeManyRequest

NameTypeDescription
input_datarepeated stringArray of stringified JSON data to be anonymized (up to 25 items)
transformer_mappingsrepeated TransformerMappingArray of Transformer mappings
default_transformersoptional DefaultTransformersConfigOptional default transformations for any unmapped keys
halt_on_failureboolFlag to indicate whether to stop processing when an error occurs true: stops on first error encounter
account_idstringThe unique account identifier

AnonymizeManyResponse

NameTypeDescription
output_datarepeated stringArray of anonymized JSON data
errorsrepeated AnonymizeManyErrorsArray of errors that occured during anonymization

AnonymizeSingleRequest

NameTypeDescription
input_datastringStringified JSON data to be anonymized
transformer_mappingsrepeated TransformerMappingArray of Transformer mappings
default_transformersoptional DefaultTransformersConfigOptional default transformations for any unmapped keys
account_idstringThe unique account identifier

AnonymizeSingleResponse

NameTypeDescription
output_datastringAnonymized JSON data

DefaultTransformersConfig

NameTypeDescription
booleanTransformerConfigBoolean
nTransformerConfigNumber
sTransformerConfigString

TransformerMapping

NameTypeDescription
expressionstringJQ Expression or Field Path to apply the transformation to
transformerTransformerConfigConfiguration of Transformer to apply

Services

AnonymizationService

AnonymizeMany

MethodAnonymizeMany
RequestAnonymizeManyRequest
ResponseAnonymizeManyResponse
DescriptionAnonymizes many JSON strings by applying specified transformation mappings.

AnonymizeSingle

MethodAnonymizeSingle
RequestAnonymizeSingleRequest
ResponseAnonymizeSingleResponse
DescriptionAnonymizes a single JSON strings by applying specified transformation mappings.