com.pulumi.gcp.vertex.kotlin.outputs.AiIndexMetadata.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.vertex.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property config The configuration of the Matching Engine Index.
* Structure is documented below.
* @property contentsDeltaUri Allows inserting, updating or deleting the contents of the Matching Engine Index.
* The string must be a valid Cloud Storage directory path. If this
* field is set when calling IndexService.UpdateIndex, then no other
* Index field can be also updated as part of the same call.
* The expected structure and format of the files this URI points to is
* described at https://cloud.google.com/vertex-ai/docs/matching-engine/using-matching-engine#input-data-format
* @property isCompleteOverwrite If this field is set together with contentsDeltaUri when calling IndexService.UpdateIndex,
* then existing content of the Index will be replaced by the data from the contentsDeltaUri.
*/
public data class AiIndexMetadata(
public val config: AiIndexMetadataConfig? = null,
public val contentsDeltaUri: String,
public val isCompleteOverwrite: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.AiIndexMetadata): AiIndexMetadata =
AiIndexMetadata(
config = javaType.config().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vertex.kotlin.outputs.AiIndexMetadataConfig.Companion.toKotlin(args0)
})
}).orElse(null),
contentsDeltaUri = javaType.contentsDeltaUri(),
isCompleteOverwrite = javaType.isCompleteOverwrite().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy