/// <summary>Snippet for CancelDlpJobAsync</summary> public async Task CancelDlpJobAsync_RequestObject() { // Snippet: CancelDlpJobAsync(CancelDlpJobRequest,CallSettings) // Additional: CancelDlpJobAsync(CancelDlpJobRequest,CancellationToken) // Create client DlpServiceClient dlpServiceClient = await DlpServiceClient.CreateAsync(); // Initialize request argument(s) CancelDlpJobRequest request = new CancelDlpJobRequest { DlpJobName = new DlpJobName("[PROJECT]", "[DLP_JOB]"), }; // Make the request await dlpServiceClient.CancelDlpJobAsync(request); // End snippet }