GcsDestinationConfig constructor

GcsDestinationConfig({
  1. String? path,
  2. int? fileRotationMb,
  3. Duration? fileRotationInterval,
  4. AvroFileFormat? avroFileFormat,
  5. 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;
}