/// <summary>Snippet for DeleteAsync</summary> public async Task DeleteAsync() { // Snippet: DeleteAsync(string, string, string, CallSettings) // Additional: DeleteAsync(string, string, string, CancellationToken) // Create client InstanceGroupsClient instanceGroupsClient = await InstanceGroupsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string zone = ""; string instanceGroup = ""; // Make the request Operation response = await instanceGroupsClient.DeleteAsync(project, zone, instanceGroup); // End snippet }
/// <summary>Snippet for DeleteAsync</summary> public async Task DeleteRequestObjectAsync() { // Snippet: DeleteAsync(DeleteInstanceGroupRequest, CallSettings) // Additional: DeleteAsync(DeleteInstanceGroupRequest, CancellationToken) // Create client InstanceGroupsClient instanceGroupsClient = await InstanceGroupsClient.CreateAsync(); // Initialize request argument(s) DeleteInstanceGroupRequest request = new DeleteInstanceGroupRequest { Zone = "", RequestId = "", InstanceGroup = "", Project = "", }; // Make the request Operation response = await instanceGroupsClient.DeleteAsync(request); // End snippet }