Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firestore/v1.Database
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a database.
Create Database Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Database(name: string, args: DatabaseArgs, opts?: CustomResourceOptions);@overload
def Database(resource_name: str,
             args: DatabaseArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Database(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             database_id: Optional[str] = None,
             app_engine_integration_mode: Optional[DatabaseAppEngineIntegrationMode] = None,
             concurrency_mode: Optional[DatabaseConcurrencyMode] = None,
             delete_protection_state: Optional[DatabaseDeleteProtectionState] = None,
             etag: Optional[str] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             point_in_time_recovery_enablement: Optional[DatabasePointInTimeRecoveryEnablement] = None,
             project: Optional[str] = None,
             type: Optional[DatabaseType] = None)func NewDatabase(ctx *Context, name string, args DatabaseArgs, opts ...ResourceOption) (*Database, error)public Database(string name, DatabaseArgs args, CustomResourceOptions? opts = null)
public Database(String name, DatabaseArgs args)
public Database(String name, DatabaseArgs args, CustomResourceOptions options)
type: google-native:firestore/v1:Database
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeDatabaseResource = new GoogleNative.Firestore.V1.Database("google-nativeDatabaseResource", new()
{
    DatabaseId = "string",
    AppEngineIntegrationMode = GoogleNative.Firestore.V1.DatabaseAppEngineIntegrationMode.AppEngineIntegrationModeUnspecified,
    ConcurrencyMode = GoogleNative.Firestore.V1.DatabaseConcurrencyMode.ConcurrencyModeUnspecified,
    DeleteProtectionState = GoogleNative.Firestore.V1.DatabaseDeleteProtectionState.DeleteProtectionStateUnspecified,
    Etag = "string",
    Location = "string",
    Name = "string",
    PointInTimeRecoveryEnablement = GoogleNative.Firestore.V1.DatabasePointInTimeRecoveryEnablement.PointInTimeRecoveryEnablementUnspecified,
    Project = "string",
    Type = GoogleNative.Firestore.V1.DatabaseType.DatabaseTypeUnspecified,
});
example, err := firestore.NewDatabase(ctx, "google-nativeDatabaseResource", &firestore.DatabaseArgs{
	DatabaseId:                    pulumi.String("string"),
	AppEngineIntegrationMode:      firestore.DatabaseAppEngineIntegrationModeAppEngineIntegrationModeUnspecified,
	ConcurrencyMode:               firestore.DatabaseConcurrencyModeConcurrencyModeUnspecified,
	DeleteProtectionState:         firestore.DatabaseDeleteProtectionStateDeleteProtectionStateUnspecified,
	Etag:                          pulumi.String("string"),
	Location:                      pulumi.String("string"),
	Name:                          pulumi.String("string"),
	PointInTimeRecoveryEnablement: firestore.DatabasePointInTimeRecoveryEnablementPointInTimeRecoveryEnablementUnspecified,
	Project:                       pulumi.String("string"),
	Type:                          firestore.DatabaseTypeDatabaseTypeUnspecified,
})
var google_nativeDatabaseResource = new Database("google-nativeDatabaseResource", DatabaseArgs.builder()
    .databaseId("string")
    .appEngineIntegrationMode("APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED")
    .concurrencyMode("CONCURRENCY_MODE_UNSPECIFIED")
    .deleteProtectionState("DELETE_PROTECTION_STATE_UNSPECIFIED")
    .etag("string")
    .location("string")
    .name("string")
    .pointInTimeRecoveryEnablement("POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED")
    .project("string")
    .type("DATABASE_TYPE_UNSPECIFIED")
    .build());
google_native_database_resource = google_native.firestore.v1.Database("google-nativeDatabaseResource",
    database_id="string",
    app_engine_integration_mode=google_native.firestore.v1.DatabaseAppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED,
    concurrency_mode=google_native.firestore.v1.DatabaseConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED,
    delete_protection_state=google_native.firestore.v1.DatabaseDeleteProtectionState.DELETE_PROTECTION_STATE_UNSPECIFIED,
    etag="string",
    location="string",
    name="string",
    point_in_time_recovery_enablement=google_native.firestore.v1.DatabasePointInTimeRecoveryEnablement.POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED,
    project="string",
    type=google_native.firestore.v1.DatabaseType.DATABASE_TYPE_UNSPECIFIED)
const google_nativeDatabaseResource = new google_native.firestore.v1.Database("google-nativeDatabaseResource", {
    databaseId: "string",
    appEngineIntegrationMode: google_native.firestore.v1.DatabaseAppEngineIntegrationMode.AppEngineIntegrationModeUnspecified,
    concurrencyMode: google_native.firestore.v1.DatabaseConcurrencyMode.ConcurrencyModeUnspecified,
    deleteProtectionState: google_native.firestore.v1.DatabaseDeleteProtectionState.DeleteProtectionStateUnspecified,
    etag: "string",
    location: "string",
    name: "string",
    pointInTimeRecoveryEnablement: google_native.firestore.v1.DatabasePointInTimeRecoveryEnablement.PointInTimeRecoveryEnablementUnspecified,
    project: "string",
    type: google_native.firestore.v1.DatabaseType.DatabaseTypeUnspecified,
});
type: google-native:firestore/v1:Database
properties:
    appEngineIntegrationMode: APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED
    concurrencyMode: CONCURRENCY_MODE_UNSPECIFIED
    databaseId: string
    deleteProtectionState: DELETE_PROTECTION_STATE_UNSPECIFIED
    etag: string
    location: string
    name: string
    pointInTimeRecoveryEnablement: POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED
    project: string
    type: DATABASE_TYPE_UNSPECIFIED
Database Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Database resource accepts the following input properties:
- DatabaseId string
- Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
- AppEngine Pulumi.Integration Mode Google Native. Firestore. V1. Database App Engine Integration Mode 
- The App Engine integration mode to use for this database.
- ConcurrencyMode Pulumi.Google Native. Firestore. V1. Database Concurrency Mode 
- The concurrency control mode to use for this database.
- DeleteProtection Pulumi.State Google Native. Firestore. V1. Database Delete Protection State 
- State of delete protection for the database.
- Etag string
- 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.
- Location string
- The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
- Name string
- The resource name of the Database. Format: projects/{project}/databases/{database}
- PointIn Pulumi.Time Recovery Enablement Google Native. Firestore. V1. Database Point In Time Recovery Enablement 
- Whether to enable the PITR feature on this database.
- Project string
- Type
Pulumi.Google Native. Firestore. V1. Database Type 
- The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
- DatabaseId string
- Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
- AppEngine DatabaseIntegration Mode App Engine Integration Mode 
- The App Engine integration mode to use for this database.
- ConcurrencyMode DatabaseConcurrency Mode 
- The concurrency control mode to use for this database.
- DeleteProtection DatabaseState Delete Protection State 
- State of delete protection for the database.
- Etag string
- 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.
- Location string
- The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
- Name string
- The resource name of the Database. Format: projects/{project}/databases/{database}
- PointIn DatabaseTime Recovery Enablement Point In Time Recovery Enablement 
- Whether to enable the PITR feature on this database.
- Project string
- Type
DatabaseType 
- The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
- databaseId String
- Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
- appEngine DatabaseIntegration Mode App Engine Integration Mode 
- The App Engine integration mode to use for this database.
- concurrencyMode DatabaseConcurrency Mode 
- The concurrency control mode to use for this database.
- deleteProtection DatabaseState Delete Protection State 
- State of delete protection for the database.
- etag String
- 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.
- location String
- The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
- name String
- The resource name of the Database. Format: projects/{project}/databases/{database}
- pointIn DatabaseTime Recovery Enablement Point In Time Recovery Enablement 
- Whether to enable the PITR feature on this database.
- project String
- type
DatabaseType 
- The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
- databaseId string
- Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
- appEngine DatabaseIntegration Mode App Engine Integration Mode 
- The App Engine integration mode to use for this database.
- concurrencyMode DatabaseConcurrency Mode 
- The concurrency control mode to use for this database.
- deleteProtection DatabaseState Delete Protection State 
- State of delete protection for the database.
- etag string
- 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.
- location string
- The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
- name string
- The resource name of the Database. Format: projects/{project}/databases/{database}
- pointIn DatabaseTime Recovery Enablement Point In Time Recovery Enablement 
- Whether to enable the PITR feature on this database.
- project string
- type
DatabaseType 
- The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
- database_id str
- Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
- app_engine_ Databaseintegration_ mode App Engine Integration Mode 
- The App Engine integration mode to use for this database.
- concurrency_mode DatabaseConcurrency Mode 
- The concurrency control mode to use for this database.
- delete_protection_ Databasestate Delete Protection State 
- State of delete protection for the database.
- etag str
- 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.
- location str
- The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
- name str
- The resource name of the Database. Format: projects/{project}/databases/{database}
- point_in_ Databasetime_ recovery_ enablement Point In Time Recovery Enablement 
- Whether to enable the PITR feature on this database.
- project str
- type
DatabaseType 
- The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
- databaseId String
- Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.
- appEngine "APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED" | "ENABLED" | "DISABLED"Integration Mode 
- The App Engine integration mode to use for this database.
- concurrencyMode "CONCURRENCY_MODE_UNSPECIFIED" | "OPTIMISTIC" | "PESSIMISTIC" | "OPTIMISTIC_WITH_ENTITY_GROUPS"
- The concurrency control mode to use for this database.
- deleteProtection "DELETE_PROTECTION_STATE_UNSPECIFIED" | "DELETE_PROTECTION_DISABLED" | "DELETE_PROTECTION_ENABLED"State 
- State of delete protection for the database.
- etag String
- 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.
- location String
- The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
- name String
- The resource name of the Database. Format: projects/{project}/databases/{database}
- pointIn "POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED" | "POINT_IN_TIME_RECOVERY_ENABLED" | "POINT_IN_TIME_RECOVERY_DISABLED"Time Recovery Enablement 
- Whether to enable the PITR feature on this database.
- project String
- type "DATABASE_TYPE_UNSPECIFIED" | "FIRESTORE_NATIVE" | "DATASTORE_MODE"
- The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
Outputs
All input properties are implicitly available as output properties. Additionally, the Database resource produces the following output properties:
- CreateTime string
- The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
- EarliestVersion stringTime 
- The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with now - version_retention_period. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
- Id string
- The provider-assigned unique ID for this managed resource.
- KeyPrefix string
- The key_prefix for this database. This key_prefix is used, in combination with the project id ("~") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
- Uid string
- The system-generated UUID4 for this Database.
- UpdateTime string
- The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
- VersionRetention stringPeriod 
- The period during which past versions of data are retained in the database. Any read or query can specify a read_timewithin this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
- CreateTime string
- The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
- EarliestVersion stringTime 
- The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with now - version_retention_period. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
- Id string
- The provider-assigned unique ID for this managed resource.
- KeyPrefix string
- The key_prefix for this database. This key_prefix is used, in combination with the project id ("~") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
- Uid string
- The system-generated UUID4 for this Database.
- UpdateTime string
- The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
- VersionRetention stringPeriod 
- The period during which past versions of data are retained in the database. Any read or query can specify a read_timewithin this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
- createTime String
- The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
- earliestVersion StringTime 
- The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with now - version_retention_period. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
- id String
- The provider-assigned unique ID for this managed resource.
- keyPrefix String
- The key_prefix for this database. This key_prefix is used, in combination with the project id ("~") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
- uid String
- The system-generated UUID4 for this Database.
- updateTime String
- The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
- versionRetention StringPeriod 
- The period during which past versions of data are retained in the database. Any read or query can specify a read_timewithin this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
- createTime string
- The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
- earliestVersion stringTime 
- The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with now - version_retention_period. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
- id string
- The provider-assigned unique ID for this managed resource.
- keyPrefix string
- The key_prefix for this database. This key_prefix is used, in combination with the project id ("~") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
- uid string
- The system-generated UUID4 for this Database.
- updateTime string
- The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
- versionRetention stringPeriod 
- The period during which past versions of data are retained in the database. Any read or query can specify a read_timewithin this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
- create_time str
- The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
- earliest_version_ strtime 
- The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with now - version_retention_period. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
- id str
- The provider-assigned unique ID for this managed resource.
- key_prefix str
- The key_prefix for this database. This key_prefix is used, in combination with the project id ("~") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
- uid str
- The system-generated UUID4 for this Database.
- update_time str
- The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
- version_retention_ strperiod 
- The period during which past versions of data are retained in the database. Any read or query can specify a read_timewithin this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
- createTime String
- The timestamp at which this database was created. Databases created before 2016 do not populate create_time.
- earliestVersion StringTime 
- The earliest timestamp at which older versions of the data can be read from the database. See [version_retention_period] above; this field is populated with now - version_retention_period. This value is continuously updated, and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
- id String
- The provider-assigned unique ID for this managed resource.
- keyPrefix String
- The key_prefix for this database. This key_prefix is used, in combination with the project id ("~") to construct the application id that is returned from the Cloud Datastore APIs in Google App Engine first generation runtimes. This value may be empty in which case the appid to use for URL-encoded keys is the project_id (eg: foo instead of v~foo).
- uid String
- The system-generated UUID4 for this Database.
- updateTime String
- The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database.
- versionRetention StringPeriod 
- The period during which past versions of data are retained in the database. Any read or query can specify a read_timewithin this window, and will read the state of the database at that time. If the PITR feature is enabled, the retention period is 7 days. Otherwise, the retention period is 1 hour.
Supporting Types
DatabaseAppEngineIntegrationMode, DatabaseAppEngineIntegrationModeArgs          
- AppEngine Integration Mode Unspecified 
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIEDNot used.
- Enabled
- ENABLEDIf an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.
- Disabled
- DISABLEDApp Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API.
- DatabaseApp Engine Integration Mode App Engine Integration Mode Unspecified 
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIEDNot used.
- DatabaseApp Engine Integration Mode Enabled 
- ENABLEDIf an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.
- DatabaseApp Engine Integration Mode Disabled 
- DISABLEDApp Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API.
- AppEngine Integration Mode Unspecified 
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIEDNot used.
- Enabled
- ENABLEDIf an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.
- Disabled
- DISABLEDApp Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API.
- AppEngine Integration Mode Unspecified 
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIEDNot used.
- Enabled
- ENABLEDIf an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.
- Disabled
- DISABLEDApp Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API.
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIEDNot used.
- ENABLED
- ENABLEDIf an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.
- DISABLED
- DISABLEDApp Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API.
- "APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED"
- APP_ENGINE_INTEGRATION_MODE_UNSPECIFIEDNot used.
- "ENABLED"
- ENABLEDIf an App Engine application exists in the same region as this database, App Engine configuration will impact this database. This includes disabling of the application & database, as well as disabling writes to the database.
- "DISABLED"
- DISABLEDApp Engine has no effect on the ability of this database to serve requests. This is the default setting for databases created with the Firestore API.
DatabaseConcurrencyMode, DatabaseConcurrencyModeArgs      
- ConcurrencyMode Unspecified 
- CONCURRENCY_MODE_UNSPECIFIEDNot used.
- Optimistic
- OPTIMISTICUse optimistic concurrency control by default. This mode is available for Cloud Firestore databases.
- Pessimistic
- PESSIMISTICUse pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore.
- OptimisticWith Entity Groups 
- OPTIMISTIC_WITH_ENTITY_GROUPSUse optimistic concurrency control with entity groups by default. This is the only available mode for Cloud Datastore. This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.
- DatabaseConcurrency Mode Concurrency Mode Unspecified 
- CONCURRENCY_MODE_UNSPECIFIEDNot used.
- DatabaseConcurrency Mode Optimistic 
- OPTIMISTICUse optimistic concurrency control by default. This mode is available for Cloud Firestore databases.
- DatabaseConcurrency Mode Pessimistic 
- PESSIMISTICUse pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore.
- DatabaseConcurrency Mode Optimistic With Entity Groups 
- OPTIMISTIC_WITH_ENTITY_GROUPSUse optimistic concurrency control with entity groups by default. This is the only available mode for Cloud Datastore. This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.
- ConcurrencyMode Unspecified 
- CONCURRENCY_MODE_UNSPECIFIEDNot used.
- Optimistic
- OPTIMISTICUse optimistic concurrency control by default. This mode is available for Cloud Firestore databases.
- Pessimistic
- PESSIMISTICUse pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore.
- OptimisticWith Entity Groups 
- OPTIMISTIC_WITH_ENTITY_GROUPSUse optimistic concurrency control with entity groups by default. This is the only available mode for Cloud Datastore. This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.
- ConcurrencyMode Unspecified 
- CONCURRENCY_MODE_UNSPECIFIEDNot used.
- Optimistic
- OPTIMISTICUse optimistic concurrency control by default. This mode is available for Cloud Firestore databases.
- Pessimistic
- PESSIMISTICUse pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore.
- OptimisticWith Entity Groups 
- OPTIMISTIC_WITH_ENTITY_GROUPSUse optimistic concurrency control with entity groups by default. This is the only available mode for Cloud Datastore. This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.
- CONCURRENCY_MODE_UNSPECIFIED
- CONCURRENCY_MODE_UNSPECIFIEDNot used.
- OPTIMISTIC
- OPTIMISTICUse optimistic concurrency control by default. This mode is available for Cloud Firestore databases.
- PESSIMISTIC
- PESSIMISTICUse pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore.
- OPTIMISTIC_WITH_ENTITY_GROUPS
- OPTIMISTIC_WITH_ENTITY_GROUPSUse optimistic concurrency control with entity groups by default. This is the only available mode for Cloud Datastore. This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.
- "CONCURRENCY_MODE_UNSPECIFIED"
- CONCURRENCY_MODE_UNSPECIFIEDNot used.
- "OPTIMISTIC"
- OPTIMISTICUse optimistic concurrency control by default. This mode is available for Cloud Firestore databases.
- "PESSIMISTIC"
- PESSIMISTICUse pessimistic concurrency control by default. This mode is available for Cloud Firestore databases. This is the default setting for Cloud Firestore.
- "OPTIMISTIC_WITH_ENTITY_GROUPS"
- OPTIMISTIC_WITH_ENTITY_GROUPSUse optimistic concurrency control with entity groups by default. This is the only available mode for Cloud Datastore. This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.
DatabaseDeleteProtectionState, DatabaseDeleteProtectionStateArgs        
- DeleteProtection State Unspecified 
- DELETE_PROTECTION_STATE_UNSPECIFIEDThe default value. Delete protection type is not specified
- DeleteProtection Disabled 
- DELETE_PROTECTION_DISABLEDDelete protection is disabled
- DeleteProtection Enabled 
- DELETE_PROTECTION_ENABLEDDelete protection is enabled
- DatabaseDelete Protection State Delete Protection State Unspecified 
- DELETE_PROTECTION_STATE_UNSPECIFIEDThe default value. Delete protection type is not specified
- DatabaseDelete Protection State Delete Protection Disabled 
- DELETE_PROTECTION_DISABLEDDelete protection is disabled
- DatabaseDelete Protection State Delete Protection Enabled 
- DELETE_PROTECTION_ENABLEDDelete protection is enabled
- DeleteProtection State Unspecified 
- DELETE_PROTECTION_STATE_UNSPECIFIEDThe default value. Delete protection type is not specified
- DeleteProtection Disabled 
- DELETE_PROTECTION_DISABLEDDelete protection is disabled
- DeleteProtection Enabled 
- DELETE_PROTECTION_ENABLEDDelete protection is enabled
- DeleteProtection State Unspecified 
- DELETE_PROTECTION_STATE_UNSPECIFIEDThe default value. Delete protection type is not specified
- DeleteProtection Disabled 
- DELETE_PROTECTION_DISABLEDDelete protection is disabled
- DeleteProtection Enabled 
- DELETE_PROTECTION_ENABLEDDelete protection is enabled
- DELETE_PROTECTION_STATE_UNSPECIFIED
- DELETE_PROTECTION_STATE_UNSPECIFIEDThe default value. Delete protection type is not specified
- DELETE_PROTECTION_DISABLED
- DELETE_PROTECTION_DISABLEDDelete protection is disabled
- DELETE_PROTECTION_ENABLED
- DELETE_PROTECTION_ENABLEDDelete protection is enabled
- "DELETE_PROTECTION_STATE_UNSPECIFIED"
- DELETE_PROTECTION_STATE_UNSPECIFIEDThe default value. Delete protection type is not specified
- "DELETE_PROTECTION_DISABLED"
- DELETE_PROTECTION_DISABLEDDelete protection is disabled
- "DELETE_PROTECTION_ENABLED"
- DELETE_PROTECTION_ENABLEDDelete protection is enabled
DatabasePointInTimeRecoveryEnablement, DatabasePointInTimeRecoveryEnablementArgs            
- PointIn Time Recovery Enablement Unspecified 
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIEDNot used.
- PointIn Time Recovery Enabled 
- POINT_IN_TIME_RECOVERY_ENABLEDReads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days version_retention_periodandearliest_version_timecan be used to determine the supported versions.
- PointIn Time Recovery Disabled 
- POINT_IN_TIME_RECOVERY_DISABLEDReads are supported on any version of the data from within the past 1 hour.
- DatabasePoint In Time Recovery Enablement Point In Time Recovery Enablement Unspecified 
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIEDNot used.
- DatabasePoint In Time Recovery Enablement Point In Time Recovery Enabled 
- POINT_IN_TIME_RECOVERY_ENABLEDReads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days version_retention_periodandearliest_version_timecan be used to determine the supported versions.
- DatabasePoint In Time Recovery Enablement Point In Time Recovery Disabled 
- POINT_IN_TIME_RECOVERY_DISABLEDReads are supported on any version of the data from within the past 1 hour.
- PointIn Time Recovery Enablement Unspecified 
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIEDNot used.
- PointIn Time Recovery Enabled 
- POINT_IN_TIME_RECOVERY_ENABLEDReads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days version_retention_periodandearliest_version_timecan be used to determine the supported versions.
- PointIn Time Recovery Disabled 
- POINT_IN_TIME_RECOVERY_DISABLEDReads are supported on any version of the data from within the past 1 hour.
- PointIn Time Recovery Enablement Unspecified 
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIEDNot used.
- PointIn Time Recovery Enabled 
- POINT_IN_TIME_RECOVERY_ENABLEDReads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days version_retention_periodandearliest_version_timecan be used to determine the supported versions.
- PointIn Time Recovery Disabled 
- POINT_IN_TIME_RECOVERY_DISABLEDReads are supported on any version of the data from within the past 1 hour.
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIEDNot used.
- POINT_IN_TIME_RECOVERY_ENABLED
- POINT_IN_TIME_RECOVERY_ENABLEDReads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days version_retention_periodandearliest_version_timecan be used to determine the supported versions.
- POINT_IN_TIME_RECOVERY_DISABLED
- POINT_IN_TIME_RECOVERY_DISABLEDReads are supported on any version of the data from within the past 1 hour.
- "POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED"
- POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIEDNot used.
- "POINT_IN_TIME_RECOVERY_ENABLED"
- POINT_IN_TIME_RECOVERY_ENABLEDReads are supported on selected versions of the data from within the past 7 days: * Reads against any timestamp within the past hour * Reads against 1-minute snapshots beyond 1 hour and within 7 days version_retention_periodandearliest_version_timecan be used to determine the supported versions.
- "POINT_IN_TIME_RECOVERY_DISABLED"
- POINT_IN_TIME_RECOVERY_DISABLEDReads are supported on any version of the data from within the past 1 hour.
DatabaseType, DatabaseTypeArgs    
- DatabaseType Unspecified 
- DATABASE_TYPE_UNSPECIFIEDThe default value. This value is used if the database type is omitted.
- FirestoreNative 
- FIRESTORE_NATIVEFirestore Native Mode
- DatastoreMode 
- DATASTORE_MODEFirestore in Datastore Mode.
- DatabaseType Database Type Unspecified 
- DATABASE_TYPE_UNSPECIFIEDThe default value. This value is used if the database type is omitted.
- DatabaseType Firestore Native 
- FIRESTORE_NATIVEFirestore Native Mode
- DatabaseType Datastore Mode 
- DATASTORE_MODEFirestore in Datastore Mode.
- DatabaseType Unspecified 
- DATABASE_TYPE_UNSPECIFIEDThe default value. This value is used if the database type is omitted.
- FirestoreNative 
- FIRESTORE_NATIVEFirestore Native Mode
- DatastoreMode 
- DATASTORE_MODEFirestore in Datastore Mode.
- DatabaseType Unspecified 
- DATABASE_TYPE_UNSPECIFIEDThe default value. This value is used if the database type is omitted.
- FirestoreNative 
- FIRESTORE_NATIVEFirestore Native Mode
- DatastoreMode 
- DATASTORE_MODEFirestore in Datastore Mode.
- DATABASE_TYPE_UNSPECIFIED
- DATABASE_TYPE_UNSPECIFIEDThe default value. This value is used if the database type is omitted.
- FIRESTORE_NATIVE
- FIRESTORE_NATIVEFirestore Native Mode
- DATASTORE_MODE
- DATASTORE_MODEFirestore in Datastore Mode.
- "DATABASE_TYPE_UNSPECIFIED"
- DATABASE_TYPE_UNSPECIFIEDThe default value. This value is used if the database type is omitted.
- "FIRESTORE_NATIVE"
- FIRESTORE_NATIVEFirestore Native Mode
- "DATASTORE_MODE"
- DATASTORE_MODEFirestore in Datastore Mode.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.