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

com.pulumi.gcp.firestore.kotlin.outputs.FieldIndexConfigIndex.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.firestore.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 FieldIndexConfigIndex(
    public val arrayConfig: String? = null,
    public val order: String? = null,
    public val queryScope: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.firestore.outputs.FieldIndexConfigIndex): FieldIndexConfigIndex = FieldIndexConfigIndex(
            arrayConfig = javaType.arrayConfig().map({ args0 -> args0 }).orElse(null),
            order = javaType.order().map({ args0 -> args0 }).orElse(null),
            queryScope = javaType.queryScope().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy