IndexArgs

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.

Constructors

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

Functions

Link copied to clipboard
open override fun toJava(): IndexArgs

Properties

Link copied to clipboard
val ancestor: Output<IndexAncestor>? = null

The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.

Link copied to clipboard
val kind: Output<String>? = null

The entity kind to which this index applies.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.