Class FirestoreEndpointOptions
Endpoint options for the Firestore component.
Supports both producer (CRUD/Query) and consumer (realtime listener / polling) modes.
public sealed class FirestoreEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
ConnectionFactory
Named reference from the registry.
[RegistryReference(typeof(IFirebaseCredentialProvider))]
public string? ConnectionFactory { get; set; }
CredentialPath
Path to the Firebase service-account JSON file.
public string? CredentialPath { get; set; }
DatabaseId
Firestore database id for multi-database projects (default: (default)).
public string? DatabaseId { get; set; }
DocumentId
Document ID. Supports ${...} expressions.
public DynamicValue<string>? DocumentId { get; set; }
DocumentIdField
BatchWrite: take the document id from this field of each item (the field itself is
public string? DocumentIdField { get; set; }
InitialDelay
Initial delay (ms) before first poll. Default: 1000.
public int InitialDelay { get; set; }
MaxConcurrency
Maximum number of document changes processed in parallel within one snapshot
public int MaxConcurrency { get; set; }
RawJson
Body as raw JSON string instead of Dictionary<string, object?>.
public bool RawJson { get; set; }
Realtime
Use snapshot listener for realtime updates (default for consumer).
public bool Realtime { get; set; }
Where
Where filter: "status==pending" or "age>18". Multiple separated by ;.
public string? Where { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()