anonymization.proto
path mgmt/v1alpha1/anonymization.proto
package mgmt.v1alpha1
Messages
AnonymizeManyErrors
Name | Type | Description |
---|---|---|
input_index | int64 | Index of input data that caused error |
error_message | string | Error message |
AnonymizeManyRequest
Name | Type | Description |
---|---|---|
input_data | repeated string | Array of stringified JSON data to be anonymized (up to 25 items) |
transformer_mappings | repeated TransformerMapping | Array of Transformer mappings |
default_transformers | optional DefaultTransformersConfig | Optional default transformations for any unmapped keys |
halt_on_failure | bool | Flag to indicate whether to stop processing when an error occurs true: stops on first error encounter |
account_id | string | The unique account identifier |
AnonymizeManyResponse
Name | Type | Description |
---|---|---|
output_data | repeated string | Array of anonymized JSON data |
errors | repeated AnonymizeManyErrors | Array of errors that occured during anonymization |
AnonymizeSingleRequest
Name | Type | Description |
---|---|---|
input_data | string | Stringified JSON data to be anonymized |
transformer_mappings | repeated TransformerMapping | Array of Transformer mappings |
default_transformers | optional DefaultTransformersConfig | Optional default transformations for any unmapped keys |
account_id | string | The unique account identifier |
AnonymizeSingleResponse
Name | Type | Description |
---|---|---|
output_data | string | Anonymized JSON data |
DefaultTransformersConfig
Name | Type | Description |
---|---|---|
boolean | TransformerConfig | Boolean |
n | TransformerConfig | Number |
s | TransformerConfig | String |
TransformerMapping
Name | Type | Description |
---|---|---|
expression | string | JQ Expression or Field Path to apply the transformation to |
transformer | TransformerConfig | Configuration of Transformer to apply |
Services
AnonymizationService
AnonymizeMany
Method | AnonymizeMany |
---|---|
Request | AnonymizeManyRequest |
Response | AnonymizeManyResponse |
Description | Anonymizes many JSON strings by applying specified transformation mappings. |
AnonymizeSingle
Method | AnonymizeSingle |
---|---|
Request | AnonymizeSingleRequest |
Response | AnonymizeSingleResponse |
Description | Anonymizes a single JSON strings by applying specified transformation mappings. |