Package-level declarations

Types

Link copied to clipboard
class Database : KotlinCustomResource

A Cloud Firestore Database. If you wish to use Firestore with App Engine, use the gcp.appengine.Application resource instead. To get more information about Database, see:

Link copied to clipboard
data class DatabaseArgs(val appEngineIntegrationMode: Output<String>? = null, val concurrencyMode: Output<String>? = null, val deleteProtectionState: Output<String>? = null, val locationId: Output<String>? = null, val name: Output<String>? = null, val pointInTimeRecoveryEnablement: Output<String>? = null, val project: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DatabaseArgs>

A Cloud Firestore Database. If you wish to use Firestore with App Engine, use the gcp.appengine.Application resource instead. To get more information about Database, see:

Link copied to clipboard
Link copied to clipboard
object DatabaseMapper : ResourceMapper<Database>
Link copied to clipboard
Link copied to clipboard
class Document : KotlinCustomResource

In Cloud Firestore, the unit of storage is the document. A document is a lightweight record that contains fields, which map to values. Each document is identified by a name. To get more information about Document, see:

Link copied to clipboard
data class DocumentArgs(val collection: Output<String>? = null, val database: Output<String>? = null, val documentId: Output<String>? = null, val fields: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<DocumentArgs>

In Cloud Firestore, the unit of storage is the document. A document is a lightweight record that contains fields, which map to values. Each document is identified by a name. To get more information about Document, see:

Link copied to clipboard
Link copied to clipboard
object DocumentMapper : ResourceMapper<Document>
Link copied to clipboard
Link copied to clipboard
class Field : KotlinCustomResource

Represents a single field in the database. Fields are grouped by their "Collection Group", which represent all collections in the database with the same id. To get more information about Field, see:

Link copied to clipboard
data class FieldArgs(val collection: Output<String>? = null, val database: Output<String>? = null, val field: Output<String>? = null, val indexConfig: Output<FieldIndexConfigArgs>? = null, val project: Output<String>? = null, val ttlConfig: Output<FieldTtlConfigArgs>? = null) : ConvertibleToJava<FieldArgs>

Represents a single field in the database. Fields are grouped by their "Collection Group", which represent all collections in the database with the same id. To get more information about Field, see:

Link copied to clipboard

Builder for FieldArgs.

Link copied to clipboard
object FieldMapper : ResourceMapper<Field>
Link copied to clipboard

Builder for Field.

Link copied to clipboard
class Index : KotlinCustomResource

Cloud Firestore indexes enable simple and complex queries against documents in a database. This resource manages composite indexes and not single field indexes. To get more information about Index, see:

Link copied to clipboard
data class IndexArgs(val collection: Output<String>? = null, val database: Output<String>? = null, val fields: Output<List<IndexFieldArgs>>? = null, val project: Output<String>? = null, val queryScope: Output<String>? = null) : ConvertibleToJava<IndexArgs>

Cloud Firestore indexes enable simple and complex queries against documents in a database. This resource manages composite indexes and not single field indexes. To get more information about Index, see:

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
suspend fun database(name: String, block: suspend DatabaseResourceBuilder.() -> Unit): Database
Link copied to clipboard
suspend fun document(name: String, block: suspend DocumentResourceBuilder.() -> Unit): Document
Link copied to clipboard
fun field(name: String): Field
suspend fun field(name: String, block: suspend FieldResourceBuilder.() -> Unit): Field
Link copied to clipboard
fun index(name: String): Index
suspend fun index(name: String, block: suspend IndexResourceBuilder.() -> Unit): Index