pub struct CreateBlobStorageIntegrationRequest {Show 17 fields
pub project_id: String,
pub type: BlobStorageIntegrationType,
pub bucket_name: String,
pub endpoint: Option<Option<String>>,
pub region: String,
pub access_key_id: Option<Option<String>>,
pub secret_access_key: Option<Option<String>>,
pub prefix: Option<Option<String>>,
pub export_frequency: BlobStorageExportFrequency,
pub enabled: bool,
pub force_path_style: bool,
pub file_type: BlobStorageIntegrationFileType,
pub export_mode: BlobStorageExportMode,
pub export_start_date: Option<Option<DateTime<FixedOffset>>>,
pub compressed: Option<Option<bool>>,
pub export_source: Option<BlobStorageExportSource>,
pub export_field_groups: Option<Option<Vec<BlobStorageExportFieldGroup>>>,
}Fields§
§project_id: StringID of the project in which to configure the blob storage integration
type: BlobStorageIntegrationType§bucket_name: StringName of the storage bucket. For AZURE_BLOB_STORAGE, must be a valid Azure container name (3-63 chars, lowercase letters, numbers, and hyphens only, must start and end with a letter or number, no consecutive hyphens). For GOOGLE_CLOUD_STORAGE with default credentials, the bucket must be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS.
endpoint: Option<Option<String>>Custom endpoint URL (required for S3_COMPATIBLE type). Ignored for GOOGLE_CLOUD_STORAGE.
region: StringStorage region used by S3-compatible clients (AWS, GCS, Cloudflare R2, MinIO, Azure location IDs such as eastus, OCI). Leading and trailing whitespace is removed. The remaining value must be 1-63 letters, numbers, or hyphens, and cannot start or end with a hyphen. Examples: us-east-1, europe-west1, eastus, auto. Not used by GOOGLE_CLOUD_STORAGE; pass auto.
access_key_id: Option<Option<String>>Access key ID for authentication. Not used for GOOGLE_CLOUD_STORAGE.
secret_access_key: Option<Option<String>>Secret access key for authentication (will be encrypted when stored). When omitted on update, the stored secret is kept, unless the type changes between GOOGLE_CLOUD_STORAGE and another type. For GOOGLE_CLOUD_STORAGE, a GCP service account JSON key. On self-hosted deployments, pass __GCS_DEFAULT_CREDENTIALS__ instead to use the deployment’s Application Default Credentials; the bucket must then be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS. Default credentials are not available on Langfuse Cloud.
prefix: Option<Option<String>>Path prefix for exported files (must end with forward slash if provided)
export_frequency: BlobStorageExportFrequency§enabled: boolWhether the integration is active
force_path_style: boolUse path-style URLs for S3 requests
file_type: BlobStorageIntegrationFileType§export_mode: BlobStorageExportMode§export_start_date: Option<Option<DateTime<FixedOffset>>>Custom start date for exports (required when exportMode is FROM_CUSTOM_DATE). Must not be in the future (27 h tolerance for timezone differences).
compressed: Option<Option<bool>>Enable gzip compression for exported files (.csv.gz, .json.gz, .jsonl.gz). Defaults to true.
export_source: Option<BlobStorageExportSource>§export_field_groups: Option<Option<Vec<BlobStorageExportFieldGroup>>>Field groups to include in each exported observation row. Applies to all export sources; must include core if provided. When omitted on create, the column default (all groups) applies. When omitted on update, the existing value is preserved. exportFieldGroups requires exportSource to be provided in the same request.
Implementations§
Source§impl CreateBlobStorageIntegrationRequest
impl CreateBlobStorageIntegrationRequest
Sourcepub fn builder() -> CreateBlobStorageIntegrationRequestBuilder
pub fn builder() -> CreateBlobStorageIntegrationRequestBuilder
Create an instance of CreateBlobStorageIntegrationRequest using the builder syntax