Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Index : KotlinCustomResource

Creates the specified index. A newly created index's initial state is CREATING. On completion of the returned google.longrunning.Operation, the state will be READY. If the index already exists, the call will return an ALREADY_EXISTS status. During index creation, the process could result in an error, in which case the index will move to the ERROR state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single property cannot be created. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class IndexArgs(val ancestor: Output<IndexAncestor>? = null, val kind: Output<String>? = null, val project: Output<String>? = null, val properties: Output<List<GoogleDatastoreAdminV1IndexedPropertyArgs>>? = null) : ConvertibleToJava<IndexArgs>

Creates the specified index. A newly created index's initial state is CREATING. On completion of the returned google.longrunning.Operation, the state will be READY. If the index already exists, the call will return an ALREADY_EXISTS status. During index creation, the process could result in an error, in which case the index will move to the ERROR state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single property cannot be created. Auto-naming is currently not supported for this resource.

Link copied to clipboard

Builder for IndexArgs.

Link copied to clipboard
object IndexMapper : ResourceMapper<Index>
Link copied to clipboard

Builder for Index.

Functions

Link copied to clipboard
fun index(name: String): Index
suspend fun index(name: String, block: suspend IndexResourceBuilder.() -> Unit): Index