dlp.v1beta1.dlpDeidentifyTemplate
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withDescription(description)
fn withDisplayName(displayName)
fn withLocation(location)
fn withResourceID(resourceID)
obj spec.deidentifyConfig
obj spec.deidentifyConfig.infoTypeTransformations
fn withTransformations(transformations)
fn withTransformationsMixin(transformations)
obj spec.deidentifyConfig.infoTypeTransformations.transformations
fn withInfoTypes(infoTypes)
fn withInfoTypesMixin(infoTypes)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.infoTypes
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation
fn withRedactConfig(redactConfig)
fn withRedactConfigMixin(redactConfig)
fn withReplaceWithInfoTypeConfig(replaceWithInfoTypeConfig)
fn withReplaceWithInfoTypeConfigMixin(replaceWithInfoTypeConfig)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig
fn withBuckets(buckets)
fn withBucketsMixin(buckets)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig
fn withCharactersToIgnore(charactersToIgnore)
fn withCharactersToIgnoreMixin(charactersToIgnore)
fn withMaskingCharacter(maskingCharacter)
fn withNumberToMask(numberToMask)
fn withReverseOrder(reverseOrder)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.context
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig
fn withCommonAlphabet(commonAlphabet)
fn withCustomAlphabet(customAlphabet)
fn withRadix(radix)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig
fn withLowerBoundDays(lowerBoundDays)
fn withUpperBoundDays(upperBoundDays)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.context
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig
fn withBucketSize(bucketSize)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.timePartConfig
obj spec.deidentifyConfig.recordTransformations
fn withFieldTransformations(fieldTransformations)
fn withFieldTransformationsMixin(fieldTransformations)
fn withRecordSuppressions(recordSuppressions)
fn withRecordSuppressionsMixin(recordSuppressions)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations
fn withFields(fields)
fn withFieldsMixin(fields)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions
fn withLogicalOperator(logicalOperator)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions
fn withConditions(conditions)
fn withConditionsMixin(conditions)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions
fn withOperator(operator)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.field
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.fields
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations
fn withTransformations(transformations)
fn withTransformationsMixin(transformations)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations
fn withInfoTypes(infoTypes)
fn withInfoTypesMixin(infoTypes)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.infoTypes
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation
fn withRedactConfig(redactConfig)
fn withRedactConfigMixin(redactConfig)
fn withReplaceWithInfoTypeConfig(replaceWithInfoTypeConfig)
fn withReplaceWithInfoTypeConfigMixin(replaceWithInfoTypeConfig)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig
fn withBuckets(buckets)
fn withBucketsMixin(buckets)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig
fn withCharactersToIgnore(charactersToIgnore)
fn withCharactersToIgnoreMixin(charactersToIgnore)
fn withMaskingCharacter(maskingCharacter)
fn withNumberToMask(numberToMask)
fn withReverseOrder(reverseOrder)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.context
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig
fn withCommonAlphabet(commonAlphabet)
fn withCustomAlphabet(customAlphabet)
fn withRadix(radix)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig
fn withLowerBoundDays(lowerBoundDays)
fn withUpperBoundDays(upperBoundDays)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.context
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig
fn withBucketSize(bucketSize)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.timePartConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation
fn withRedactConfig(redactConfig)
fn withRedactConfigMixin(redactConfig)
fn withReplaceWithInfoTypeConfig(replaceWithInfoTypeConfig)
fn withReplaceWithInfoTypeConfigMixin(replaceWithInfoTypeConfig)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig
fn withBuckets(buckets)
fn withBucketsMixin(buckets)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig
fn withCharactersToIgnore(charactersToIgnore)
fn withCharactersToIgnoreMixin(charactersToIgnore)
fn withMaskingCharacter(maskingCharacter)
fn withNumberToMask(numberToMask)
fn withReverseOrder(reverseOrder)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.charactersToIgnore
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.context
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig
fn withCommonAlphabet(commonAlphabet)
fn withCustomAlphabet(customAlphabet)
fn withRadix(radix)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig
fn withLowerBoundDays(lowerBoundDays)
fn withUpperBoundDays(upperBoundDays)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.context
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig
fn withBucketSize(bucketSize)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.dateValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.timeValue
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.timePartConfig
obj spec.deidentifyConfig.recordTransformations.recordSuppressions
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions
fn withLogicalOperator(logicalOperator)
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions
fn withConditions(conditions)
fn withConditionsMixin(conditions)
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions
fn withOperator(operator)
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.field
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value
fn withBooleanValue(booleanValue)
fn withDayOfWeekValue(dayOfWeekValue)
fn withFloatValue(floatValue)
fn withIntegerValue(integerValue)
fn withStringValue(stringValue)
fn withTimestampValue(timestampValue)
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.dateValue
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.timeValue
obj spec.deidentifyConfig.transformationErrorHandling
obj spec.organizationRef
obj spec.projectRef
Fields
fn new
new(name)
new returns an instance of DLPDeidentifyTemplate
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
fn spec.withDescription
withDescription(description)
"Short description (max 256 chars)."
fn spec.withDisplayName
withDisplayName(displayName)
"Display name (max 256 chars)."
fn spec.withLocation
withLocation(location)
"Immutable. The location of the resource"
fn spec.withResourceID
withResourceID(resourceID)
"Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource."
obj spec.deidentifyConfig
"The core content of the template."
obj spec.deidentifyConfig.infoTypeTransformations
"Treat the dataset as free-form text and apply the same free text transformation everywhere."
fn spec.deidentifyConfig.infoTypeTransformations.withTransformations
withTransformations(transformations)
"Required. Transformation for each infoType. Cannot specify more than one for a given infoType."
fn spec.deidentifyConfig.infoTypeTransformations.withTransformationsMixin
withTransformationsMixin(transformations)
"Required. Transformation for each infoType. Cannot specify more than one for a given infoType."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.infoTypeTransformations.transformations
"Required. Transformation for each infoType. Cannot specify more than one for a given infoType."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.withInfoTypes
withInfoTypes(infoTypes)
"InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig
."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.withInfoTypesMixin
withInfoTypesMixin(infoTypes)
"InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig
."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.infoTypeTransformations.transformations.infoTypes
"InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig
."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.infoTypes.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation
"Required. Primitive transformation to apply to the infoType."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.withRedactConfig
withRedactConfig(redactConfig)
"Redact"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.withRedactConfigMixin
withRedactConfigMixin(redactConfig)
"Redact"
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.withReplaceWithInfoTypeConfig
withReplaceWithInfoTypeConfig(replaceWithInfoTypeConfig)
"Replace with infotype"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.withReplaceWithInfoTypeConfigMixin
withReplaceWithInfoTypeConfigMixin(replaceWithInfoTypeConfig)
"Replace with infotype"
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig
"Bucketing"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.withBuckets
withBuckets(buckets)
"Set of buckets. Ranges must be non-overlapping."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.withBucketsMixin
withBucketsMixin(buckets)
"Set of buckets. Ranges must be non-overlapping."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets
"Set of buckets. Ranges must be non-overlapping."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max
"Upper bound of the range, exclusive; type must match min."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue
"date"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue
"time of day"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min
"Lower bound of the range, inclusive. Type should be the same as max if used."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue
"date"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue
"time of day"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue
"Required. Replacement value for this bucket."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue
"date"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue
"time of day"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig
"Mask"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withCharactersToIgnore
withCharactersToIgnore(charactersToIgnore)
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withCharactersToIgnoreMixin
withCharactersToIgnoreMixin(charactersToIgnore)
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withMaskingCharacter
withMaskingCharacter(maskingCharacter)
"Character to use to mask the sensitive values—for example, *
for an alphabetic string such as a name, or 0
for a numeric string such as ZIP code or credit card number. This string must have a length of 1. If not supplied, this value defaults to *
for strings, and 0
for digits."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withNumberToMask
withNumberToMask(numberToMask)
"Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withReverseOrder
withReverseOrder(reverseOrder)
"Mask characters in reverse order. For example, if masking_character
is 0
, number_to_mask
is 14
, and reverse_order
is false
, then the input string 1234-5678-9012-3456
is masked as 00000000000000-3456
. If masking_character
is *
, number_to_mask
is 3
, and reverse_order
is true
, then the string 12345
is masked as 12***
."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore.withCharactersToSkip
withCharactersToSkip(charactersToSkip)
"Characters to not transform when masking."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore.withCommonCharactersToIgnore
withCommonCharactersToIgnore(commonCharactersToIgnore)
"Common characters to not transform when masking. Useful to avoid removing punctuation. Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED, NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE, PUNCTUATION, WHITESPACE"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig
"Deterministic Crypto"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.context
"A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an InfoTypeTransformation
is applied to both structured and non-structured ContentItem
s."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey
"The key used by the encryption function. For deterministic encryption using AES-SIV, the provided key is internally expanded to 64 bytes prior to use."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType
"The custom info type to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom info type followed by the number of characters comprising the surrogate. The following scheme defines the format: {info type name}({surrogate character count}):{surrogate} For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom info type 'Surrogate'. This facilitates reversal of the surrogate when it occurs in free text. Note: For record transformations where the entire cell in a table is being transformed, surrogates are not mandatory. Surrogates are used to denote the location of the token and are necessary for re-identification in free form text. In order for inspection to work properly, the name of this info type must not occur naturally anywhere in your data; otherwise, inspection may either - reverse a surrogate that does not correspond to an actual identifier - be unable to parse the surrogate and result in an error Therefore, choose your custom info type name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig
"Crypto"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey
"The key used by the hash function."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig
"Ffx-Fpe"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withCommonAlphabet
withCommonAlphabet(commonAlphabet)
"Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED, NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC, ALPHA_NUMERIC"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withCustomAlphabet
withCustomAlphabet(customAlphabet)
"This is supported by mapping these to the alphanumeric characters that the FFX mode natively supports. This happens before/after encryption/decryption. Each character listed must appear only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII. The order of characters does not matter. The full list of allowed characters is: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/
"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withRadix
withRadix(radix)
"The native way to select the alphabet. Must be in the range [2, 95]."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context
"The 'tweak', a context may be used for higher security since the same identifier in two different contexts won't be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but: 1. there is no record present when transforming a given value or 1. the field is not present when transforming a given value, a default tweak will be used. Note that case (1) is expected when an InfoTypeTransformation
is applied to both structured and non-structured ContentItem
s. Currently, the referenced field may be of value type integer or string. The tweak is constructed as a sequence of bytes in big endian byte order such that: - a 64 bit integer is encoded followed by a single byte of value 1 - a string is encoded in UTF-8 format followed by a single byte of value 2"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey
"Required. The key used by the encryption algorithm."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType
"The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom infoType SurrogateType
. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig
"Date Shift"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.withLowerBoundDays
withLowerBoundDays(lowerBoundDays)
"Required. For example, -5 means shift date to at most 5 days back in the past."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.withUpperBoundDays
withUpperBoundDays(upperBoundDays)
"Required. Range of shift in days. Actual shift will be selected at random within this range (inclusive ends). Negative means shift to earlier in time. Must not be more than 365250 days (1000 years) each direction. For example, 3 means shift date to at most 3 days into the future."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.context
"Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey
"Causes the shift to be computed based on this key and the context. This results in the same shift for the same context and crypto_key. If set, must also set context. Can only be applied to table items."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig
"Fixed size bucketing"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.withBucketSize
withBucketSize(bucketSize)
"Required. Size of each bucket (except for minimum and maximum buckets). So if lower_bound
= 10, upper_bound
= 89, and bucket_size
= 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound
"Required. Lower bound value of buckets. All values less than lower_bound
are grouped together into a single bucket; for example if lower_bound
= 10, then all values less than 10 are replaced with the value \"-10\"."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue
"date"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue
"time of day"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound
"Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if upper_bound
= 89, then all values greater than 89 are replaced with the value \"89+\"."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue
"date"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue
"time of day"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig
"Replace with a specified value."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue
"Value to replace it with."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue
"date"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue
"time of day"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.timePartConfig
"Time extraction"
fn spec.deidentifyConfig.infoTypeTransformations.transformations.primitiveTransformation.timePartConfig.withPartToExtract
withPartToExtract(partToExtract)
"The part of the time to keep. Possible values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY"
obj spec.deidentifyConfig.recordTransformations
"Treat the dataset as structured. Transformations can be applied to specific locations within structured datasets, such as transforming a column within a table."
fn spec.deidentifyConfig.recordTransformations.withFieldTransformations
withFieldTransformations(fieldTransformations)
"Transform the record by applying various field transformations."
fn spec.deidentifyConfig.recordTransformations.withFieldTransformationsMixin
withFieldTransformationsMixin(fieldTransformations)
"Transform the record by applying various field transformations."
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.recordTransformations.withRecordSuppressions
withRecordSuppressions(recordSuppressions)
"Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output."
fn spec.deidentifyConfig.recordTransformations.withRecordSuppressionsMixin
withRecordSuppressionsMixin(recordSuppressions)
"Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations
"Transform the record by applying various field transformations."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.withFields
withFields(fields)
"Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of \"contact.nums[0].type\", use \"contact.nums.type\"."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.withFieldsMixin
withFieldsMixin(fields)
"Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of \"contact.nums[0].type\", use \"contact.nums.type\"."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition
"Only apply the transformation if the condition evaluates to true for the given RecordCondition
. The conditions are allowed to reference fields that are not used in the actual transformation. Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions
"An expression."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.withLogicalOperator
withLogicalOperator(logicalOperator)
"The operator to apply to the result of conditions. Default and currently only supported value is AND
. Possible values: LOGICAL_OPERATOR_UNSPECIFIED, AND"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions
"Conditions to apply to the expression."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.withConditions
withConditions(conditions)
"A collection of conditions."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.withConditionsMixin
withConditionsMixin(conditions)
"A collection of conditions."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions
"A collection of conditions."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.withOperator
withOperator(operator)
"Required. Operator used to compare the field or infoType to the value. Possible values: LOGICAL_OPERATOR_UNSPECIFIED, AND"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.field
"Required. Field within the record this condition is evaluated against."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.field.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value
"Value to compare against. [Mandatory, except for EXISTS
tests.]"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.condition.expressions.conditions.conditions.value.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.fields
"Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of \"contact.nums[0].type\", use \"contact.nums.type\"."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.fields.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations
"Treat the contents of the field as free text, and selectively transform content that matches an InfoType
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.withTransformations
withTransformations(transformations)
"Required. Transformation for each infoType. Cannot specify more than one for a given infoType."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.withTransformationsMixin
withTransformationsMixin(transformations)
"Required. Transformation for each infoType. Cannot specify more than one for a given infoType."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations
"Required. Transformation for each infoType. Cannot specify more than one for a given infoType."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.withInfoTypes
withInfoTypes(infoTypes)
"InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.withInfoTypesMixin
withInfoTypesMixin(infoTypes)
"InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig
."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.infoTypes
"InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in InspectConfig
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.infoTypes.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation
"Required. Primitive transformation to apply to the infoType."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.withRedactConfig
withRedactConfig(redactConfig)
"Redact"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.withRedactConfigMixin
withRedactConfigMixin(redactConfig)
"Redact"
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.withReplaceWithInfoTypeConfig
withReplaceWithInfoTypeConfig(replaceWithInfoTypeConfig)
"Replace with infotype"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.withReplaceWithInfoTypeConfigMixin
withReplaceWithInfoTypeConfigMixin(replaceWithInfoTypeConfig)
"Replace with infotype"
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig
"Bucketing"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.withBuckets
withBuckets(buckets)
"Set of buckets. Ranges must be non-overlapping."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.withBucketsMixin
withBucketsMixin(buckets)
"Set of buckets. Ranges must be non-overlapping."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets
"Set of buckets. Ranges must be non-overlapping."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max
"Upper bound of the range, exclusive; type must match min."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min
"Lower bound of the range, inclusive. Type should be the same as max if used."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue
"Required. Replacement value for this bucket."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig
"Mask"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withCharactersToIgnore
withCharactersToIgnore(charactersToIgnore)
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withCharactersToIgnoreMixin
withCharactersToIgnoreMixin(charactersToIgnore)
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withMaskingCharacter
withMaskingCharacter(maskingCharacter)
"Character to use to mask the sensitive values—for example, *
for an alphabetic string such as a name, or 0
for a numeric string such as ZIP code or credit card number. This string must have a length of 1. If not supplied, this value defaults to *
for strings, and 0
for digits."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withNumberToMask
withNumberToMask(numberToMask)
"Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.withReverseOrder
withReverseOrder(reverseOrder)
"Mask characters in reverse order. For example, if masking_character
is 0
, number_to_mask
is 14
, and reverse_order
is false
, then the input string 1234-5678-9012-3456
is masked as 00000000000000-3456
. If masking_character
is *
, number_to_mask
is 3
, and reverse_order
is true
, then the string 12345
is masked as 12***
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore.withCharactersToSkip
withCharactersToSkip(charactersToSkip)
"Characters to not transform when masking."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.characterMaskConfig.charactersToIgnore.withCommonCharactersToIgnore
withCommonCharactersToIgnore(commonCharactersToIgnore)
"Common characters to not transform when masking. Useful to avoid removing punctuation. Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED, NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE, PUNCTUATION, WHITESPACE"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig
"Deterministic Crypto"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.context
"A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an InfoTypeTransformation
is applied to both structured and non-structured ContentItem
s."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey
"The key used by the encryption function. For deterministic encryption using AES-SIV, the provided key is internally expanded to 64 bytes prior to use."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType
"The custom info type to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom info type followed by the number of characters comprising the surrogate. The following scheme defines the format: {info type name}({surrogate character count}):{surrogate} For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom info type 'Surrogate'. This facilitates reversal of the surrogate when it occurs in free text. Note: For record transformations where the entire cell in a table is being transformed, surrogates are not mandatory. Surrogates are used to denote the location of the token and are necessary for re-identification in free form text. In order for inspection to work properly, the name of this info type must not occur naturally anywhere in your data; otherwise, inspection may either - reverse a surrogate that does not correspond to an actual identifier - be unable to parse the surrogate and result in an error Therefore, choose your custom info type name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig
"Crypto"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey
"The key used by the hash function."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig
"Ffx-Fpe"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withCommonAlphabet
withCommonAlphabet(commonAlphabet)
"Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED, NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC, ALPHA_NUMERIC"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withCustomAlphabet
withCustomAlphabet(customAlphabet)
"This is supported by mapping these to the alphanumeric characters that the FFX mode natively supports. This happens before/after encryption/decryption. Each character listed must appear only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII. The order of characters does not matter. The full list of allowed characters is: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/
"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withRadix
withRadix(radix)
"The native way to select the alphabet. Must be in the range [2, 95]."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context
"The 'tweak', a context may be used for higher security since the same identifier in two different contexts won't be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but: 1. there is no record present when transforming a given value or 1. the field is not present when transforming a given value, a default tweak will be used. Note that case (1) is expected when an InfoTypeTransformation
is applied to both structured and non-structured ContentItem
s. Currently, the referenced field may be of value type integer or string. The tweak is constructed as a sequence of bytes in big endian byte order such that: - a 64 bit integer is encoded followed by a single byte of value 1 - a string is encoded in UTF-8 format followed by a single byte of value 2"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey
"Required. The key used by the encryption algorithm."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType
"The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom infoType SurrogateType
. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig
"Date Shift"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.withLowerBoundDays
withLowerBoundDays(lowerBoundDays)
"Required. For example, -5 means shift date to at most 5 days back in the past."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.withUpperBoundDays
withUpperBoundDays(upperBoundDays)
"Required. Range of shift in days. Actual shift will be selected at random within this range (inclusive ends). Negative means shift to earlier in time. Must not be more than 365250 days (1000 years) each direction. For example, 3 means shift date to at most 3 days into the future."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.context
"Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey
"Causes the shift to be computed based on this key and the context. This results in the same shift for the same context and crypto_key. If set, must also set context. Can only be applied to table items."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig
"Fixed size bucketing"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.withBucketSize
withBucketSize(bucketSize)
"Required. Size of each bucket (except for minimum and maximum buckets). So if lower_bound
= 10, upper_bound
= 89, and bucket_size
= 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound
"Required. Lower bound value of buckets. All values less than lower_bound
are grouped together into a single bucket; for example if lower_bound
= 10, then all values less than 10 are replaced with the value \"-10\"."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound
"Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if upper_bound
= 89, then all values greater than 89 are replaced with the value \"89+\"."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig
"Replace with a specified value."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue
"Value to replace it with."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.replaceConfig.newValue.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.timePartConfig
"Time extraction"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.infoTypeTransformations.transformations.primitiveTransformation.timePartConfig.withPartToExtract
withPartToExtract(partToExtract)
"The part of the time to keep. Possible values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation
"Apply the transformation to the entire field."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.withRedactConfig
withRedactConfig(redactConfig)
"Redact"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.withRedactConfigMixin
withRedactConfigMixin(redactConfig)
"Redact"
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.withReplaceWithInfoTypeConfig
withReplaceWithInfoTypeConfig(replaceWithInfoTypeConfig)
"Replace with infotype"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.withReplaceWithInfoTypeConfigMixin
withReplaceWithInfoTypeConfigMixin(replaceWithInfoTypeConfig)
"Replace with infotype"
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig
"Bucketing"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.withBuckets
withBuckets(buckets)
"Set of buckets. Ranges must be non-overlapping."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.withBucketsMixin
withBucketsMixin(buckets)
"Set of buckets. Ranges must be non-overlapping."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets
"Set of buckets. Ranges must be non-overlapping."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max
"Upper bound of the range, exclusive; type must match min."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.max.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min
"Lower bound of the range, inclusive. Type should be the same as max if used."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.min.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue
"Required. Replacement value for this bucket."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.bucketingConfig.buckets.replacementValue.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig
"Mask"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.withCharactersToIgnore
withCharactersToIgnore(charactersToIgnore)
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.withCharactersToIgnoreMixin
withCharactersToIgnoreMixin(charactersToIgnore)
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.withMaskingCharacter
withMaskingCharacter(maskingCharacter)
"Character to use to mask the sensitive values—for example, *
for an alphabetic string such as a name, or 0
for a numeric string such as ZIP code or credit card number. This string must have a length of 1. If not supplied, this value defaults to *
for strings, and 0
for digits."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.withNumberToMask
withNumberToMask(numberToMask)
"Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.withReverseOrder
withReverseOrder(reverseOrder)
"Mask characters in reverse order. For example, if masking_character
is 0
, number_to_mask
is 14
, and reverse_order
is false
, then the input string 1234-5678-9012-3456
is masked as 00000000000000-3456
. If masking_character
is *
, number_to_mask
is 3
, and reverse_order
is true
, then the string 12345
is masked as 12***
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.charactersToIgnore
"When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is 555-555-5555
and you instruct Cloud DLP to skip -
and mask 5 characters with *
, Cloud DLP returns ***-**5-5555
."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.charactersToIgnore.withCharactersToSkip
withCharactersToSkip(charactersToSkip)
"Characters to not transform when masking."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.characterMaskConfig.charactersToIgnore.withCommonCharactersToIgnore
withCommonCharactersToIgnore(commonCharactersToIgnore)
"Common characters to not transform when masking. Useful to avoid removing punctuation. Possible values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED, NUMERIC, ALPHA_UPPER_CASE, ALPHA_LOWER_CASE, PUNCTUATION, WHITESPACE"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig
"Deterministic Crypto"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.context
"A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an InfoTypeTransformation
is applied to both structured and non-structured ContentItem
s."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey
"The key used by the encryption function. For deterministic encryption using AES-SIV, the provided key is internally expanded to 64 bytes prior to use."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType
"The custom info type to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom info type followed by the number of characters comprising the surrogate. The following scheme defines the format: {info type name}({surrogate character count}):{surrogate} For example, if the name of custom info type is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom info type 'Surrogate'. This facilitates reversal of the surrogate when it occurs in free text. Note: For record transformations where the entire cell in a table is being transformed, surrogates are not mandatory. Surrogates are used to denote the location of the token and are necessary for re-identification in free form text. In order for inspection to work properly, the name of this info type must not occur naturally anywhere in your data; otherwise, inspection may either - reverse a surrogate that does not correspond to an actual identifier - be unable to parse the surrogate and result in an error Therefore, choose your custom info type name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoDeterministicConfig.surrogateInfoType.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig
"Crypto"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey
"The key used by the hash function."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoHashConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig
"Ffx-Fpe"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withCommonAlphabet
withCommonAlphabet(commonAlphabet)
"Common alphabets. Possible values: FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED, NUMERIC, HEXADECIMAL, UPPER_CASE_ALPHA_NUMERIC, ALPHA_NUMERIC"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withCustomAlphabet
withCustomAlphabet(customAlphabet)
"This is supported by mapping these to the alphanumeric characters that the FFX mode natively supports. This happens before/after encryption/decryption. Each character listed must appear only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII. The order of characters does not matter. The full list of allowed characters is: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/
"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.withRadix
withRadix(radix)
"The native way to select the alphabet. Must be in the range [2, 95]."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context
"The 'tweak', a context may be used for higher security since the same identifier in two different contexts won't be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but: 1. there is no record present when transforming a given value or 1. the field is not present when transforming a given value, a default tweak will be used. Note that case (1) is expected when an InfoTypeTransformation
is applied to both structured and non-structured ContentItem
s. Currently, the referenced field may be of value type integer or string. The tweak is constructed as a sequence of bytes in big endian byte order such that: - a 64 bit integer is encoded followed by a single byte of value 1 - a string is encoded in UTF-8 format followed by a single byte of value 2"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey
"Required. The key used by the encryption algorithm."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType
"The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is 'MY_TOKEN_INFO_TYPE' and the surrogate is 'abc', the full replacement value will be: 'MY_TOKEN_INFO_TYPE(3):abc' This annotation identifies the surrogate when inspecting content using the custom infoType SurrogateType
. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY_TOKEN_TYPE"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.cryptoReplaceFfxFpeConfig.surrogateInfoType.withName
withName(name)
"Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$-_]{1,64}
."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig
"Date Shift"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.withLowerBoundDays
withLowerBoundDays(lowerBoundDays)
"Required. For example, -5 means shift date to at most 5 days back in the past."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.withUpperBoundDays
withUpperBoundDays(upperBoundDays)
"Required. Range of shift in days. Actual shift will be selected at random within this range (inclusive ends). Negative means shift to earlier in time. Must not be more than 365250 days (1000 years) each direction. For example, 3 means shift date to at most 3 days into the future."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.context
"Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.context.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey
"Causes the shift to be computed based on this key and the context. This results in the same shift for the same context and crypto_key. If set, must also set context. Can only be applied to table items."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped
"Key wrapped using Cloud KMS"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.withWrappedKey
withWrappedKey(wrappedKey)
"Required. The wrapped data crypto key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withExternal
withExternal(external)
"Required. The resource name of the KMS CryptoKey to use for unwrapping.\n\nAllowed value: The Google Cloud resource name of a KMSCryptoKey
resource (format: {{selfLink}}
)."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.kmsWrapped.cryptoKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient
"Transient crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.transient.withName
withName(name)
"Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate TransientCryptoKey
protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated)."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped
"Unwrapped crypto key"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.dateShiftConfig.cryptoKey.unwrapped.withKey
withKey(key)
"Required. A 128/192/256 bit key."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig
"Fixed size bucketing"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.withBucketSize
withBucketSize(bucketSize)
"Required. Size of each bucket (except for minimum and maximum buckets). So if lower_bound
= 10, upper_bound
= 89, and bucket_size
= 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound
"Required. Lower bound value of buckets. All values less than lower_bound
are grouped together into a single bucket; for example if lower_bound
= 10, then all values less than 10 are replaced with the value \"-10\"."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.lowerBound.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound
"Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if upper_bound
= 89, then all values greater than 89 are replaced with the value \"89+\"."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.fixedSizeBucketingConfig.upperBound.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig
"Replace with a specified value."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue
"Value to replace it with."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.replaceConfig.newValue.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.timePartConfig
"Time extraction"
fn spec.deidentifyConfig.recordTransformations.fieldTransformations.primitiveTransformation.timePartConfig.withPartToExtract
withPartToExtract(partToExtract)
"The part of the time to keep. Possible values: TIME_PART_UNSPECIFIED, YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK, WEEK_OF_YEAR, HOUR_OF_DAY"
obj spec.deidentifyConfig.recordTransformations.recordSuppressions
"Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output."
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition
"A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content."
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions
"An expression."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.withLogicalOperator
withLogicalOperator(logicalOperator)
"The operator to apply to the result of conditions. Default and currently only supported value is AND
. Possible values: LOGICAL_OPERATOR_UNSPECIFIED, AND"
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions
"Conditions to apply to the expression."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.withConditions
withConditions(conditions)
"A collection of conditions."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.withConditionsMixin
withConditionsMixin(conditions)
"A collection of conditions."
Note: This function appends passed data to existing values
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions
"A collection of conditions."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.withOperator
withOperator(operator)
"Required. Operator used to compare the field or infoType to the value. Possible values: LOGICAL_OPERATOR_UNSPECIFIED, AND"
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.field
"Required. Field within the record this condition is evaluated against."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.field.withName
withName(name)
"Name describing the field."
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value
"Value to compare against. [Mandatory, except for EXISTS
tests.]"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.withBooleanValue
withBooleanValue(booleanValue)
"boolean"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.withDayOfWeekValue
withDayOfWeekValue(dayOfWeekValue)
"day of week Possible values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.withFloatValue
withFloatValue(floatValue)
"float"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.withIntegerValue
withIntegerValue(integerValue)
"integer"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.withStringValue
withStringValue(stringValue)
"string"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.withTimestampValue
withTimestampValue(timestampValue)
"timestamp"
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.dateValue
"date"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.dateValue.withDay
withDay(day)
"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.dateValue.withMonth
withMonth(month)
"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.dateValue.withYear
withYear(year)
"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
obj spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.timeValue
"time of day"
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.timeValue.withHours
withHours(hours)
"Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.timeValue.withMinutes
withMinutes(minutes)
"Minutes of hour of day. Must be from 0 to 59."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.timeValue.withNanos
withNanos(nanos)
"Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999."
fn spec.deidentifyConfig.recordTransformations.recordSuppressions.condition.expressions.conditions.conditions.value.timeValue.withSeconds
withSeconds(seconds)
"Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds."
obj spec.deidentifyConfig.transformationErrorHandling
"Mode for handling transformation errors. If left unspecified, the default mode is TransformationErrorHandling.ThrowError
."
fn spec.deidentifyConfig.transformationErrorHandling.withLeaveUntransformed
withLeaveUntransformed(leaveUntransformed)
"Ignore errors"
fn spec.deidentifyConfig.transformationErrorHandling.withLeaveUntransformedMixin
withLeaveUntransformedMixin(leaveUntransformed)
"Ignore errors"
Note: This function appends passed data to existing values
fn spec.deidentifyConfig.transformationErrorHandling.withThrowError
withThrowError(throwError)
"Throw an error"
fn spec.deidentifyConfig.transformationErrorHandling.withThrowErrorMixin
withThrowErrorMixin(throwError)
"Throw an error"
Note: This function appends passed data to existing values
obj spec.organizationRef
"Immutable. The Organization that this resource belongs to. Only one of [organizationRef, projectRef] may be specified."
fn spec.organizationRef.withExternal
withExternal(external)
"Allowed value: The Google Cloud resource name of a Google Cloud Organization (format: organizations/{{name}}
)."
fn spec.organizationRef.withName
withName(name)
"[WARNING] Organization not yet supported in Config Connector, use 'external' field to reference existing resources.\nName of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.organizationRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.projectRef
"Immutable. The Project that this resource belongs to. Only one of [organizationRef, projectRef] may be specified."
fn spec.projectRef.withExternal
withExternal(external)
"Allowed value: The Google Cloud resource name of a Project
resource (format: projects/{{name}}
)."
fn spec.projectRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.projectRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"