
com.pulumi.googlenative.bigquery.v2.kotlin.outputs.UserDefinedFunctionResourceResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.bigquery.v2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
* @property inlineCode [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
* @property resourceUri [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
*/
public data class UserDefinedFunctionResourceResponse(
public val inlineCode: String,
public val resourceUri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.bigquery.v2.outputs.UserDefinedFunctionResourceResponse): UserDefinedFunctionResourceResponse = UserDefinedFunctionResourceResponse(
inlineCode = javaType.inlineCode(),
resourceUri = javaType.resourceUri(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy