/// <summary>Snippet for DeleteRecordingAsync</summary> public async Task DeleteRecordingResourceNamesAsync() { // Snippet: DeleteRecordingAsync(RecordingName, CallSettings) // Additional: DeleteRecordingAsync(RecordingName, CancellationToken) // Create client RecordingsClient recordingsClient = await RecordingsClient.CreateAsync(); // Initialize request argument(s) RecordingName name = RecordingName.FromProjectCallRecording("[PROJECT]", "[CALL]", "[RECORDING]"); // Make the request Recording response = await recordingsClient.DeleteRecordingAsync(name); // End snippet }
/// <summary>Snippet for DeleteRecordingAsync</summary> public async Task DeleteRecordingAsync() { // Snippet: DeleteRecordingAsync(string, CallSettings) // Additional: DeleteRecordingAsync(string, CancellationToken) // Create client RecordingsClient recordingsClient = await RecordingsClient.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/calls/[CALL]/recordings/[RECORDING]"; // Make the request Recording response = await recordingsClient.DeleteRecordingAsync(name); // End snippet }