Struct google_datastream1::api::GcsDestinationConfig
source · pub struct GcsDestinationConfig {
pub avro_file_format: Option<AvroFileFormat>,
pub file_rotation_interval: Option<Duration>,
pub file_rotation_mb: Option<i32>,
pub json_file_format: Option<JsonFileFormat>,
pub path: Option<String>,
}Expand description
Google Cloud Storage destination configuration
This type is not used in any activity, and only used as part of another schema.
Fields§
§avro_file_format: Option<AvroFileFormat>AVRO file format configuration.
file_rotation_interval: Option<Duration>The maximum duration for which new events are added before a file is closed and a new file is created.
file_rotation_mb: Option<i32>The maximum file size to be saved in the bucket.
json_file_format: Option<JsonFileFormat>JSON file format configuration.
path: Option<String>Path inside the Cloud Storage bucket to write data to.
Trait Implementations§
source§impl Clone for GcsDestinationConfig
impl Clone for GcsDestinationConfig
source§fn clone(&self) -> GcsDestinationConfig
fn clone(&self) -> GcsDestinationConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GcsDestinationConfig
impl Debug for GcsDestinationConfig
source§impl Default for GcsDestinationConfig
impl Default for GcsDestinationConfig
source§fn default() -> GcsDestinationConfig
fn default() -> GcsDestinationConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GcsDestinationConfig
impl<'de> Deserialize<'de> for GcsDestinationConfig
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>,
Deserialize this value from the given Serde deserializer. Read more