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).
endpoint: Option<Option<String>>Custom endpoint URL (required for S3_COMPATIBLE type)
region: StringStorage region
access_key_id: Option<Option<String>>Access key ID for authentication
secret_access_key: Option<Option<String>>Secret access key for authentication (will be encrypted when stored)
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)
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 row. For exportSource OBSERVATIONS_V2 or LEGACY_TRACES_AND_ENRICHED_OBSERVATIONS: must include core if provided. When omitted on create, the column default (all groups) applies. When omitted on update, the existing value is preserved. For exportSource LEGACY_TRACES_OBSERVATIONS: this field must be omitted or null. Sending an array (including an empty array) returns 400, because that source uses a fixed column set and does not honor field groups. 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
Source§impl CreateBlobStorageIntegrationRequest
impl CreateBlobStorageIntegrationRequest
pub fn new( project_id: String, type: BlobStorageIntegrationType, bucket_name: String, region: String, export_frequency: BlobStorageExportFrequency, enabled: bool, force_path_style: bool, file_type: BlobStorageIntegrationFileType, export_mode: BlobStorageExportMode, ) -> CreateBlobStorageIntegrationRequest
Trait Implementations§
Source§impl Clone for CreateBlobStorageIntegrationRequest
impl Clone for CreateBlobStorageIntegrationRequest
Source§fn clone(&self) -> CreateBlobStorageIntegrationRequest
fn clone(&self) -> CreateBlobStorageIntegrationRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateBlobStorageIntegrationRequest
impl Default for CreateBlobStorageIntegrationRequest
Source§fn default() -> CreateBlobStorageIntegrationRequest
fn default() -> CreateBlobStorageIntegrationRequest
Source§impl<'de> Deserialize<'de> for CreateBlobStorageIntegrationRequest
impl<'de> Deserialize<'de> for CreateBlobStorageIntegrationRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CreateBlobStorageIntegrationRequest
impl PartialEq for CreateBlobStorageIntegrationRequest
Source§fn eq(&self, other: &CreateBlobStorageIntegrationRequest) -> bool
fn eq(&self, other: &CreateBlobStorageIntegrationRequest) -> bool
self and other values to be equal, and is used by ==.