Class FirebaseStorageEndpointOptions

Assembly: redb.Route.Firebase.dll

Endpoint options for the Firebase Storage component.
Supports producer (upload/download/delete/list/metadata) and consumer (polling) modes.
Firebase Storage = GCS bucket — compatible with Google.Cloud.Storage.V1.

public sealed class FirebaseStorageEndpointOptions : EndpointOptions

Inheritance

Object→EndpointOptions→FirebaseStorageEndpointOptions

Inherited Members

Properties

AutoCreateBucket

Create the bucket on consumer start when it does not exist (requires

public bool AutoCreateBucket { get; set; }

BucketName

Override bucket name (default from URI path).

public string? BucketName { get; set; }

CacheControl

Cache-Control header (e.g. "public, max-age=3600").

public string? CacheControl { get; set; }

ConnectionFactory

Named reference from the registry.

[RegistryReference(typeof(IFirebaseCredentialProvider))]
public string? ConnectionFactory { get; set; }

ContentType

MIME content type override.

public string? ContentType { get; set; }

CredentialPath

Path to the Firebase service-account JSON file.

public string? CredentialPath { get; set; }

Delay

Poll interval (ms). Default: 5000.

public int Delay { get; set; }

DeleteAfterRead

Delete object after successful consumer processing.

public bool DeleteAfterRead { get; set; }

DestinationBucket

Destination bucket for the Copy operation (default: source bucket).

public string? DestinationBucket { get; set; }

DestinationObjectName

Destination object name for the Copy operation. Supports ${...} expressions.

public DynamicValue<string>? DestinationObjectName { get; set; }

Exclude

Exclude glob pattern for object names.

public string? Exclude { get; set; }

Idempotent

Skip previously processed objects (in-memory idempotent repository).

public bool Idempotent { get; set; }

IdempotentRepository

Name of an IIdempotentRepository registered via

[RegistryReference(typeof(IIdempotentRepository))]
public string? IdempotentRepository { get; set; }

Include

Include glob pattern for object names.

public string? Include { get; set; }

IncludeBody

Download object body into exchange (default: true).

public bool IncludeBody { get; set; }

InitialDelay

Initial delay (ms) before first poll. Default: 1000.

public int InitialDelay { get; set; }

MaxMessagesPerPoll

Maximum number of objects to process per poll cycle.

public int MaxMessagesPerPoll { get; set; }

MoveAfterRead

Move objects to this prefix after processing (copy + delete).

public string? MoveAfterRead { get; set; }

MoveFailed

Move objects whose processing FAILED (an unhandled exception, or an exchange marked rollback-only) to this

public string? MoveFailed { get; set; }

ObjectName

Object name/key. Supports ${...} expressions.

public DynamicValue<string>? ObjectName { get; set; }

Operation

Producer operation type. Default: .

public FirebaseStorageOperationType Operation { get; set; }

Prefix

Object name prefix filter for listing.

public string? Prefix { get; set; }

ProjectId

Firebase/GCP project ID.

public string? ProjectId { get; set; }

SignedUrlExpiration

TTL for CreateDownloadLink signed URLs, in milliseconds. Default: 1 hour.

public long SignedUrlExpiration { get; set; }

StreamBody

Download body as Stream (true) or byte[] (false).

public bool StreamBody { get; set; }

Methods

Validate()

Validates required parameters and constraints. Called after BindFromUri.

public override void Validate()