FieldState constructor
- Input<
String?> ? collection, - Input<
String?> ? database, - Input<
String?> ? deletionPolicy, - Input<
String?> ? field, - Input<
FieldIndexConfig?> ? indexConfig, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
bool?> ? skipWait, - Input<
FieldTtlConfig?> ? ttlConfig,
Creates a new FieldState.
collection The id of the collection group to configure.
database The Firestore database id. Defaults to "(default)".
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
field The id of the field to configure.
indexConfig The single field index configuration for this field.
name The name of this field. Format:
project The ID of the project in which the resource belongs.
skipWait Whether to skip waiting for the field operation to complete.
ttlConfig The TTL configuration for this Field. If set to an empty (i.e. ttlConfig {}) or non-empty block, a TTL policy is configured based on the field. If unset, a TTL policy is not configured (or will be disabled upon updating the resource).
Implementation
const FieldState({
this.collection,
this.database,
this.deletionPolicy,
this.field,
this.indexConfig,
this.name,
this.project,
this.skipWait,
this.ttlConfig,
});