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

com.pulumi.gcp.healthcare.kotlin.outputs.FhirStoreStreamConfigBigqueryDestinationSchemaConfig.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.healthcare.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property lastUpdatedPartitionConfig The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column.
 * Structure is documented below.
 * @property recursiveStructureDepth The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem
 * resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called
 * concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default
 * value 2. The maximum depth allowed is 5.
 * @property schemaType Specifies the output schema type.
 * * ANALYTICS: Analytics schema defined by the FHIR community.
 * See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md.
 * * ANALYTICS_V2: Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON.
 * * LOSSLESS: A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification.
 * Default value is `ANALYTICS`.
 * Possible values are: `ANALYTICS`, `ANALYTICS_V2`, `LOSSLESS`.
 */
public data class FhirStoreStreamConfigBigqueryDestinationSchemaConfig(
    public val lastUpdatedPartitionConfig: FhirStoreStreamConfigBigqueryDestinationSchemaConfigLastUpdatedPartitionConfig? = null,
    public val recursiveStructureDepth: Int,
    public val schemaType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.healthcare.outputs.FhirStoreStreamConfigBigqueryDestinationSchemaConfig): FhirStoreStreamConfigBigqueryDestinationSchemaConfig =
            FhirStoreStreamConfigBigqueryDestinationSchemaConfig(
                lastUpdatedPartitionConfig = javaType.lastUpdatedPartitionConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.healthcare.kotlin.outputs.FhirStoreStreamConfigBigqueryDestinationSchemaConfigLastUpdatedPartitionConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                recursiveStructureDepth = javaType.recursiveStructureDepth(),
                schemaType = javaType.schemaType().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy