/// <summary>Snippet for DeleteAsync</summary> public async Task DeleteAsync() { // Snippet: DeleteAsync(string, string, string, CallSettings) // Additional: DeleteAsync(string, string, string, CancellationToken) // Create client RegionDisksClient regionDisksClient = await RegionDisksClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string disk = ""; // Make the request Operation response = await regionDisksClient.DeleteAsync(project, region, disk); // End snippet }
/// <summary>Snippet for DeleteAsync</summary> public async Task DeleteRequestObjectAsync() { // Snippet: DeleteAsync(DeleteRegionDiskRequest, CallSettings) // Additional: DeleteAsync(DeleteRegionDiskRequest, CancellationToken) // Create client RegionDisksClient regionDisksClient = await RegionDisksClient.CreateAsync(); // Initialize request argument(s) DeleteRegionDiskRequest request = new DeleteRegionDiskRequest { Disk = "", RequestId = "", Region = "", Project = "", }; // Make the request Operation response = await regionDisksClient.DeleteAsync(request); // End snippet }