GcsDestinationConfig constructor
GcsDestinationConfig({
- String? path,
- int? fileRotationMb,
- Duration? fileRotationInterval,
- AvroFileFormat? avroFileFormat,
- JsonFileFormat? jsonFileFormat,
Implementation
factory GcsDestinationConfig({
$core.String? path,
$core.int? fileRotationMb,
$10.Duration? fileRotationInterval,
AvroFileFormat? avroFileFormat,
JsonFileFormat? jsonFileFormat,
}) {
final $result = create();
if (path != null) {
$result.path = path;
}
if (fileRotationMb != null) {
$result.fileRotationMb = fileRotationMb;
}
if (fileRotationInterval != null) {
$result.fileRotationInterval = fileRotationInterval;
}
if (avroFileFormat != null) {
$result.avroFileFormat = avroFileFormat;
}
if (jsonFileFormat != null) {
$result.jsonFileFormat = jsonFileFormat;
}
return $result;
}