DatabaseArgs class
The set of arguments for Database. The set of arguments for Database.
Constructors
-
DatabaseArgs({Input<
DatabaseAppEngineIntegrationMode> ? appEngineIntegrationMode, Input<DatabaseConcurrencyMode> ? concurrencyMode, required Input<String> databaseId, Input<DatabaseDeleteProtectionState> ? deleteProtectionState, Input<String> ? etag, Input<String> ? location, Input<String> ? name, Input<DatabasePointInTimeRecoveryEnablement> ? pointInTimeRecoveryEnablement, Input<String> ? project, Input<DatabaseType> ? type}) -
Creates a new DatabaseArgs.
appEngineIntegrationModeThe App Engine integration mode to use for this database.concurrencyModeThe concurrency control mode to use for this database.databaseIdRequired. 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.deleteProtectionStateState of delete protection for the database.etagThis 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.locationThe location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.nameThe resource name of the Database. Format:projects/{project}/databases/{database}pointInTimeRecoveryEnablementWhether to enable the PITR feature on this database.projectOptional.typeThe type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.const -
DatabaseArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appEngineIntegrationMode
→ Input<
DatabaseAppEngineIntegrationMode> ? -
The App Engine integration mode to use for this database.
final
-
concurrencyMode
→ Input<
DatabaseConcurrencyMode> ? -
The concurrency control mode to use for this database.
final
-
databaseId
→ Input<
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.final -
deleteProtectionState
→ Input<
DatabaseDeleteProtectionState> ? -
State of delete protection for the database.
final
-
etag
→ Input<
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
The location of the database. Available locations are listed at https://cloud.google.com/firestore/docs/locations.
final
-
name
→ Input<
String> ? -
The resource name of the Database. Format:
projects/{project}/databases/{database}final -
pointInTimeRecoveryEnablement
→ Input<
DatabasePointInTimeRecoveryEnablement> ? -
Whether to enable the PITR feature on this database.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<
DatabaseType> ? -
The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited