@BetaApi
  public final ListNodesNodeGroupsPagedResponse listNodesNodeGroups(String nodeGroup) {
    ListNodesNodeGroupsHttpRequest request =
        ListNodesNodeGroupsHttpRequest.newBuilder().setNodeGroup(nodeGroup).build();
    return listNodesNodeGroups(request);
  }
@ BetaApi public final ListNodesNodeGroupsPagedResponse listNodesNodeGroups ( String nodeGroup ) { ListNodesNodeGroupsHttpRequest request = ListNodesNodeGroupsHttpRequest . newBuilder ( ) . setNodeGroup ( nodeGroup ) . build ( ) ; return listNodesNodeGroups ( request ) ; }
Lists nodes in the node group.

<p>Sample code:

<pre><code>
try (NodeGroupClient nodeGroupClient = NodeGroupClient.create()) {
ProjectZoneNodeGroupName nodeGroup = ProjectZoneNodeGroupName.of("[PROJECT]", "[ZONE]", "[NODE_GROUP]");
for (NodeGroupNode element : nodeGroupClient.listNodesNodeGroups(nodeGroup.toString()).iterateAll()) {
// doThingsWith(element);
}
}
</code></pre>

@param nodeGroup Name of the NodeGroup resource whose nodes you want to list.
@throws com.google.api.gax.rpc.ApiException if the remote call fails