com.pulumi.gcp.healthcare.kotlin.outputs.FhirStoreStreamConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.healthcare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property bigqueryDestination The destination BigQuery structure that contains both the dataset location and corresponding schema config.
* The output is organized in one table per resource type. The server reuses the existing tables (if any) that
* are named after the resource types, e.g. "Patient", "Observation". When there is no existing table for a given
* resource type, the server attempts to create one.
* See the [streaming config reference](https://cloud.google.com/healthcare/docs/reference/rest/v1beta1/projects.locations.datasets.fhirStores#streamconfig) for more details.
* Structure is documented below.
* @property resourceTypes Supply a FHIR resource type (such as "Patient" or "Observation"). See
* https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats
* an empty list as an intent to stream all the supported resource types in this FHIR store.
*/
public data class FhirStoreStreamConfig(
public val bigqueryDestination: FhirStoreStreamConfigBigqueryDestination,
public val resourceTypes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.healthcare.outputs.FhirStoreStreamConfig): FhirStoreStreamConfig = FhirStoreStreamConfig(
bigqueryDestination = javaType.bigqueryDestination().let({ args0 ->
com.pulumi.gcp.healthcare.kotlin.outputs.FhirStoreStreamConfigBigqueryDestination.Companion.toKotlin(args0)
}),
resourceTypes = javaType.resourceTypes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy