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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfig.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.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataloss.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property bigQueryOptions Options defining BigQuery table and row identifiers.
 * Structure is documented below.
 * @property cloudStorageOptions Options defining a file or a set of files within a Google Cloud Storage bucket.
 * Structure is documented below.
 * @property datastoreOptions Options defining a data set within Google Cloud Datastore.
 * Structure is documented below.
 * @property hybridOptions Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.
 * Structure is documented below.
 * @property timespanConfig Configuration of the timespan of the items to include in scanning
 * Structure is documented below.
 */
public data class PreventionJobTriggerInspectJobStorageConfig(
    public val bigQueryOptions: PreventionJobTriggerInspectJobStorageConfigBigQueryOptions? = null,
    public val cloudStorageOptions: PreventionJobTriggerInspectJobStorageConfigCloudStorageOptions? =
        null,
    public val datastoreOptions: PreventionJobTriggerInspectJobStorageConfigDatastoreOptions? = null,
    public val hybridOptions: PreventionJobTriggerInspectJobStorageConfigHybridOptions? = null,
    public val timespanConfig: PreventionJobTriggerInspectJobStorageConfigTimespanConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobStorageConfig): PreventionJobTriggerInspectJobStorageConfig = PreventionJobTriggerInspectJobStorageConfig(
            bigQueryOptions = javaType.bigQueryOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigBigQueryOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            cloudStorageOptions = javaType.cloudStorageOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigCloudStorageOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            datastoreOptions = javaType.datastoreOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigDatastoreOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            hybridOptions = javaType.hybridOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigHybridOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            timespanConfig = javaType.timespanConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigTimespanConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy