All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dlp.v2.kotlin.outputs.GooglePrivacyDlpV2BucketingConfigResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dlp.v2.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, timestamp. If the bound `Value` type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
 * @property buckets Set of buckets. Ranges must be non-overlapping.
 */
public data class GooglePrivacyDlpV2BucketingConfigResponse(
    public val buckets: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dlp.v2.outputs.GooglePrivacyDlpV2BucketingConfigResponse): GooglePrivacyDlpV2BucketingConfigResponse = GooglePrivacyDlpV2BucketingConfigResponse(
            buckets = javaType.buckets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.googlenative.dlp.v2.kotlin.outputs.GooglePrivacyDlpV2BucketResponse.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy