Package-level declarations

Types

Link copied to clipboard
class BackupSchedule : KotlinCustomResource

A backup schedule for a Cloud Firestore Database. This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though. To get more information about BackupSchedule, see:

Link copied to clipboard
data class BackupScheduleArgs(val dailyRecurrence: Output<BackupScheduleDailyRecurrenceArgs>? = null, val database: Output<String>? = null, val project: Output<String>? = null, val retention: Output<String>? = null, val weeklyRecurrence: Output<BackupScheduleWeeklyRecurrenceArgs>? = null) : ConvertibleToJava<BackupScheduleArgs>

A backup schedule for a Cloud Firestore Database. This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though. To get more information about BackupSchedule, see:

Link copied to clipboard
Link copied to clipboard
object BackupScheduleMapper : ResourceMapper<BackupSchedule>
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. If you were previously using the gcp.appengine.Application resource exclusively for managing a Firestore database and would like to use the gcp.firestore.Database resource instead, please follow the instructions here. To get more information about Database, see:

Link copied to clipboard
data class DatabaseArgs(val appEngineIntegrationMode: Output<String>? = null, val cmekConfig: Output<DatabaseCmekConfigArgs>? = null, val concurrencyMode: Output<String>? = null, val databaseEdition: Output<String>? = null, val deleteProtectionState: Output<String>? = null, val deletionPolicy: 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. If you were previously using the gcp.appengine.Application resource exclusively for managing a Firestore database and would like to use the gcp.firestore.Database resource instead, please follow the instructions here. 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. Both Firestore Native and Datastore Mode indexes are supported. This resource manages composite indexes and not single field indexes. To manage single field indexes, use the gcp.firestore.Field resource instead. To get more information about Index, see:

Link copied to clipboard
data class IndexArgs(val apiScope: Output<String>? = null, val collection: Output<String>? = null, val database: Output<String>? = null, val density: Output<String>? = null, val fields: Output<List<IndexFieldArgs>>? = null, val multikey: Output<Boolean>? = 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. Both Firestore Native and Datastore Mode indexes are supported. This resource manages composite indexes and not single field indexes. To manage single field indexes, use the gcp.firestore.Field resource instead. 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
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