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