com.pulumi.gcp.firestore.kotlin.inputs.FieldIndexConfigIndexArgs.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.firestore.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.firestore.inputs.FieldIndexConfigIndexArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property arrayConfig Indicates that this field supports operations on arrayValues. Only one of `order` and `arrayConfig` can
* be specified.
* Possible values are: `CONTAINS`.
* @property order Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=, !=.
* Only one of `order` and `arrayConfig` can be specified.
* Possible values are: `ASCENDING`, `DESCENDING`.
* @property queryScope The scope at which a query is run. Collection scoped queries require you specify
* the collection at query time. Collection group scope allows queries across all
* collections with the same id.
* Default value is `COLLECTION`.
* Possible values are: `COLLECTION`, `COLLECTION_GROUP`.
*/
public data class FieldIndexConfigIndexArgs(
public val arrayConfig: Output? = null,
public val order: Output? = null,
public val queryScope: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.firestore.inputs.FieldIndexConfigIndexArgs =
com.pulumi.gcp.firestore.inputs.FieldIndexConfigIndexArgs.builder()
.arrayConfig(arrayConfig?.applyValue({ args0 -> args0 }))
.order(order?.applyValue({ args0 -> args0 }))
.queryScope(queryScope?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FieldIndexConfigIndexArgs].
*/
@PulumiTagMarker
public class FieldIndexConfigIndexArgsBuilder internal constructor() {
private var arrayConfig: Output? = null
private var order: Output? = null
private var queryScope: Output? = null
/**
* @param value Indicates that this field supports operations on arrayValues. Only one of `order` and `arrayConfig` can
* be specified.
* Possible values are: `CONTAINS`.
*/
@JvmName("utargwajrckaydnk")
public suspend fun arrayConfig(`value`: Output) {
this.arrayConfig = value
}
/**
* @param value Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=, !=.
* Only one of `order` and `arrayConfig` can be specified.
* Possible values are: `ASCENDING`, `DESCENDING`.
*/
@JvmName("ewpvmdyealxjlepq")
public suspend fun order(`value`: Output) {
this.order = value
}
/**
* @param value The scope at which a query is run. Collection scoped queries require you specify
* the collection at query time. Collection group scope allows queries across all
* collections with the same id.
* Default value is `COLLECTION`.
* Possible values are: `COLLECTION`, `COLLECTION_GROUP`.
*/
@JvmName("rnbphyqoqdawbiwb")
public suspend fun queryScope(`value`: Output) {
this.queryScope = value
}
/**
* @param value Indicates that this field supports operations on arrayValues. Only one of `order` and `arrayConfig` can
* be specified.
* Possible values are: `CONTAINS`.
*/
@JvmName("odqestnivlsvwfik")
public suspend fun arrayConfig(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arrayConfig = mapped
}
/**
* @param value Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=, !=.
* Only one of `order` and `arrayConfig` can be specified.
* Possible values are: `ASCENDING`, `DESCENDING`.
*/
@JvmName("hskiyriijikshoqx")
public suspend fun order(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.order = mapped
}
/**
* @param value The scope at which a query is run. Collection scoped queries require you specify
* the collection at query time. Collection group scope allows queries across all
* collections with the same id.
* Default value is `COLLECTION`.
* Possible values are: `COLLECTION`, `COLLECTION_GROUP`.
*/
@JvmName("iilmeyoqdykgvgtx")
public suspend fun queryScope(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queryScope = mapped
}
internal fun build(): FieldIndexConfigIndexArgs = FieldIndexConfigIndexArgs(
arrayConfig = arrayConfig,
order = order,
queryScope = queryScope,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy