GcsDestinationConfigResponse.fromMap constructor

GcsDestinationConfigResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GcsDestinationConfigResponse.fromMap(Map<String, dynamic> map) {
  return GcsDestinationConfigResponse(
    avroFileFormat: pulumi.Input.fromValue((map['avroFileFormat']! as Map).cast<String, dynamic>()),
    fileRotationInterval: pulumi.Input.fromValue(map['fileRotationInterval'] as String),
    fileRotationMb: pulumi.Input.fromValue(map['fileRotationMb'] as int),
    jsonFileFormat: pulumi.Input.fromValue(JsonFileFormatResponse.fromMap((map['jsonFileFormat']! as Map).cast<String, dynamic>())),
    path: pulumi.Input.fromValue(map['path'] as String),
  );
}