Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dlp/v2.DeidentifyTemplate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. Auto-naming is currently not supported for this resource.
Create DeidentifyTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeidentifyTemplate(name: string, args?: DeidentifyTemplateArgs, opts?: CustomResourceOptions);
@overload
def DeidentifyTemplate(resource_name: str,
args: Optional[DeidentifyTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DeidentifyTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
deidentify_config: Optional[GooglePrivacyDlpV2DeidentifyConfigArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
template_id: Optional[str] = None)
func NewDeidentifyTemplate(ctx *Context, name string, args *DeidentifyTemplateArgs, opts ...ResourceOption) (*DeidentifyTemplate, error)
public DeidentifyTemplate(string name, DeidentifyTemplateArgs? args = null, CustomResourceOptions? opts = null)
public DeidentifyTemplate(String name, DeidentifyTemplateArgs args)
public DeidentifyTemplate(String name, DeidentifyTemplateArgs args, CustomResourceOptions options)
type: google-native:dlp/v2:DeidentifyTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeidentifyTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DeidentifyTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeidentifyTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeidentifyTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeidentifyTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var deidentifyTemplateResource = new GoogleNative.DLP.V2.DeidentifyTemplate("deidentifyTemplateResource", new()
{
DeidentifyConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DeidentifyConfigArgs
{
ImageTransformations = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ImageTransformationsArgs
{
Transforms = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ImageTransformationArgs
{
AllInfoTypes = null,
AllText = null,
RedactionColor = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ColorArgs
{
Blue = 0,
Green = 0,
Red = 0,
},
SelectedInfoTypes = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SelectedInfoTypesArgs
{
InfoTypes = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
},
},
},
},
InfoTypeTransformations = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeTransformationsArgs
{
Transformations = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeTransformationArgs
{
PrimitiveTransformation = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2PrimitiveTransformationArgs
{
BucketingConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BucketingConfigArgs
{
Buckets = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BucketArgs
{
ReplacementValue = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
Max = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
Min = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
},
},
CharacterMaskConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CharacterMaskConfigArgs
{
CharactersToIgnore = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CharsToIgnoreArgs
{
CharactersToSkip = "string",
CommonCharactersToIgnore = GoogleNative.DLP.V2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.CommonCharsToIgnoreUnspecified,
},
},
MaskingCharacter = "string",
NumberToMask = 0,
ReverseOrder = false,
},
CryptoDeterministicConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoDeterministicConfigArgs
{
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
SurrogateInfoType = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
CryptoHashConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoHashConfigArgs
{
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
},
CryptoReplaceFfxFpeConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs
{
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
CommonAlphabet = GoogleNative.DLP.V2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FfxCommonNativeAlphabetUnspecified,
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CustomAlphabet = "string",
Radix = 0,
SurrogateInfoType = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
DateShiftConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DateShiftConfigArgs
{
LowerBoundDays = 0,
UpperBoundDays = 0,
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
},
FixedSizeBucketingConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FixedSizeBucketingConfigArgs
{
BucketSize = 0,
LowerBound = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
UpperBound = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
RedactConfig = null,
ReplaceConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ReplaceValueConfigArgs
{
NewValue = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
ReplaceDictionaryConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ReplaceDictionaryConfigArgs
{
WordList = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2WordListArgs
{
Words = new[]
{
"string",
},
},
},
ReplaceWithInfoTypeConfig = null,
TimePartConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TimePartConfigArgs
{
PartToExtract = GoogleNative.DLP.V2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TimePartUnspecified,
},
},
InfoTypes = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
},
},
},
RecordTransformations = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2RecordTransformationsArgs
{
FieldTransformations = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldTransformationArgs
{
Fields = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
},
Condition = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2RecordConditionArgs
{
Expressions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ExpressionsArgs
{
Conditions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ConditionsArgs
{
Conditions = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ConditionArgs
{
Field = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
Operator = GoogleNative.DLP.V2.GooglePrivacyDlpV2ConditionOperator.RelationalOperatorUnspecified,
Value = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
},
},
LogicalOperator = GoogleNative.DLP.V2.GooglePrivacyDlpV2ExpressionsLogicalOperator.LogicalOperatorUnspecified,
},
},
InfoTypeTransformations = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeTransformationsArgs
{
Transformations = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeTransformationArgs
{
PrimitiveTransformation = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2PrimitiveTransformationArgs
{
BucketingConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BucketingConfigArgs
{
Buckets = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BucketArgs
{
ReplacementValue = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
Max = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
Min = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
},
},
CharacterMaskConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CharacterMaskConfigArgs
{
CharactersToIgnore = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CharsToIgnoreArgs
{
CharactersToSkip = "string",
CommonCharactersToIgnore = GoogleNative.DLP.V2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.CommonCharsToIgnoreUnspecified,
},
},
MaskingCharacter = "string",
NumberToMask = 0,
ReverseOrder = false,
},
CryptoDeterministicConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoDeterministicConfigArgs
{
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
SurrogateInfoType = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
CryptoHashConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoHashConfigArgs
{
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
},
CryptoReplaceFfxFpeConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs
{
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
CommonAlphabet = GoogleNative.DLP.V2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FfxCommonNativeAlphabetUnspecified,
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CustomAlphabet = "string",
Radix = 0,
SurrogateInfoType = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
DateShiftConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DateShiftConfigArgs
{
LowerBoundDays = 0,
UpperBoundDays = 0,
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
},
FixedSizeBucketingConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FixedSizeBucketingConfigArgs
{
BucketSize = 0,
LowerBound = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
UpperBound = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
RedactConfig = null,
ReplaceConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ReplaceValueConfigArgs
{
NewValue = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
ReplaceDictionaryConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ReplaceDictionaryConfigArgs
{
WordList = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2WordListArgs
{
Words = new[]
{
"string",
},
},
},
ReplaceWithInfoTypeConfig = null,
TimePartConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TimePartConfigArgs
{
PartToExtract = GoogleNative.DLP.V2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TimePartUnspecified,
},
},
InfoTypes = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
},
},
},
PrimitiveTransformation = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2PrimitiveTransformationArgs
{
BucketingConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BucketingConfigArgs
{
Buckets = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BucketArgs
{
ReplacementValue = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
Max = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
Min = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
},
},
CharacterMaskConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CharacterMaskConfigArgs
{
CharactersToIgnore = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CharsToIgnoreArgs
{
CharactersToSkip = "string",
CommonCharactersToIgnore = GoogleNative.DLP.V2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.CommonCharsToIgnoreUnspecified,
},
},
MaskingCharacter = "string",
NumberToMask = 0,
ReverseOrder = false,
},
CryptoDeterministicConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoDeterministicConfigArgs
{
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
SurrogateInfoType = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
CryptoHashConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoHashConfigArgs
{
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
},
CryptoReplaceFfxFpeConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs
{
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
CommonAlphabet = GoogleNative.DLP.V2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FfxCommonNativeAlphabetUnspecified,
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CustomAlphabet = "string",
Radix = 0,
SurrogateInfoType = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2InfoTypeArgs
{
Name = "string",
SensitivityScore = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2SensitivityScoreArgs
{
Score = GoogleNative.DLP.V2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
Version = "string",
},
},
DateShiftConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DateShiftConfigArgs
{
LowerBoundDays = 0,
UpperBoundDays = 0,
Context = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
CryptoKey = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2CryptoKeyArgs
{
KmsWrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs
{
CryptoKeyName = "string",
WrappedKey = "string",
},
Transient = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransientCryptoKeyArgs
{
Name = "string",
},
Unwrapped = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs
{
Key = "string",
},
},
},
FixedSizeBucketingConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FixedSizeBucketingConfigArgs
{
BucketSize = 0,
LowerBound = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
UpperBound = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
RedactConfig = null,
ReplaceConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ReplaceValueConfigArgs
{
NewValue = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
ReplaceDictionaryConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ReplaceDictionaryConfigArgs
{
WordList = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2WordListArgs
{
Words = new[]
{
"string",
},
},
},
ReplaceWithInfoTypeConfig = null,
TimePartConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TimePartConfigArgs
{
PartToExtract = GoogleNative.DLP.V2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TimePartUnspecified,
},
},
},
},
RecordSuppressions = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2RecordSuppressionArgs
{
Condition = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2RecordConditionArgs
{
Expressions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ExpressionsArgs
{
Conditions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ConditionsArgs
{
Conditions = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ConditionArgs
{
Field = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2FieldIdArgs
{
Name = "string",
},
Operator = GoogleNative.DLP.V2.GooglePrivacyDlpV2ConditionOperator.RelationalOperatorUnspecified,
Value = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ValueArgs
{
BooleanValue = false,
DateValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeDateArgs
{
Day = 0,
Month = 0,
Year = 0,
},
DayOfWeekValue = GoogleNative.DLP.V2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
FloatValue = 0,
IntegerValue = "string",
StringValue = "string",
TimeValue = new GoogleNative.DLP.V2.Inputs.GoogleTypeTimeOfDayArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
TimestampValue = "string",
},
},
},
},
LogicalOperator = GoogleNative.DLP.V2.GooglePrivacyDlpV2ExpressionsLogicalOperator.LogicalOperatorUnspecified,
},
},
},
},
},
TransformationErrorHandling = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2TransformationErrorHandlingArgs
{
LeaveUntransformed = null,
ThrowError = null,
},
},
Description = "string",
DisplayName = "string",
Project = "string",
TemplateId = "string",
});
example, err := dlp.NewDeidentifyTemplate(ctx, "deidentifyTemplateResource", &dlp.DeidentifyTemplateArgs{
DeidentifyConfig: &dlp.GooglePrivacyDlpV2DeidentifyConfigArgs{
ImageTransformations: &dlp.GooglePrivacyDlpV2ImageTransformationsArgs{
Transforms: dlp.GooglePrivacyDlpV2ImageTransformationArray{
&dlp.GooglePrivacyDlpV2ImageTransformationArgs{
AllInfoTypes: &dlp.GooglePrivacyDlpV2AllInfoTypesArgs{},
AllText: &dlp.GooglePrivacyDlpV2AllTextArgs{},
RedactionColor: &dlp.GooglePrivacyDlpV2ColorArgs{
Blue: pulumi.Float64(0),
Green: pulumi.Float64(0),
Red: pulumi.Float64(0),
},
SelectedInfoTypes: &dlp.GooglePrivacyDlpV2SelectedInfoTypesArgs{
InfoTypes: dlp.GooglePrivacyDlpV2InfoTypeArray{
&dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
},
},
},
},
InfoTypeTransformations: &dlp.GooglePrivacyDlpV2InfoTypeTransformationsArgs{
Transformations: dlp.GooglePrivacyDlpV2InfoTypeTransformationArray{
&dlp.GooglePrivacyDlpV2InfoTypeTransformationArgs{
PrimitiveTransformation: &dlp.GooglePrivacyDlpV2PrimitiveTransformationArgs{
BucketingConfig: &dlp.GooglePrivacyDlpV2BucketingConfigArgs{
Buckets: dlp.GooglePrivacyDlpV2BucketArray{
&dlp.GooglePrivacyDlpV2BucketArgs{
ReplacementValue: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
Max: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
Min: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
},
},
CharacterMaskConfig: &dlp.GooglePrivacyDlpV2CharacterMaskConfigArgs{
CharactersToIgnore: dlp.GooglePrivacyDlpV2CharsToIgnoreArray{
&dlp.GooglePrivacyDlpV2CharsToIgnoreArgs{
CharactersToSkip: pulumi.String("string"),
CommonCharactersToIgnore: dlp.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreCommonCharsToIgnoreUnspecified,
},
},
MaskingCharacter: pulumi.String("string"),
NumberToMask: pulumi.Int(0),
ReverseOrder: pulumi.Bool(false),
},
CryptoDeterministicConfig: &dlp.GooglePrivacyDlpV2CryptoDeterministicConfigArgs{
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
SurrogateInfoType: &dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
CryptoHashConfig: &dlp.GooglePrivacyDlpV2CryptoHashConfigArgs{
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
},
CryptoReplaceFfxFpeConfig: &dlp.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs{
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
CommonAlphabet: dlp.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetFfxCommonNativeAlphabetUnspecified,
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CustomAlphabet: pulumi.String("string"),
Radix: pulumi.Int(0),
SurrogateInfoType: &dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
DateShiftConfig: &dlp.GooglePrivacyDlpV2DateShiftConfigArgs{
LowerBoundDays: pulumi.Int(0),
UpperBoundDays: pulumi.Int(0),
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
},
FixedSizeBucketingConfig: &dlp.GooglePrivacyDlpV2FixedSizeBucketingConfigArgs{
BucketSize: pulumi.Float64(0),
LowerBound: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
UpperBound: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
RedactConfig: &dlp.GooglePrivacyDlpV2RedactConfigArgs{},
ReplaceConfig: &dlp.GooglePrivacyDlpV2ReplaceValueConfigArgs{
NewValue: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
ReplaceDictionaryConfig: &dlp.GooglePrivacyDlpV2ReplaceDictionaryConfigArgs{
WordList: &dlp.GooglePrivacyDlpV2WordListArgs{
Words: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ReplaceWithInfoTypeConfig: &dlp.GooglePrivacyDlpV2ReplaceWithInfoTypeConfigArgs{},
TimePartConfig: &dlp.GooglePrivacyDlpV2TimePartConfigArgs{
PartToExtract: dlp.GooglePrivacyDlpV2TimePartConfigPartToExtractTimePartUnspecified,
},
},
InfoTypes: dlp.GooglePrivacyDlpV2InfoTypeArray{
&dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
},
},
},
RecordTransformations: &dlp.GooglePrivacyDlpV2RecordTransformationsArgs{
FieldTransformations: dlp.GooglePrivacyDlpV2FieldTransformationArray{
&dlp.GooglePrivacyDlpV2FieldTransformationArgs{
Fields: dlp.GooglePrivacyDlpV2FieldIdArray{
&dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
},
Condition: &dlp.GooglePrivacyDlpV2RecordConditionArgs{
Expressions: &dlp.GooglePrivacyDlpV2ExpressionsArgs{
Conditions: &dlp.GooglePrivacyDlpV2ConditionsArgs{
Conditions: dlp.GooglePrivacyDlpV2ConditionArray{
&dlp.GooglePrivacyDlpV2ConditionArgs{
Field: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
Operator: dlp.GooglePrivacyDlpV2ConditionOperatorRelationalOperatorUnspecified,
Value: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
},
},
LogicalOperator: dlp.GooglePrivacyDlpV2ExpressionsLogicalOperatorLogicalOperatorUnspecified,
},
},
InfoTypeTransformations: &dlp.GooglePrivacyDlpV2InfoTypeTransformationsArgs{
Transformations: dlp.GooglePrivacyDlpV2InfoTypeTransformationArray{
&dlp.GooglePrivacyDlpV2InfoTypeTransformationArgs{
PrimitiveTransformation: &dlp.GooglePrivacyDlpV2PrimitiveTransformationArgs{
BucketingConfig: &dlp.GooglePrivacyDlpV2BucketingConfigArgs{
Buckets: dlp.GooglePrivacyDlpV2BucketArray{
&dlp.GooglePrivacyDlpV2BucketArgs{
ReplacementValue: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
Max: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
Min: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
},
},
CharacterMaskConfig: &dlp.GooglePrivacyDlpV2CharacterMaskConfigArgs{
CharactersToIgnore: dlp.GooglePrivacyDlpV2CharsToIgnoreArray{
&dlp.GooglePrivacyDlpV2CharsToIgnoreArgs{
CharactersToSkip: pulumi.String("string"),
CommonCharactersToIgnore: dlp.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreCommonCharsToIgnoreUnspecified,
},
},
MaskingCharacter: pulumi.String("string"),
NumberToMask: pulumi.Int(0),
ReverseOrder: pulumi.Bool(false),
},
CryptoDeterministicConfig: &dlp.GooglePrivacyDlpV2CryptoDeterministicConfigArgs{
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
SurrogateInfoType: &dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
CryptoHashConfig: &dlp.GooglePrivacyDlpV2CryptoHashConfigArgs{
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
},
CryptoReplaceFfxFpeConfig: &dlp.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs{
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
CommonAlphabet: dlp.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetFfxCommonNativeAlphabetUnspecified,
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CustomAlphabet: pulumi.String("string"),
Radix: pulumi.Int(0),
SurrogateInfoType: &dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
DateShiftConfig: &dlp.GooglePrivacyDlpV2DateShiftConfigArgs{
LowerBoundDays: pulumi.Int(0),
UpperBoundDays: pulumi.Int(0),
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
},
FixedSizeBucketingConfig: &dlp.GooglePrivacyDlpV2FixedSizeBucketingConfigArgs{
BucketSize: pulumi.Float64(0),
LowerBound: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
UpperBound: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
RedactConfig: &dlp.GooglePrivacyDlpV2RedactConfigArgs{},
ReplaceConfig: &dlp.GooglePrivacyDlpV2ReplaceValueConfigArgs{
NewValue: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
ReplaceDictionaryConfig: &dlp.GooglePrivacyDlpV2ReplaceDictionaryConfigArgs{
WordList: &dlp.GooglePrivacyDlpV2WordListArgs{
Words: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ReplaceWithInfoTypeConfig: &dlp.GooglePrivacyDlpV2ReplaceWithInfoTypeConfigArgs{},
TimePartConfig: &dlp.GooglePrivacyDlpV2TimePartConfigArgs{
PartToExtract: dlp.GooglePrivacyDlpV2TimePartConfigPartToExtractTimePartUnspecified,
},
},
InfoTypes: dlp.GooglePrivacyDlpV2InfoTypeArray{
&dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
},
},
},
PrimitiveTransformation: &dlp.GooglePrivacyDlpV2PrimitiveTransformationArgs{
BucketingConfig: &dlp.GooglePrivacyDlpV2BucketingConfigArgs{
Buckets: dlp.GooglePrivacyDlpV2BucketArray{
&dlp.GooglePrivacyDlpV2BucketArgs{
ReplacementValue: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
Max: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
Min: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
},
},
CharacterMaskConfig: &dlp.GooglePrivacyDlpV2CharacterMaskConfigArgs{
CharactersToIgnore: dlp.GooglePrivacyDlpV2CharsToIgnoreArray{
&dlp.GooglePrivacyDlpV2CharsToIgnoreArgs{
CharactersToSkip: pulumi.String("string"),
CommonCharactersToIgnore: dlp.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreCommonCharsToIgnoreUnspecified,
},
},
MaskingCharacter: pulumi.String("string"),
NumberToMask: pulumi.Int(0),
ReverseOrder: pulumi.Bool(false),
},
CryptoDeterministicConfig: &dlp.GooglePrivacyDlpV2CryptoDeterministicConfigArgs{
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
SurrogateInfoType: &dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
CryptoHashConfig: &dlp.GooglePrivacyDlpV2CryptoHashConfigArgs{
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
},
CryptoReplaceFfxFpeConfig: &dlp.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs{
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
CommonAlphabet: dlp.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetFfxCommonNativeAlphabetUnspecified,
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CustomAlphabet: pulumi.String("string"),
Radix: pulumi.Int(0),
SurrogateInfoType: &dlp.GooglePrivacyDlpV2InfoTypeArgs{
Name: pulumi.String("string"),
SensitivityScore: &dlp.GooglePrivacyDlpV2SensitivityScoreArgs{
Score: dlp.GooglePrivacyDlpV2SensitivityScoreScoreSensitivityScoreUnspecified,
},
Version: pulumi.String("string"),
},
},
DateShiftConfig: &dlp.GooglePrivacyDlpV2DateShiftConfigArgs{
LowerBoundDays: pulumi.Int(0),
UpperBoundDays: pulumi.Int(0),
Context: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
CryptoKey: &dlp.GooglePrivacyDlpV2CryptoKeyArgs{
KmsWrapped: &dlp.GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs{
CryptoKeyName: pulumi.String("string"),
WrappedKey: pulumi.String("string"),
},
Transient: &dlp.GooglePrivacyDlpV2TransientCryptoKeyArgs{
Name: pulumi.String("string"),
},
Unwrapped: &dlp.GooglePrivacyDlpV2UnwrappedCryptoKeyArgs{
Key: pulumi.String("string"),
},
},
},
FixedSizeBucketingConfig: &dlp.GooglePrivacyDlpV2FixedSizeBucketingConfigArgs{
BucketSize: pulumi.Float64(0),
LowerBound: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
UpperBound: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
RedactConfig: &dlp.GooglePrivacyDlpV2RedactConfigArgs{},
ReplaceConfig: &dlp.GooglePrivacyDlpV2ReplaceValueConfigArgs{
NewValue: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
ReplaceDictionaryConfig: &dlp.GooglePrivacyDlpV2ReplaceDictionaryConfigArgs{
WordList: &dlp.GooglePrivacyDlpV2WordListArgs{
Words: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ReplaceWithInfoTypeConfig: &dlp.GooglePrivacyDlpV2ReplaceWithInfoTypeConfigArgs{},
TimePartConfig: &dlp.GooglePrivacyDlpV2TimePartConfigArgs{
PartToExtract: dlp.GooglePrivacyDlpV2TimePartConfigPartToExtractTimePartUnspecified,
},
},
},
},
RecordSuppressions: dlp.GooglePrivacyDlpV2RecordSuppressionArray{
&dlp.GooglePrivacyDlpV2RecordSuppressionArgs{
Condition: &dlp.GooglePrivacyDlpV2RecordConditionArgs{
Expressions: &dlp.GooglePrivacyDlpV2ExpressionsArgs{
Conditions: &dlp.GooglePrivacyDlpV2ConditionsArgs{
Conditions: dlp.GooglePrivacyDlpV2ConditionArray{
&dlp.GooglePrivacyDlpV2ConditionArgs{
Field: &dlp.GooglePrivacyDlpV2FieldIdArgs{
Name: pulumi.String("string"),
},
Operator: dlp.GooglePrivacyDlpV2ConditionOperatorRelationalOperatorUnspecified,
Value: &dlp.GooglePrivacyDlpV2ValueArgs{
BooleanValue: pulumi.Bool(false),
DateValue: &dlp.GoogleTypeDateArgs{
Day: pulumi.Int(0),
Month: pulumi.Int(0),
Year: pulumi.Int(0),
},
DayOfWeekValue: dlp.GooglePrivacyDlpV2ValueDayOfWeekValueDayOfWeekUnspecified,
FloatValue: pulumi.Float64(0),
IntegerValue: pulumi.String("string"),
StringValue: pulumi.String("string"),
TimeValue: &dlp.GoogleTypeTimeOfDayArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Nanos: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
TimestampValue: pulumi.String("string"),
},
},
},
},
LogicalOperator: dlp.GooglePrivacyDlpV2ExpressionsLogicalOperatorLogicalOperatorUnspecified,
},
},
},
},
},
TransformationErrorHandling: &dlp.GooglePrivacyDlpV2TransformationErrorHandlingArgs{
LeaveUntransformed: &dlp.GooglePrivacyDlpV2LeaveUntransformedArgs{},
ThrowError: &dlp.GooglePrivacyDlpV2ThrowErrorArgs{},
},
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Project: pulumi.String("string"),
TemplateId: pulumi.String("string"),
})
var deidentifyTemplateResource = new DeidentifyTemplate("deidentifyTemplateResource", DeidentifyTemplateArgs.builder()
.deidentifyConfig(GooglePrivacyDlpV2DeidentifyConfigArgs.builder()
.imageTransformations(GooglePrivacyDlpV2ImageTransformationsArgs.builder()
.transforms(GooglePrivacyDlpV2ImageTransformationArgs.builder()
.allInfoTypes()
.allText()
.redactionColor(GooglePrivacyDlpV2ColorArgs.builder()
.blue(0)
.green(0)
.red(0)
.build())
.selectedInfoTypes(GooglePrivacyDlpV2SelectedInfoTypesArgs.builder()
.infoTypes(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.build())
.build())
.infoTypeTransformations(GooglePrivacyDlpV2InfoTypeTransformationsArgs.builder()
.transformations(GooglePrivacyDlpV2InfoTypeTransformationArgs.builder()
.primitiveTransformation(GooglePrivacyDlpV2PrimitiveTransformationArgs.builder()
.bucketingConfig(GooglePrivacyDlpV2BucketingConfigArgs.builder()
.buckets(GooglePrivacyDlpV2BucketArgs.builder()
.replacementValue(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.max(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.min(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.build())
.characterMaskConfig(GooglePrivacyDlpV2CharacterMaskConfigArgs.builder()
.charactersToIgnore(GooglePrivacyDlpV2CharsToIgnoreArgs.builder()
.charactersToSkip("string")
.commonCharactersToIgnore("COMMON_CHARS_TO_IGNORE_UNSPECIFIED")
.build())
.maskingCharacter("string")
.numberToMask(0)
.reverseOrder(false)
.build())
.cryptoDeterministicConfig(GooglePrivacyDlpV2CryptoDeterministicConfigArgs.builder()
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.surrogateInfoType(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.cryptoHashConfig(GooglePrivacyDlpV2CryptoHashConfigArgs.builder()
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.build())
.cryptoReplaceFfxFpeConfig(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs.builder()
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.commonAlphabet("FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED")
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.customAlphabet("string")
.radix(0)
.surrogateInfoType(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.dateShiftConfig(GooglePrivacyDlpV2DateShiftConfigArgs.builder()
.lowerBoundDays(0)
.upperBoundDays(0)
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.build())
.fixedSizeBucketingConfig(GooglePrivacyDlpV2FixedSizeBucketingConfigArgs.builder()
.bucketSize(0)
.lowerBound(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.upperBound(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.redactConfig()
.replaceConfig(GooglePrivacyDlpV2ReplaceValueConfigArgs.builder()
.newValue(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.replaceDictionaryConfig(GooglePrivacyDlpV2ReplaceDictionaryConfigArgs.builder()
.wordList(GooglePrivacyDlpV2WordListArgs.builder()
.words("string")
.build())
.build())
.replaceWithInfoTypeConfig()
.timePartConfig(GooglePrivacyDlpV2TimePartConfigArgs.builder()
.partToExtract("TIME_PART_UNSPECIFIED")
.build())
.build())
.infoTypes(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.build())
.recordTransformations(GooglePrivacyDlpV2RecordTransformationsArgs.builder()
.fieldTransformations(GooglePrivacyDlpV2FieldTransformationArgs.builder()
.fields(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.condition(GooglePrivacyDlpV2RecordConditionArgs.builder()
.expressions(GooglePrivacyDlpV2ExpressionsArgs.builder()
.conditions(GooglePrivacyDlpV2ConditionsArgs.builder()
.conditions(GooglePrivacyDlpV2ConditionArgs.builder()
.field(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.operator("RELATIONAL_OPERATOR_UNSPECIFIED")
.value(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.build())
.logicalOperator("LOGICAL_OPERATOR_UNSPECIFIED")
.build())
.build())
.infoTypeTransformations(GooglePrivacyDlpV2InfoTypeTransformationsArgs.builder()
.transformations(GooglePrivacyDlpV2InfoTypeTransformationArgs.builder()
.primitiveTransformation(GooglePrivacyDlpV2PrimitiveTransformationArgs.builder()
.bucketingConfig(GooglePrivacyDlpV2BucketingConfigArgs.builder()
.buckets(GooglePrivacyDlpV2BucketArgs.builder()
.replacementValue(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.max(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.min(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.build())
.characterMaskConfig(GooglePrivacyDlpV2CharacterMaskConfigArgs.builder()
.charactersToIgnore(GooglePrivacyDlpV2CharsToIgnoreArgs.builder()
.charactersToSkip("string")
.commonCharactersToIgnore("COMMON_CHARS_TO_IGNORE_UNSPECIFIED")
.build())
.maskingCharacter("string")
.numberToMask(0)
.reverseOrder(false)
.build())
.cryptoDeterministicConfig(GooglePrivacyDlpV2CryptoDeterministicConfigArgs.builder()
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.surrogateInfoType(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.cryptoHashConfig(GooglePrivacyDlpV2CryptoHashConfigArgs.builder()
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.build())
.cryptoReplaceFfxFpeConfig(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs.builder()
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.commonAlphabet("FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED")
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.customAlphabet("string")
.radix(0)
.surrogateInfoType(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.dateShiftConfig(GooglePrivacyDlpV2DateShiftConfigArgs.builder()
.lowerBoundDays(0)
.upperBoundDays(0)
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.build())
.fixedSizeBucketingConfig(GooglePrivacyDlpV2FixedSizeBucketingConfigArgs.builder()
.bucketSize(0)
.lowerBound(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.upperBound(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.redactConfig()
.replaceConfig(GooglePrivacyDlpV2ReplaceValueConfigArgs.builder()
.newValue(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.replaceDictionaryConfig(GooglePrivacyDlpV2ReplaceDictionaryConfigArgs.builder()
.wordList(GooglePrivacyDlpV2WordListArgs.builder()
.words("string")
.build())
.build())
.replaceWithInfoTypeConfig()
.timePartConfig(GooglePrivacyDlpV2TimePartConfigArgs.builder()
.partToExtract("TIME_PART_UNSPECIFIED")
.build())
.build())
.infoTypes(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.build())
.primitiveTransformation(GooglePrivacyDlpV2PrimitiveTransformationArgs.builder()
.bucketingConfig(GooglePrivacyDlpV2BucketingConfigArgs.builder()
.buckets(GooglePrivacyDlpV2BucketArgs.builder()
.replacementValue(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.max(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.min(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.build())
.characterMaskConfig(GooglePrivacyDlpV2CharacterMaskConfigArgs.builder()
.charactersToIgnore(GooglePrivacyDlpV2CharsToIgnoreArgs.builder()
.charactersToSkip("string")
.commonCharactersToIgnore("COMMON_CHARS_TO_IGNORE_UNSPECIFIED")
.build())
.maskingCharacter("string")
.numberToMask(0)
.reverseOrder(false)
.build())
.cryptoDeterministicConfig(GooglePrivacyDlpV2CryptoDeterministicConfigArgs.builder()
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.surrogateInfoType(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.cryptoHashConfig(GooglePrivacyDlpV2CryptoHashConfigArgs.builder()
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.build())
.cryptoReplaceFfxFpeConfig(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs.builder()
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.commonAlphabet("FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED")
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.customAlphabet("string")
.radix(0)
.surrogateInfoType(GooglePrivacyDlpV2InfoTypeArgs.builder()
.name("string")
.sensitivityScore(GooglePrivacyDlpV2SensitivityScoreArgs.builder()
.score("SENSITIVITY_SCORE_UNSPECIFIED")
.build())
.version("string")
.build())
.build())
.dateShiftConfig(GooglePrivacyDlpV2DateShiftConfigArgs.builder()
.lowerBoundDays(0)
.upperBoundDays(0)
.context(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.cryptoKey(GooglePrivacyDlpV2CryptoKeyArgs.builder()
.kmsWrapped(GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs.builder()
.cryptoKeyName("string")
.wrappedKey("string")
.build())
.transient_(GooglePrivacyDlpV2TransientCryptoKeyArgs.builder()
.name("string")
.build())
.unwrapped(GooglePrivacyDlpV2UnwrappedCryptoKeyArgs.builder()
.key("string")
.build())
.build())
.build())
.fixedSizeBucketingConfig(GooglePrivacyDlpV2FixedSizeBucketingConfigArgs.builder()
.bucketSize(0)
.lowerBound(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.upperBound(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.redactConfig()
.replaceConfig(GooglePrivacyDlpV2ReplaceValueConfigArgs.builder()
.newValue(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.replaceDictionaryConfig(GooglePrivacyDlpV2ReplaceDictionaryConfigArgs.builder()
.wordList(GooglePrivacyDlpV2WordListArgs.builder()
.words("string")
.build())
.build())
.replaceWithInfoTypeConfig()
.timePartConfig(GooglePrivacyDlpV2TimePartConfigArgs.builder()
.partToExtract("TIME_PART_UNSPECIFIED")
.build())
.build())
.build())
.recordSuppressions(GooglePrivacyDlpV2RecordSuppressionArgs.builder()
.condition(GooglePrivacyDlpV2RecordConditionArgs.builder()
.expressions(GooglePrivacyDlpV2ExpressionsArgs.builder()
.conditions(GooglePrivacyDlpV2ConditionsArgs.builder()
.conditions(GooglePrivacyDlpV2ConditionArgs.builder()
.field(GooglePrivacyDlpV2FieldIdArgs.builder()
.name("string")
.build())
.operator("RELATIONAL_OPERATOR_UNSPECIFIED")
.value(GooglePrivacyDlpV2ValueArgs.builder()
.booleanValue(false)
.dateValue(GoogleTypeDateArgs.builder()
.day(0)
.month(0)
.year(0)
.build())
.dayOfWeekValue("DAY_OF_WEEK_UNSPECIFIED")
.floatValue(0)
.integerValue("string")
.stringValue("string")
.timeValue(GoogleTypeTimeOfDayArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.timestampValue("string")
.build())
.build())
.build())
.logicalOperator("LOGICAL_OPERATOR_UNSPECIFIED")
.build())
.build())
.build())
.build())
.transformationErrorHandling(GooglePrivacyDlpV2TransformationErrorHandlingArgs.builder()
.leaveUntransformed()
.throwError()
.build())
.build())
.description("string")
.displayName("string")
.project("string")
.templateId("string")
.build());
deidentify_template_resource = google_native.dlp.v2.DeidentifyTemplate("deidentifyTemplateResource",
deidentify_config={
"image_transformations": {
"transforms": [{
"all_info_types": {},
"all_text": {},
"redaction_color": {
"blue": 0,
"green": 0,
"red": 0,
},
"selected_info_types": {
"info_types": [{
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
}],
},
}],
},
"info_type_transformations": {
"transformations": [{
"primitive_transformation": {
"bucketing_config": {
"buckets": [{
"replacement_value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"max": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"min": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
}],
},
"character_mask_config": {
"characters_to_ignore": [{
"characters_to_skip": "string",
"common_characters_to_ignore": google_native.dlp.v2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED,
}],
"masking_character": "string",
"number_to_mask": 0,
"reverse_order": False,
},
"crypto_deterministic_config": {
"context": {
"name": "string",
},
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
"surrogate_info_type": {
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
},
},
"crypto_hash_config": {
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
},
"crypto_replace_ffx_fpe_config": {
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
"common_alphabet": google_native.dlp.v2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,
"context": {
"name": "string",
},
"custom_alphabet": "string",
"radix": 0,
"surrogate_info_type": {
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
},
},
"date_shift_config": {
"lower_bound_days": 0,
"upper_bound_days": 0,
"context": {
"name": "string",
},
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
},
"fixed_size_bucketing_config": {
"bucket_size": 0,
"lower_bound": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"upper_bound": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
},
"redact_config": {},
"replace_config": {
"new_value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
},
"replace_dictionary_config": {
"word_list": {
"words": ["string"],
},
},
"replace_with_info_type_config": {},
"time_part_config": {
"part_to_extract": google_native.dlp.v2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TIME_PART_UNSPECIFIED,
},
},
"info_types": [{
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
}],
}],
},
"record_transformations": {
"field_transformations": [{
"fields": [{
"name": "string",
}],
"condition": {
"expressions": {
"conditions": {
"conditions": [{
"field": {
"name": "string",
},
"operator": google_native.dlp.v2.GooglePrivacyDlpV2ConditionOperator.RELATIONAL_OPERATOR_UNSPECIFIED,
"value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
}],
},
"logical_operator": google_native.dlp.v2.GooglePrivacyDlpV2ExpressionsLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED,
},
},
"info_type_transformations": {
"transformations": [{
"primitive_transformation": {
"bucketing_config": {
"buckets": [{
"replacement_value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"max": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"min": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
}],
},
"character_mask_config": {
"characters_to_ignore": [{
"characters_to_skip": "string",
"common_characters_to_ignore": google_native.dlp.v2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED,
}],
"masking_character": "string",
"number_to_mask": 0,
"reverse_order": False,
},
"crypto_deterministic_config": {
"context": {
"name": "string",
},
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
"surrogate_info_type": {
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
},
},
"crypto_hash_config": {
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
},
"crypto_replace_ffx_fpe_config": {
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
"common_alphabet": google_native.dlp.v2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,
"context": {
"name": "string",
},
"custom_alphabet": "string",
"radix": 0,
"surrogate_info_type": {
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
},
},
"date_shift_config": {
"lower_bound_days": 0,
"upper_bound_days": 0,
"context": {
"name": "string",
},
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
},
"fixed_size_bucketing_config": {
"bucket_size": 0,
"lower_bound": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"upper_bound": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
},
"redact_config": {},
"replace_config": {
"new_value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
},
"replace_dictionary_config": {
"word_list": {
"words": ["string"],
},
},
"replace_with_info_type_config": {},
"time_part_config": {
"part_to_extract": google_native.dlp.v2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TIME_PART_UNSPECIFIED,
},
},
"info_types": [{
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
}],
}],
},
"primitive_transformation": {
"bucketing_config": {
"buckets": [{
"replacement_value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"max": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"min": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
}],
},
"character_mask_config": {
"characters_to_ignore": [{
"characters_to_skip": "string",
"common_characters_to_ignore": google_native.dlp.v2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.COMMON_CHARS_TO_IGNORE_UNSPECIFIED,
}],
"masking_character": "string",
"number_to_mask": 0,
"reverse_order": False,
},
"crypto_deterministic_config": {
"context": {
"name": "string",
},
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
"surrogate_info_type": {
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
},
},
"crypto_hash_config": {
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
},
"crypto_replace_ffx_fpe_config": {
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
"common_alphabet": google_native.dlp.v2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED,
"context": {
"name": "string",
},
"custom_alphabet": "string",
"radix": 0,
"surrogate_info_type": {
"name": "string",
"sensitivity_score": {
"score": google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SENSITIVITY_SCORE_UNSPECIFIED,
},
"version": "string",
},
},
"date_shift_config": {
"lower_bound_days": 0,
"upper_bound_days": 0,
"context": {
"name": "string",
},
"crypto_key": {
"kms_wrapped": {
"crypto_key_name": "string",
"wrapped_key": "string",
},
"transient": {
"name": "string",
},
"unwrapped": {
"key": "string",
},
},
},
"fixed_size_bucketing_config": {
"bucket_size": 0,
"lower_bound": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
"upper_bound": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
},
"redact_config": {},
"replace_config": {
"new_value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
},
"replace_dictionary_config": {
"word_list": {
"words": ["string"],
},
},
"replace_with_info_type_config": {},
"time_part_config": {
"part_to_extract": google_native.dlp.v2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TIME_PART_UNSPECIFIED,
},
},
}],
"record_suppressions": [{
"condition": {
"expressions": {
"conditions": {
"conditions": [{
"field": {
"name": "string",
},
"operator": google_native.dlp.v2.GooglePrivacyDlpV2ConditionOperator.RELATIONAL_OPERATOR_UNSPECIFIED,
"value": {
"boolean_value": False,
"date_value": {
"day": 0,
"month": 0,
"year": 0,
},
"day_of_week_value": google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DAY_OF_WEEK_UNSPECIFIED,
"float_value": 0,
"integer_value": "string",
"string_value": "string",
"time_value": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0,
},
"timestamp_value": "string",
},
}],
},
"logical_operator": google_native.dlp.v2.GooglePrivacyDlpV2ExpressionsLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED,
},
},
}],
},
"transformation_error_handling": {
"leave_untransformed": {},
"throw_error": {},
},
},
description="string",
display_name="string",
project="string",
template_id="string")
const deidentifyTemplateResource = new google_native.dlp.v2.DeidentifyTemplate("deidentifyTemplateResource", {
deidentifyConfig: {
imageTransformations: {
transforms: [{
allInfoTypes: {},
allText: {},
redactionColor: {
blue: 0,
green: 0,
red: 0,
},
selectedInfoTypes: {
infoTypes: [{
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
}],
},
}],
},
infoTypeTransformations: {
transformations: [{
primitiveTransformation: {
bucketingConfig: {
buckets: [{
replacementValue: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
max: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
min: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
}],
},
characterMaskConfig: {
charactersToIgnore: [{
charactersToSkip: "string",
commonCharactersToIgnore: google_native.dlp.v2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.CommonCharsToIgnoreUnspecified,
}],
maskingCharacter: "string",
numberToMask: 0,
reverseOrder: false,
},
cryptoDeterministicConfig: {
context: {
name: "string",
},
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
surrogateInfoType: {
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
},
},
cryptoHashConfig: {
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
},
cryptoReplaceFfxFpeConfig: {
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
commonAlphabet: google_native.dlp.v2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FfxCommonNativeAlphabetUnspecified,
context: {
name: "string",
},
customAlphabet: "string",
radix: 0,
surrogateInfoType: {
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
},
},
dateShiftConfig: {
lowerBoundDays: 0,
upperBoundDays: 0,
context: {
name: "string",
},
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
},
fixedSizeBucketingConfig: {
bucketSize: 0,
lowerBound: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
upperBound: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
},
redactConfig: {},
replaceConfig: {
newValue: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
},
replaceDictionaryConfig: {
wordList: {
words: ["string"],
},
},
replaceWithInfoTypeConfig: {},
timePartConfig: {
partToExtract: google_native.dlp.v2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TimePartUnspecified,
},
},
infoTypes: [{
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
}],
}],
},
recordTransformations: {
fieldTransformations: [{
fields: [{
name: "string",
}],
condition: {
expressions: {
conditions: {
conditions: [{
field: {
name: "string",
},
operator: google_native.dlp.v2.GooglePrivacyDlpV2ConditionOperator.RelationalOperatorUnspecified,
value: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
}],
},
logicalOperator: google_native.dlp.v2.GooglePrivacyDlpV2ExpressionsLogicalOperator.LogicalOperatorUnspecified,
},
},
infoTypeTransformations: {
transformations: [{
primitiveTransformation: {
bucketingConfig: {
buckets: [{
replacementValue: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
max: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
min: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
}],
},
characterMaskConfig: {
charactersToIgnore: [{
charactersToSkip: "string",
commonCharactersToIgnore: google_native.dlp.v2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.CommonCharsToIgnoreUnspecified,
}],
maskingCharacter: "string",
numberToMask: 0,
reverseOrder: false,
},
cryptoDeterministicConfig: {
context: {
name: "string",
},
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
surrogateInfoType: {
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
},
},
cryptoHashConfig: {
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
},
cryptoReplaceFfxFpeConfig: {
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
commonAlphabet: google_native.dlp.v2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FfxCommonNativeAlphabetUnspecified,
context: {
name: "string",
},
customAlphabet: "string",
radix: 0,
surrogateInfoType: {
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
},
},
dateShiftConfig: {
lowerBoundDays: 0,
upperBoundDays: 0,
context: {
name: "string",
},
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
},
fixedSizeBucketingConfig: {
bucketSize: 0,
lowerBound: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
upperBound: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
},
redactConfig: {},
replaceConfig: {
newValue: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
},
replaceDictionaryConfig: {
wordList: {
words: ["string"],
},
},
replaceWithInfoTypeConfig: {},
timePartConfig: {
partToExtract: google_native.dlp.v2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TimePartUnspecified,
},
},
infoTypes: [{
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
}],
}],
},
primitiveTransformation: {
bucketingConfig: {
buckets: [{
replacementValue: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
max: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
min: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
}],
},
characterMaskConfig: {
charactersToIgnore: [{
charactersToSkip: "string",
commonCharactersToIgnore: google_native.dlp.v2.GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore.CommonCharsToIgnoreUnspecified,
}],
maskingCharacter: "string",
numberToMask: 0,
reverseOrder: false,
},
cryptoDeterministicConfig: {
context: {
name: "string",
},
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
surrogateInfoType: {
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
},
},
cryptoHashConfig: {
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
},
cryptoReplaceFfxFpeConfig: {
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
commonAlphabet: google_native.dlp.v2.GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet.FfxCommonNativeAlphabetUnspecified,
context: {
name: "string",
},
customAlphabet: "string",
radix: 0,
surrogateInfoType: {
name: "string",
sensitivityScore: {
score: google_native.dlp.v2.GooglePrivacyDlpV2SensitivityScoreScore.SensitivityScoreUnspecified,
},
version: "string",
},
},
dateShiftConfig: {
lowerBoundDays: 0,
upperBoundDays: 0,
context: {
name: "string",
},
cryptoKey: {
kmsWrapped: {
cryptoKeyName: "string",
wrappedKey: "string",
},
transient: {
name: "string",
},
unwrapped: {
key: "string",
},
},
},
fixedSizeBucketingConfig: {
bucketSize: 0,
lowerBound: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
upperBound: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
},
redactConfig: {},
replaceConfig: {
newValue: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
},
replaceDictionaryConfig: {
wordList: {
words: ["string"],
},
},
replaceWithInfoTypeConfig: {},
timePartConfig: {
partToExtract: google_native.dlp.v2.GooglePrivacyDlpV2TimePartConfigPartToExtract.TimePartUnspecified,
},
},
}],
recordSuppressions: [{
condition: {
expressions: {
conditions: {
conditions: [{
field: {
name: "string",
},
operator: google_native.dlp.v2.GooglePrivacyDlpV2ConditionOperator.RelationalOperatorUnspecified,
value: {
booleanValue: false,
dateValue: {
day: 0,
month: 0,
year: 0,
},
dayOfWeekValue: google_native.dlp.v2.GooglePrivacyDlpV2ValueDayOfWeekValue.DayOfWeekUnspecified,
floatValue: 0,
integerValue: "string",
stringValue: "string",
timeValue: {
hours: 0,
minutes: 0,
nanos: 0,
seconds: 0,
},
timestampValue: "string",
},
}],
},
logicalOperator: google_native.dlp.v2.GooglePrivacyDlpV2ExpressionsLogicalOperator.LogicalOperatorUnspecified,
},
},
}],
},
transformationErrorHandling: {
leaveUntransformed: {},
throwError: {},
},
},
description: "string",
displayName: "string",
project: "string",
templateId: "string",
});
type: google-native:dlp/v2:DeidentifyTemplate
properties:
deidentifyConfig:
imageTransformations:
transforms:
- allInfoTypes: {}
allText: {}
redactionColor:
blue: 0
green: 0
red: 0
selectedInfoTypes:
infoTypes:
- name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
infoTypeTransformations:
transformations:
- infoTypes:
- name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
primitiveTransformation:
bucketingConfig:
buckets:
- max:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
min:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
replacementValue:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
characterMaskConfig:
charactersToIgnore:
- charactersToSkip: string
commonCharactersToIgnore: COMMON_CHARS_TO_IGNORE_UNSPECIFIED
maskingCharacter: string
numberToMask: 0
reverseOrder: false
cryptoDeterministicConfig:
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
surrogateInfoType:
name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
cryptoHashConfig:
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
cryptoReplaceFfxFpeConfig:
commonAlphabet: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
customAlphabet: string
radix: 0
surrogateInfoType:
name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
dateShiftConfig:
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
lowerBoundDays: 0
upperBoundDays: 0
fixedSizeBucketingConfig:
bucketSize: 0
lowerBound:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
upperBound:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
redactConfig: {}
replaceConfig:
newValue:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
replaceDictionaryConfig:
wordList:
words:
- string
replaceWithInfoTypeConfig: {}
timePartConfig:
partToExtract: TIME_PART_UNSPECIFIED
recordTransformations:
fieldTransformations:
- condition:
expressions:
conditions:
conditions:
- field:
name: string
operator: RELATIONAL_OPERATOR_UNSPECIFIED
value:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
logicalOperator: LOGICAL_OPERATOR_UNSPECIFIED
fields:
- name: string
infoTypeTransformations:
transformations:
- infoTypes:
- name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
primitiveTransformation:
bucketingConfig:
buckets:
- max:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
min:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
replacementValue:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
characterMaskConfig:
charactersToIgnore:
- charactersToSkip: string
commonCharactersToIgnore: COMMON_CHARS_TO_IGNORE_UNSPECIFIED
maskingCharacter: string
numberToMask: 0
reverseOrder: false
cryptoDeterministicConfig:
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
surrogateInfoType:
name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
cryptoHashConfig:
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
cryptoReplaceFfxFpeConfig:
commonAlphabet: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
customAlphabet: string
radix: 0
surrogateInfoType:
name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
dateShiftConfig:
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
lowerBoundDays: 0
upperBoundDays: 0
fixedSizeBucketingConfig:
bucketSize: 0
lowerBound:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
upperBound:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
redactConfig: {}
replaceConfig:
newValue:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
replaceDictionaryConfig:
wordList:
words:
- string
replaceWithInfoTypeConfig: {}
timePartConfig:
partToExtract: TIME_PART_UNSPECIFIED
primitiveTransformation:
bucketingConfig:
buckets:
- max:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
min:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
replacementValue:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
characterMaskConfig:
charactersToIgnore:
- charactersToSkip: string
commonCharactersToIgnore: COMMON_CHARS_TO_IGNORE_UNSPECIFIED
maskingCharacter: string
numberToMask: 0
reverseOrder: false
cryptoDeterministicConfig:
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
surrogateInfoType:
name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
cryptoHashConfig:
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
cryptoReplaceFfxFpeConfig:
commonAlphabet: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
customAlphabet: string
radix: 0
surrogateInfoType:
name: string
sensitivityScore:
score: SENSITIVITY_SCORE_UNSPECIFIED
version: string
dateShiftConfig:
context:
name: string
cryptoKey:
kmsWrapped:
cryptoKeyName: string
wrappedKey: string
transient:
name: string
unwrapped:
key: string
lowerBoundDays: 0
upperBoundDays: 0
fixedSizeBucketingConfig:
bucketSize: 0
lowerBound:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
upperBound:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
redactConfig: {}
replaceConfig:
newValue:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
replaceDictionaryConfig:
wordList:
words:
- string
replaceWithInfoTypeConfig: {}
timePartConfig:
partToExtract: TIME_PART_UNSPECIFIED
recordSuppressions:
- condition:
expressions:
conditions:
conditions:
- field:
name: string
operator: RELATIONAL_OPERATOR_UNSPECIFIED
value:
booleanValue: false
dateValue:
day: 0
month: 0
year: 0
dayOfWeekValue: DAY_OF_WEEK_UNSPECIFIED
floatValue: 0
integerValue: string
stringValue: string
timeValue:
hours: 0
minutes: 0
nanos: 0
seconds: 0
timestampValue: string
logicalOperator: LOGICAL_OPERATOR_UNSPECIFIED
transformationErrorHandling:
leaveUntransformed: {}
throwError: {}
description: string
displayName: string
project: string
templateId: string
DeidentifyTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DeidentifyTemplate resource accepts the following input properties:
- Deidentify
Config Pulumi.Google Native. DLP. V2. Inputs. Google Privacy Dlp V2Deidentify Config - The core content of the template.
- Description string
- Short description (max 256 chars).
- Display
Name string - Display name (max 256 chars).
- Location string
- Deprecated. This field has no effect.
- Project string
- Template
Id string - The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- Deidentify
Config GooglePrivacy Dlp V2Deidentify Config Args - The core content of the template.
- Description string
- Short description (max 256 chars).
- Display
Name string - Display name (max 256 chars).
- Location string
- Deprecated. This field has no effect.
- Project string
- Template
Id string - The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- deidentify
Config GooglePrivacy Dlp V2Deidentify Config - The core content of the template.
- description String
- Short description (max 256 chars).
- display
Name String - Display name (max 256 chars).
- location String
- Deprecated. This field has no effect.
- project String
- template
Id String - The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- deidentify
Config GooglePrivacy Dlp V2Deidentify Config - The core content of the template.
- description string
- Short description (max 256 chars).
- display
Name string - Display name (max 256 chars).
- location string
- Deprecated. This field has no effect.
- project string
- template
Id string - The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- deidentify_
config GooglePrivacy Dlp V2Deidentify Config Args - The core content of the template.
- description str
- Short description (max 256 chars).
- display_
name str - Display name (max 256 chars).
- location str
- Deprecated. This field has no effect.
- project str
- template_
id str - The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
. The maximum length is 100 characters. Can be empty to allow the system to generate one.
- deidentify
Config Property Map - The core content of the template.
- description String
- Short description (max 256 chars).
- display
Name String - Display name (max 256 chars).
- location String
- Deprecated. This field has no effect.
- project String
- template
Id String - The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
. The maximum length is 100 characters. Can be empty to allow the system to generate one.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeidentifyTemplate resource produces the following output properties:
- Create
Time string - The creation timestamp of an inspectTemplate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The template name. The template will have one of the following formats:
projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID
ORorganizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID
- Update
Time string - The last update timestamp of an inspectTemplate.
- Create
Time string - The creation timestamp of an inspectTemplate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The template name. The template will have one of the following formats:
projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID
ORorganizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID
- Update
Time string - The last update timestamp of an inspectTemplate.
- create
Time String - The creation timestamp of an inspectTemplate.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The template name. The template will have one of the following formats:
projects/PROJECT_ID/de