// Initialize the client
var client = new IngestionClient(
new IngestionConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION")
);
// Call the API
var response = await client.CreateTaskAsync(
new TaskCreate
{
SourceID = "search",
DestinationID = "destinationID",
Action = Enum.Parse<ActionType>("Replace"),
}
);
// >LOG