@BetaApi
  public final Operation deleteNodesNodeGroup(
      String nodeGroup, NodeGroupsDeleteNodesRequest nodeGroupsDeleteNodesRequestResource) {

    DeleteNodesNodeGroupHttpRequest request =
        DeleteNodesNodeGroupHttpRequest.newBuilder()
            .setNodeGroup(nodeGroup)
            .setNodeGroupsDeleteNodesRequestResource(nodeGroupsDeleteNodesRequestResource)
            .build();
    return deleteNodesNodeGroup(request);
  }
@ BetaApi public final Operation deleteNodesNodeGroup ( String nodeGroup , NodeGroupsDeleteNodesRequest nodeGroupsDeleteNodesRequestResource ) { DeleteNodesNodeGroupHttpRequest request = DeleteNodesNodeGroupHttpRequest . newBuilder ( ) . setNodeGroup ( nodeGroup ) . setNodeGroupsDeleteNodesRequestResource ( nodeGroupsDeleteNodesRequestResource ) . build ( ) ; return deleteNodesNodeGroup ( request ) ; }
Deletes specified nodes from the node group.

<p>Sample code:

<pre><code>
try (NodeGroupClient nodeGroupClient = NodeGroupClient.create()) {
ProjectZoneNodeGroupName nodeGroup = ProjectZoneNodeGroupName.of("[PROJECT]", "[ZONE]", "[NODE_GROUP]");
NodeGroupsDeleteNodesRequest nodeGroupsDeleteNodesRequestResource = NodeGroupsDeleteNodesRequest.newBuilder().build();
Operation response = nodeGroupClient.deleteNodesNodeGroup(nodeGroup.toString(), nodeGroupsDeleteNodesRequestResource);
}
</code></pre>

@param nodeGroup Name of the NodeGroup resource to delete.
@param nodeGroupsDeleteNodesRequestResource
@throws com.google.api.gax.rpc.ApiException if the remote call fails