com.pulumi.gcp.bigquery.kotlin.outputs.RoutineArgument.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.bigquery.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property argumentKind Defaults to FIXED_TYPE.
* Default value is `FIXED_TYPE`.
* Possible values are: `FIXED_TYPE`, `ANY_TYPE`.
* @property dataType A JSON schema for the data type. Required unless argumentKind = ANY_TYPE.
* ~>**NOTE**: Because this field expects a JSON string, any changes to the string
* will create a diff, even if the JSON itself hasn't changed. If the API returns
* a different value for the same schema, e.g. it switched the order of values
* or replaced STRUCT field type with RECORD field type, we currently cannot
* suppress the recurring diff this causes. As a workaround, we recommend using
* the schema as returned by the API.
* @property mode Specifies whether the argument is input or output. Can be set for procedures only.
* Possible values are: `IN`, `OUT`, `INOUT`.
* @property name The name of this argument. Can be absent for function return argument.
*/
public data class RoutineArgument(
public val argumentKind: String? = null,
public val dataType: String? = null,
public val mode: String? = null,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.RoutineArgument): RoutineArgument = RoutineArgument(
argumentKind = javaType.argumentKind().map({ args0 -> args0 }).orElse(null),
dataType = javaType.dataType().map({ args0 -> args0 }).orElse(null),
mode = javaType.mode().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy