DatabaseArgs

data class DatabaseArgs(val appEngineIntegrationMode: Output<DatabaseAppEngineIntegrationMode>? = null, val concurrencyMode: Output<DatabaseConcurrencyMode>? = null, val databaseId: Output<String>? = null, val deleteProtectionState: Output<DatabaseDeleteProtectionState>? = null, val etag: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val type: Output<DatabaseType>? = null) : ConvertibleToJava<DatabaseArgs>

Create a database.

Constructors

Link copied to clipboard
fun DatabaseArgs(appEngineIntegrationMode: Output<DatabaseAppEngineIntegrationMode>? = null, concurrencyMode: Output<DatabaseConcurrencyMode>? = null, databaseId: Output<String>? = null, deleteProtectionState: Output<DatabaseDeleteProtectionState>? = null, etag: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, type: Output<DatabaseType>? = null)

Functions

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

Properties

Link copied to clipboard

The App Engine integration mode to use for this database.

Link copied to clipboard

The concurrency control mode to use for this database.

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

Required. The ID to use for the database, which will become the final component of the database's resource name. The value must be set to "(default)".

Link copied to clipboard

State of delete protection for the database.

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

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

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

The location of the database. Available databases are listed at https://cloud.google.com/firestore/docs/locations.

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

The resource name of the Database. Format: projects/{project}/databases/{database}

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

The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.