ChangeStreamState class
Input properties used for looking up and filtering ChangeStream resources.
Constructors
-
ChangeStreamState({Input<
ChangeStreamCollectionGroupScope?> ? collectionGroupScope, Input<String?> ? createTime, Input<String?> ? database, Input<Map< ? databaseScope, Input<String, dynamic> ?>String?> ? deletionPolicy, Input<String?> ? etag, Input<String?> ? name, Input<String?> ? project, Input<String?> ? retentionPeriod, Input<String?> ? startTime, Input<String?> ? updateTime}) -
Creates a new ChangeStreamState.
collectionGroupScopeTracks changes for a specific collection group.createTimeThe creation timestamp of the change stream.databaseThe Firestore database ID. Defaults to"(default)".databaseScopeTracks changes across all collections in the database.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.etagOutput only. This checksum is computed by the server based on the value of other fields,nameThe ID to use for the change stream, which will become the final componentprojectThe ID of the project in which the resource belongs.retentionPeriodThe duration for which change stream data is retained.startTimeThe time the Change Stream started recording events.updateTimeThe last update timestamp of the change stream.const -
ChangeStreamState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
collectionGroupScope
→ Input<
ChangeStreamCollectionGroupScope?> ? -
Tracks changes for a specific collection group.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
The creation timestamp of the change stream.
final
-
database
→ Input<
String?> ? -
The Firestore database ID. Defaults to
"(default)".final -
databaseScope
→ Input<
Map< ?String, dynamic> ?> -
Tracks changes across all collections in the database.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
etag
→ Input<
String?> ? -
Output only. This checksum is computed by the server based on the value of other fields,
and may be sent on delete request to ensure the client has an
up-to-date value before proceeding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The ID to use for the change stream, which will become the final component
of the change stream's resource name.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
retentionPeriod
→ Input<
String?> ? -
The duration for which change stream data is retained.
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "86400s".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startTime
→ Input<
String?> ? -
The time the Change Stream started recording events.
final
-
updateTime
→ Input<
String?> ? -
The last update timestamp of the change stream.
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