StreamDestinationConfigGcsDestinationConfig

data class StreamDestinationConfigGcsDestinationConfig(val avroFileFormat: StreamDestinationConfigGcsDestinationConfigAvroFileFormat? = null, val fileRotationInterval: String? = null, val fileRotationMb: Int? = null, val jsonFileFormat: StreamDestinationConfigGcsDestinationConfigJsonFileFormat? = null, val path: String? = null)

Constructors

constructor(avroFileFormat: StreamDestinationConfigGcsDestinationConfigAvroFileFormat? = null, fileRotationInterval: String? = null, fileRotationMb: Int? = null, jsonFileFormat: StreamDestinationConfigGcsDestinationConfigJsonFileFormat? = null, path: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The maximum duration for which new events are added before a file is closed and a new file is created. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.

Link copied to clipboard
val fileRotationMb: Int? = null

The maximum file size to be saved in the bucket.

Link copied to clipboard

JSON file format configuration. Structure is documented below.

Link copied to clipboard
val path: String? = null

Path inside the Cloud Storage bucket to write data to.