GcsDestinationConfigResponseDatastreamV1alpha1.fromMap constructor

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

Implementation

factory GcsDestinationConfigResponseDatastreamV1alpha1.fromMap(Map<String, dynamic> map) {
  return GcsDestinationConfigResponseDatastreamV1alpha1(
    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),
    gcsFileFormat: pulumi.Input.fromValue(map['gcsFileFormat'] as String),
    jsonFileFormat: pulumi.Input.fromValue(JsonFileFormatResponseDatastreamV1alpha1.fromMap((map['jsonFileFormat']! as Map).cast<String, dynamic>())),
    path: pulumi.Input.fromValue(map['path'] as String),
  );
}