/// <summary>Snippet for DeleteNodes</summary> public void DeleteNodes() { // Snippet: DeleteNodes(string, string, string, NodeGroupsDeleteNodesRequest, CallSettings) // Create client NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create(); // Initialize request argument(s) string project = ""; string zone = ""; string nodeGroup = ""; NodeGroupsDeleteNodesRequest nodeGroupsDeleteNodesRequestResource = new NodeGroupsDeleteNodesRequest(); // Make the request Operation response = nodeGroupsClient.DeleteNodes(project, zone, nodeGroup, nodeGroupsDeleteNodesRequestResource); // End snippet }
/// <summary>Snippet for DeleteNodesAsync</summary> public async Task DeleteNodesAsync() { // Snippet: DeleteNodesAsync(string, string, string, NodeGroupsDeleteNodesRequest, CallSettings) // Additional: DeleteNodesAsync(string, string, string, NodeGroupsDeleteNodesRequest, CancellationToken) // Create client NodeGroupsClient nodeGroupsClient = await NodeGroupsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string zone = ""; string nodeGroup = ""; NodeGroupsDeleteNodesRequest nodeGroupsDeleteNodesRequestResource = new NodeGroupsDeleteNodesRequest(); // Make the request Operation response = await nodeGroupsClient.DeleteNodesAsync(project, zone, nodeGroup, nodeGroupsDeleteNodesRequestResource); // End snippet }